1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/games/asciiquarium/Makefile
Mateusz Piotrowski c9f54323ff 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
2019-03-26 15:07:47 +00:00

43 lines
938 B
Makefile

# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$
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>