- Add LICENSE

- Switch to @sample
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2015-09-25 11:50:16 +00:00
parent 1db43fae92
commit a012c682a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397812
2 changed files with 6 additions and 3 deletions

View file

@ -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}/

View file

@ -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