aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-06 16:50:49 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-06 16:50:49 +0800
commit5d6e38fccc171003929f5d96070025ab7c26bd06 (patch)
tree117d0c4a617bcabb94fda5374cefc728383ef802 /games
parent93073f4b60008a26323a4e4f2d761d14e7f575aa (diff)
downloadfreebsd-ports-gnome-5d6e38fccc171003929f5d96070025ab7c26bd06.tar.gz
freebsd-ports-gnome-5d6e38fccc171003929f5d96070025ab7c26bd06.tar.zst
freebsd-ports-gnome-5d6e38fccc171003929f5d96070025ab7c26bd06.zip
- Add LICENSE_FILE
- Canonicalize Makefile statement order - Drop @dirrm* from plist
Diffstat (limited to 'games')
-rw-r--r--games/cavezofphear/Makefile5
-rw-r--r--games/cavezofphear/pkg-plist3
2 files changed, 3 insertions, 5 deletions
diff --git a/games/cavezofphear/Makefile b/games/cavezofphear/Makefile
index 67077517a89b..a17417ed3731 100644
--- a/games/cavezofphear/Makefile
+++ b/games/cavezofphear/Makefile
@@ -12,8 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Boulder Dash / Digger-like game written using ncurses
LICENSE= GPLv3 # (or later)
-
-OPTIONS_DEFINE= DOCS
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
@@ -23,6 +22,8 @@ ALL_TARGET= phear
PORTDOCS= ChangeLog README README-EDITOR TODO
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|\./data|${DATADIR}/data|' ${WRKSRC}/src/chk.c
@${REINPLACE_CMD} -e 's|\./phear|phear|' ${WRKSRC}/README-EDITOR
diff --git a/games/cavezofphear/pkg-plist b/games/cavezofphear/pkg-plist
index bc08035771cf..01c81874e6c0 100644
--- a/games/cavezofphear/pkg-plist
+++ b/games/cavezofphear/pkg-plist
@@ -14,6 +14,3 @@ bin/phear
%%DATADIR%%/data/levels/11
%%DATADIR%%/data/spgraf
%%DATADIR%%/data/tdesc
-@dirrm %%DATADIR%%/data/levels
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%