diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-02-21 03:46:56 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-02-21 03:46:56 +0000 |
commit | 8adc731ea5899076acd4b408542665e2cdc78792 (patch) | |
tree | 7eb61dd24b4c78455289eebcc576a10917a2b930 /games/cowsay | |
parent | 66aa0015467b30941ca5fac5d5ba57e38b24b719 (diff) |
Stage support.
Notes
Notes:
svn path=/head/; revision=345313
Diffstat (limited to 'games/cowsay')
-rw-r--r-- | games/cowsay/Makefile | 12 | ||||
-rw-r--r-- | games/cowsay/files/patch-install.sh | 11 | ||||
-rw-r--r-- | games/cowsay/pkg-plist | 2 |
3 files changed, 6 insertions, 19 deletions
diff --git a/games/cowsay/Makefile b/games/cowsay/Makefile index bf07db56555e..548f0aed217f 100644 --- a/games/cowsay/Makefile +++ b/games/cowsay/Makefile @@ -14,9 +14,6 @@ USES= perl5 NO_BUILD= # defined -MAN1= cowsay.1 -MLINKS= cowsay.1 cowthink.1 - .if defined(MAINTAINER_MODE) DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}.sig verify: fetch @@ -25,11 +22,10 @@ verify: fetch @${ECHO_MSG} "Done" .endif -NO_STAGE= yes do-install: - cd ${WRKSRC}; ${SH} install.sh ${PREFIX} - @${INSTALL_DATA} ${FILESDIR}/box.cow ${PREFIX}/share/cows - @${INSTALL_DATA} ${FILESDIR}/jkh.cow ${PREFIX}/share/cows - @${INSTALL_DATA} ${FILESDIR}/tux-stab.cow ${PREFIX}/share/cows + cd ${WRKSRC}; ${SH} install.sh ${STAGEDIR}${PREFIX} + @${INSTALL_DATA} ${FILESDIR}/box.cow ${STAGEDIR}${PREFIX}/share/cows + @${INSTALL_DATA} ${FILESDIR}/jkh.cow ${STAGEDIR}${PREFIX}/share/cows + @${INSTALL_DATA} ${FILESDIR}/tux-stab.cow ${STAGEDIR}${PREFIX}/share/cows .include <bsd.port.mk> diff --git a/games/cowsay/files/patch-install.sh b/games/cowsay/files/patch-install.sh deleted file mode 100644 index ef07f1e9d9f4..000000000000 --- a/games/cowsay/files/patch-install.sh +++ /dev/null @@ -1,11 +0,0 @@ ---- install.sh.orig Sat Nov 27 11:40:57 2004 -+++ install.sh Sat Nov 27 11:44:05 2004 -@@ -76,7 +76,7 @@ - mkdir -p $PREFIX/man/man1 || ($mkdir $PREFIX; mkdir $PREFIX/man; mkdir $PREFIX/man/man1) - $usethisperl -p install.pl cowsay.1 > $PREFIX/man/man1/cowsay.1 - chmod a+r $PREFIX/man/man1/cowsay.1 --ln -s cowsay.1 $PREFIX/man/man1/cowthink.1 -+#ln -s cowsay.1 $PREFIX/man/man1/cowthink.1 - mkdir -p $PREFIX/share/cows || (mkdir $PREFIX; mkdir $PREFIX/share; mkdir $PREFIX/share/cows) - tar -cf - $filelist | (cd $PREFIX/share && tar -xvf -) - set +x diff --git a/games/cowsay/pkg-plist b/games/cowsay/pkg-plist index 28c6a37c2f3c..c7a4c898ef1a 100644 --- a/games/cowsay/pkg-plist +++ b/games/cowsay/pkg-plist @@ -1,5 +1,7 @@ bin/cowsay bin/cowthink +man/man1/cowsay.1.gz +man/man1/cowthink.1.gz share/cows/beavis.zen.cow share/cows/bong.cow share/cows/box.cow |