aboutsummaryrefslogtreecommitdiffstats
path: root/games/dungeon
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-29 00:11:00 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-29 00:11:00 +0800
commit3db83d1dca6048c99862d360c1837c4b745bf8d3 (patch)
treec85c3e078393bc1e788502f2a2b7916f5d825848 /games/dungeon
parentd51302ad55d8e386edcb47ed07f6a8068fa47c4b (diff)
downloadfreebsd-ports-gnome-3db83d1dca6048c99862d360c1837c4b745bf8d3.tar.gz
freebsd-ports-gnome-3db83d1dca6048c99862d360c1837c4b745bf8d3.tar.zst
freebsd-ports-gnome-3db83d1dca6048c99862d360c1837c4b745bf8d3.zip
- use *DIR macros
- install docs in DOCSDIR - fix plist with NOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
Diffstat (limited to 'games/dungeon')
-rw-r--r--games/dungeon/Makefile15
-rw-r--r--games/dungeon/pkg-plist9
2 files changed, 11 insertions, 13 deletions
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile
index 9f4ac09f71ee..f3247b4b5cbe 100644
--- a/games/dungeon/Makefile
+++ b/games/dungeon/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dungeon
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/games/source/ \
ftp://ftp.ifarchive.com/if-archive/games/source/ \
@@ -49,16 +49,13 @@ pre-install:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dungeon ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/dtextc.dat ${PREFIX}/share/dungeon
+ ${INSTALL_DATA} ${WRKSRC}/dtextc.dat ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/dungeon.6 ${PREFIX}/man/man6
-
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/dungeon
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/history ${PREFIX}/share/dungeon
- ${INSTALL_DATA} ${WRKSRC}/manifest ${PREFIX}/share/dungeon
- ${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/dungeon
- ${INSTALL_DATA} ${DISTDIR}/dungn32b.zip ${PREFIX}/share/dungeon
+ ${INSTALL_DATA} ${WRKSRC}/history ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/manifest ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/dungn32b.zip ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/dungeon/pkg-plist b/games/dungeon/pkg-plist
index 2a56e673f778..747e2e071ea9 100644
--- a/games/dungeon/pkg-plist
+++ b/games/dungeon/pkg-plist
@@ -1,7 +1,8 @@
bin/dungeon
share/dungeon/dtextc.dat
-share/dungeon/dungn32b.zip
-share/dungeon/history
-share/dungeon/manifest
-share/dungeon/readme
+%%PORTDOCS%%%%DOCSDIR%%/dungn32b.zip
+%%PORTDOCS%%%%DOCSDIR%%/history
+%%PORTDOCS%%%%DOCSDIR%%/manifest
+%%PORTDOCS%%%%DOCSDIR%%/readme
+%%PORTDOCS%%@dirrm%%DOCSDIR%%
@dirrm share/dungeon