diff options
-rw-r--r-- | misc/gwhich/Makefile | 14 | ||||
-rw-r--r-- | misc/gwhich/distinfo | 6 | ||||
-rw-r--r-- | misc/gwhich/pkg-plist | 3 |
3 files changed, 9 insertions, 14 deletions
diff --git a/misc/gwhich/Makefile b/misc/gwhich/Makefile index ac56bedc8c69..a4dc296def51 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 d1ffdb7c0873..89d403987655 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 94aa8133b53b..000000000000 --- a/misc/gwhich/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/gwhich -share/examples/gwhich/EXAMPLES -@dirrm share/examples/gwhich |