svn commit: r346959 - head/games/cowsay
Antoine Brodin
antoine at FreeBSD.org
Mon Mar 3 20:17:59 UTC 2014
Author: antoine
Date: Mon Mar 3 20:17:59 2014
New Revision: 346959
URL: http://svnweb.freebsd.org/changeset/ports/346959
QAT: https://qat.redports.org/buildarchive/r346959/
Log:
Fix shebang and runtime
Modified:
head/games/cowsay/Makefile
Modified: head/games/cowsay/Makefile
==============================================================================
--- head/games/cowsay/Makefile Mon Mar 3 20:07:19 2014 (r346958)
+++ head/games/cowsay/Makefile Mon Mar 3 20:17:59 2014 (r346959)
@@ -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
More information about the svn-ports-head
mailing list