aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gwhich
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-02-04 12:56:53 +0800
committerrafan <rafan@FreeBSD.org>2007-02-04 12:56:53 +0800
commit1746118087a41ee77a91406d0b5d8356f557f623 (patch)
tree00d984aa2d859c85c1db5bae03c609be1bb162ac /misc/gwhich
parent36168feb155a282ff42686fb2c1ad3fc6587a05a (diff)
downloadfreebsd-ports-graphics-1746118087a41ee77a91406d0b5d8356f557f623.tar.gz
freebsd-ports-graphics-1746118087a41ee77a91406d0b5d8356f557f623.tar.zst
freebsd-ports-graphics-1746118087a41ee77a91406d0b5d8356f557f623.zip
- Update to 2.16
- Use PLIST_FILES - EXAMPLESDIR is not controlled by PORTDOCS
Diffstat (limited to 'misc/gwhich')
-rw-r--r--misc/gwhich/Makefile14
-rw-r--r--misc/gwhich/distinfo6
-rw-r--r--misc/gwhich/pkg-plist3
3 files changed, 9 insertions, 14 deletions
diff --git a/misc/gwhich/Makefile b/misc/gwhich/Makefile
index ac56bedc8c6..a4dc296def5 100644
--- a/misc/gwhich/Makefile
+++ b/misc/gwhich/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gwhich
-PORTVERSION= 2.14
+PORTVERSION= 2.16
CATEGORIES= misc
MASTER_SITES= ftp://ftp.cse.cuhk.edu.hk/pub/gnu/gnu/which/ \
http://voodoo.bawue.com/download/
@@ -21,13 +21,11 @@ CONFIGURE_ARGS= --program-prefix=g
MAN1= gwhich.1
INFO= which
+PLIST_FILES= bin/gwhich \
+ ${EXAMPLESDIR:S,^${PREFIX}/,,}/EXAMPLES
+
post-install:
-.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
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/misc/gwhich/distinfo b/misc/gwhich/distinfo
index d1ffdb7c087..89d40398765 100644
--- a/misc/gwhich/distinfo
+++ b/misc/gwhich/distinfo
@@ -1,3 +1,3 @@
-MD5 (which-2.14.tar.gz) = 3897f2a9d0c53a166ba68be9c21353a6
-SHA256 (which-2.14.tar.gz) = 06e498e20564713bd16306ea0ba0d9dac1d175f458ed707715113334fad10943
-SIZE (which-2.14.tar.gz) = 112214
+MD5 (which-2.16.tar.gz) = 830b83af48347a9a3520f561e47cbc9b
+SHA256 (which-2.16.tar.gz) = 0ac8502e9985a3ac6b0e2aa4f2a60f91cad0dc0cca6dc9c1c142ebba4b8dd664
+SIZE (which-2.16.tar.gz) = 125696
diff --git a/misc/gwhich/pkg-plist b/misc/gwhich/pkg-plist
deleted file mode 100644
index 94aa8133b53..00000000000
--- a/misc/gwhich/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/gwhich
-share/examples/gwhich/EXAMPLES
-@dirrm share/examples/gwhich