freebsd-ports/games/cowsay/Makefile
Matthew Seaman b1e3f86d31 Update to 3.04
- switch to GitHub.  This is the account belonging to the original
    author of cowsay, who submitted the PR.

PR:		210547
Submitted by:	tony+freebsd@nog.net (author)
Approved by:	lifanov@mail.lifanov.com (maintainer)
2016-06-26 15:13:22 +00:00

34 lines
847 B
Makefile

# 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
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
.include <bsd.port.mk>