aboutsummaryrefslogtreecommitdiff
path: root/games/cowsay
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-03-03 20:17:59 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-03-03 20:17:59 +0000
commitc5c76ccc0feef20bd0468c8d3485d0e751c05aa0 (patch)
tree81922346750f84f40e2e9f25ea5c827ef35de986 /games/cowsay
parentc4e0c9cb11b133252d934a1fe16baedaff84cdea (diff)
downloadports-c5c76ccc0feef20bd0468c8d3485d0e751c05aa0.tar.gz
ports-c5c76ccc0feef20bd0468c8d3485d0e751c05aa0.zip
Notes
Diffstat (limited to 'games/cowsay')
-rw-r--r--games/cowsay/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/cowsay/Makefile b/games/cowsay/Makefile
index 548f0aed217f..b033ec7fd973 100644
--- a/games/cowsay/Makefile
+++ b/games/cowsay/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cowsay
PORTVERSION= 3.03
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.nog.net/~tony/warez/
@@ -22,8 +22,12 @@ verify: fetch
@${ECHO_MSG} "Done"
.endif
+post-patch:
+ @${REINPLACE_CMD} 's,usethisperl=.*,usethisperl=${PERL},' ${WRKSRC}/install.sh
+
do-install:
cd ${WRKSRC}; ${SH} install.sh ${STAGEDIR}${PREFIX}
+ @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/cowsay
@${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