blob: f9e47d76c27d3595448a0c71a75a2ea73b950f9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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>
|