1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix shebang and runtime

This commit is contained in:
Antoine Brodin 2014-03-03 20:17:59 +00:00
parent c4e0c9cb11
commit c5c76ccc0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346959

View File

@ -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