diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-25 11:50:16 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-25 11:50:16 +0000 |
commit | a012c682a02d96692cd64f4305c9f579968e8f5d (patch) | |
tree | 21589fc65db160e9ef148b7f288548f96a4d5818 /games/wop | |
parent | 1db43fae92fd46f3b2894aa9760700d9848fd2e4 (diff) | |
download | ports-a012c682a02d96692cd64f4305c9f579968e8f5d.tar.gz ports-a012c682a02d96692cd64f4305c9f579968e8f5d.zip |
Notes
Diffstat (limited to 'games/wop')
-rw-r--r-- | games/wop/Makefile | 5 | ||||
-rw-r--r-- | games/wop/pkg-plist | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/games/wop/Makefile b/games/wop/Makefile index 63a7ddfb0256..f01d2916eb7a 100644 --- a/games/wop/Makefile +++ b/games/wop/Makefile @@ -13,6 +13,9 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} \ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free real-time Worms game +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend USES= tar:bzip2 gmake @@ -45,6 +48,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/woprc ${STAGEDIR}${PREFIX}/etc/woprc.sample ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKDIR}/${PORTNAME}data-${DATAVERSION} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS COPYING ChangeLog README README-COMMAND-LINE-OPTIONS.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ diff --git a/games/wop/pkg-plist b/games/wop/pkg-plist index 31fc1329d3b0..201433cb2172 100644 --- a/games/wop/pkg-plist +++ b/games/wop/pkg-plist @@ -1,4 +1,2 @@ bin/wop -@unexec if cmp -s %D/etc/woprc %D/etc/woprc.sample; then rm -f %D/etc/woprc; fi -etc/woprc.sample -@exec if [ ! -f %D/etc/woprc ]; then cp -p %D/etc/woprc.sample %D/etc/woprc; fi +@sample etc/woprc.sample |