1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

games/asciiquarium: Clean up, install docs & set license

- Standardize COMMENT
- Set LICENSE
- Fix shebang lines
- Install documentation
- Define do-test
- Extend the pkg-descr a little bit

Reviewed by:	krion
Approved by:	krion (mentor), maintainer (timeout, > 14 days)
Differential Revision:	https://reviews.freebsd.org/D19533
This commit is contained in:
Mateusz Piotrowski 2019-03-26 15:07:47 +00:00
parent f9ac24edd0
commit c9f54323ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496900
2 changed files with 22 additions and 4 deletions

View File

@ -3,24 +3,40 @@
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
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
USES= perl5 shebangfix
SHEBANG_FILES= asciiquarium
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
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>

View File

@ -1,3 +1,5 @@
Asciiquarium is an aquarium/sea animation in ASCII art.
Enjoy the mysteries of the sea from the safety of your own terminal!
WWW: http://www.robobunny.com/projects/asciiquarium/