aboutsummaryrefslogtreecommitdiff
path: root/games/dungeon
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-28 16:11:00 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-28 16:11:00 +0000
commitf8ae60ef290af766ac3c7ddb2d52b9d26e6cb74d (patch)
tree1fb546b1b7f59f62219d9e49c6016053a7d490b3 /games/dungeon
parent03eb7331ed2a6876c83e68c176c15bba50a859c7 (diff)
downloadports-f8ae60ef290af766ac3c7ddb2d52b9d26e6cb74d.tar.gz
ports-f8ae60ef290af766ac3c7ddb2d52b9d26e6cb74d.zip
- use *DIR macros
- install docs in DOCSDIR - fix plist with NOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
Notes
Notes: svn path=/head/; revision=217766
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