blob: dfe488ef68e8ec3df2f19495c695cf2e126cb9fa (
plain)
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
36
37
38
39
40
41
|
# Created by: Max Khon <fjoe@FreeBSD.org>
PORTNAME= asciiquarium
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.robobunny.com/projects/asciiquarium/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Aquarium/sea animation in ASCII art
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/gpl.txt
RUN_DEPENDS= p5-Term-Animation>=0:devel/p5-Term-Animation
USES= perl5 shebangfix
SHEBANG_FILES= asciiquarium
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/asciiquarium
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
do-test:
(sleep 0.1 && echo p && sleep 0.1 && echo p && sleep 0.1 && echo r && \
sleep 0.1 && echo q) | ${STAGEDIR}${PREFIX}/bin/asciiquarium
.include <bsd.port.mk>
|