mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
8d7993e557
Reviewed by: matthew Approved by: matthew (maintainer) Differential Revision: https://reviews.freebsd.org/D8782
36 lines
858 B
Makefile
36 lines
858 B
Makefile
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cowsay
|
|
PORTVERSION= 3.04
|
|
DISTVERSIONPREFIX= cowsay-
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= lifanov@FreeBSD.org
|
|
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>
|