summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-09-30 00:27:54 +0000
committerwill <will@FreeBSD.org>2000-09-30 00:27:54 +0000
commit968fab34c892358bae3f06c4d8d29becaea970a1 (patch)
tree14711c549bf544b7687a41e4df8ecb226f1a89ec /misc
parent64883caf2eb7b31bbde2d5f9a56112f82052e99c (diff)
downloadFreeBSD-ports-968fab34c892358bae3f06c4d8d29becaea970a1.zip
FreeBSD-ports-968fab34c892358bae3f06c4d8d29becaea970a1.tar.gz
Add gwhich 2.12, which is GNU which(1). See pkg/DESCR for differences
between this and 1.0 of Paul Vixie's. PR: 21431 Submitted by: Jeremy Shaffner <jeremy@external.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/gwhich/Makefile31
-rw-r--r--misc/gwhich/distinfo1
-rw-r--r--misc/gwhich/files/patch-aa13
-rw-r--r--misc/gwhich/pkg-comment1
-rw-r--r--misc/gwhich/pkg-descr10
-rw-r--r--misc/gwhich/pkg-plist6
7 files changed, 63 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 73dc274..e0431d7 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -68,6 +68,7 @@
SUBDIR += gtkfind
SUBDIR += gtl
SUBDIR += gweather
+ SUBDIR += gwhich
SUBDIR += gyvescm
SUBDIR += hello
SUBDIR += heyu
diff --git a/misc/gwhich/Makefile b/misc/gwhich/Makefile
new file mode 100644
index 0000000..2b72c0d
--- /dev/null
+++ b/misc/gwhich/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: gwhich
+# Date created: 20 September 2000
+# Whom: Jeremy Shaffner <jeremy@external.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gwhich
+PORTVERSION= 2.12
+CATEGORIES= misc
+MASTER_SITES= http://www.xs4all.nl/~carlo17/which/
+DISTNAME= which-${PORTVERSION}
+
+MAINTAINER= jeremy@external.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --program-prefix=g
+
+MAN1= gwhich.1
+
+post-install:
+ @install-info ${PREFIX}/info/which.info ${PREFIX}/info/dir
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/examples/gwhich
+ @${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${PREFIX}/share/examples/gwhich/EXAMPLES
+.else
+ @${SED} 's#share/examples/gwhich/EXAMPLES##' ${TMPPLIST} > ${WRKDIR}/PLIST.tmp
+ @${SED} 's#@dirrm share/examples/gwhich##' ${WRKDIR}/PLIST.tmp > ${TMPPLIST}
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/gwhich/distinfo b/misc/gwhich/distinfo
new file mode 100644
index 0000000..3346029
--- /dev/null
+++ b/misc/gwhich/distinfo
@@ -0,0 +1 @@
+MD5 (which-2.12.tar.gz) = 8955df4fe35e29378a5eda31a61de39e
diff --git a/misc/gwhich/files/patch-aa b/misc/gwhich/files/patch-aa
new file mode 100644
index 0000000..4e7b894
--- /dev/null
+++ b/misc/gwhich/files/patch-aa
@@ -0,0 +1,13 @@
+--- which.texinfo.orig Wed Sep 20 12:11:54 2000
++++ which.texinfo Wed Sep 20 12:31:18 2000
+@@ -2,6 +2,10 @@
+ @c %**start of header
+ @setfilename which.info
+ @settitle @command{which}: show full path of commands
++@dircategory Miscellaneous
++@direntry
++* GNU which: (which). Show full path of commmands.
++@end direntry
+ @include version.texi
+ @c %**end of header
+
diff --git a/misc/gwhich/pkg-comment b/misc/gwhich/pkg-comment
new file mode 100644
index 0000000..c8dfe5c
--- /dev/null
+++ b/misc/gwhich/pkg-comment
@@ -0,0 +1 @@
+GNU Which - Everything you never wanted in a which
diff --git a/misc/gwhich/pkg-descr b/misc/gwhich/pkg-descr
new file mode 100644
index 0000000..69600ed
--- /dev/null
+++ b/misc/gwhich/pkg-descr
@@ -0,0 +1,10 @@
+GNU Which by Carlo Wood (Run of ircu fame)
+
+The main difference with version 1.0 by Paul Vixie is that this
+version will not return directory names as being executables
+and that by default it will expand a leading "./" and "~/" to
+its full path on output.
+
+WWW: http://www.xs4all.nl/~carlo17/which/index.html
+
+- Jeremy <jeremy@external.org>
diff --git a/misc/gwhich/pkg-plist b/misc/gwhich/pkg-plist
new file mode 100644
index 0000000..3dfcce0
--- /dev/null
+++ b/misc/gwhich/pkg-plist
@@ -0,0 +1,6 @@
+bin/gwhich
+@unexec install-info --delete %D/info/which.info %D/info/dir
+info/which.info
+@exec install-info %D/info/which.info %D/info/dir
+share/examples/gwhich/EXAMPLES
+@dirrm share/examples/gwhich
OpenPOWER on IntegriCloud