freebsd-ports/games/cowsay/Makefile

35 lines
847 B
Makefile
Raw Normal View History

# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= cowsay
PORTVERSION= 3.04
DISTVERSIONPREFIX= cowsay-
CATEGORIES= games
MAINTAINER= lifanov@mail.lifanov.com
COMMENT= Configurable talking characters in ASCII art
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= perl5
USE_GITHUB= yes
GH_ACCOUNT= tnalpgge
GH_PROJECT= rank-amateur-cowsay
NO_BUILD= # defined
2014-03-03 21:17:59 +01:00
post-patch:
@${REINPLACE_CMD} 's,usethisperl=.*,usethisperl=${PERL},' ${WRKSRC}/install.sh
do-install:
2014-02-21 04:46:56 +01:00
cd ${WRKSRC}; ${SH} install.sh ${STAGEDIR}${PREFIX}
2014-03-03 21:17:59 +01:00
@${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
.include <bsd.port.mk>