aboutsummaryrefslogtreecommitdiff
path: root/games/wop
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-25 11:50:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-25 11:50:16 +0000
commita012c682a02d96692cd64f4305c9f579968e8f5d (patch)
tree21589fc65db160e9ef148b7f288548f96a4d5818 /games/wop
parent1db43fae92fd46f3b2894aa9760700d9848fd2e4 (diff)
downloadports-a012c682a02d96692cd64f4305c9f579968e8f5d.tar.gz
ports-a012c682a02d96692cd64f4305c9f579968e8f5d.zip
Notes
Diffstat (limited to 'games/wop')
-rw-r--r--games/wop/Makefile5
-rw-r--r--games/wop/pkg-plist4
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