aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-10-16 01:00:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-10-16 01:00:21 +0800
commit5913a241981cbc1e7ce72b5200aa99f6ce1a6d4e (patch)
treeead148223560bcb1ea805e93a5f737d351bd349c /games
parent6207c1361b7a1a1545a6ad775e2773f215eac04a (diff)
downloadfreebsd-ports-gnome-5913a241981cbc1e7ce72b5200aa99f6ce1a6d4e.tar.gz
freebsd-ports-gnome-5913a241981cbc1e7ce72b5200aa99f6ce1a6d4e.tar.zst
freebsd-ports-gnome-5913a241981cbc1e7ce72b5200aa99f6ce1a6d4e.zip
- Add LICENSE
- Switch to PLIST_FILES/PORTDATA
Diffstat (limited to 'games')
-rw-r--r--games/avanor/Makefile6
-rw-r--r--games/avanor/pkg-plist17
2 files changed, 6 insertions, 17 deletions
diff --git a/games/avanor/Makefile b/games/avanor/Makefile
index 7104b891001b..68941b5f1d21 100644
--- a/games/avanor/Makefile
+++ b/games/avanor/Makefile
@@ -10,10 +10,16 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Rogue-like game with easy ADOM-like user interface
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= gmake tar:bzip2
MAKE_ARGS+= VERSION=${PORTVERSION} DATA_DIR=${DATADIR}/
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
@${REINPLACE_CMD} -e "s|g++|${CXX}|; \
s|CFLAGS =|CFLAGS+=|;" \
diff --git a/games/avanor/pkg-plist b/games/avanor/pkg-plist
deleted file mode 100644
index a654f695f389..000000000000
--- a/games/avanor/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-bin/avanor
-%%DATADIR%%/manual/basic.html
-%%DATADIR%%/manual/credits.html
-%%DATADIR%%/manual/equipment.html
-%%DATADIR%%/manual/index.html
-%%DATADIR%%/manual/intro.html
-%%DATADIR%%/manual/kblayout.html
-%%DATADIR%%/manual/magic.html
-%%DATADIR%%/manual/manual.css
-%%DATADIR%%/manual/misc.html
-%%DATADIR%%/manual/qstart.html
-%%DATADIR%%/manual/skills.html
-%%DATADIR%%/manual/tactics.html
-%%DATADIR%%/manual/testmode.html
-%%DATADIR%%/manual/wskills.html
-@dirrm %%DATADIR%%/manual
-@dirrm %%DATADIR%%