aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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