aboutsummaryrefslogtreecommitdiff
path: root/games/cavezofphear
diff options
context:
space:
mode:
Diffstat (limited to 'games/cavezofphear')
-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%%