- Add LICENSE
- Switch to @sample - Switch to options helpers
This commit is contained in:
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
|
@ -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}/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue