aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2013-10-05 03:47:15 +0800
committerlme <lme@FreeBSD.org>2013-10-05 03:47:15 +0800
commit7161852d33dac35732b855adb5b8fa8e594f9630 (patch)
tree1d08c12aead965dc60d89fcbfeb13cd66817d7d9 /games
parent9a943dffd0fd849677333b876f05297dfff86cc9 (diff)
downloadfreebsd-ports-gnome-7161852d33dac35732b855adb5b8fa8e594f9630.tar.gz
freebsd-ports-gnome-7161852d33dac35732b855adb5b8fa8e594f9630.tar.zst
freebsd-ports-gnome-7161852d33dac35732b855adb5b8fa8e594f9630.zip
- Add stage support
- Pet portlint
Diffstat (limited to 'games')
-rw-r--r--games/bass/Makefile23
-rw-r--r--games/bass/pkg-plist4
2 files changed, 9 insertions, 18 deletions
diff --git a/games/bass/Makefile b/games/bass/Makefile
index 22204fb9a61c..0afc19a5a625 100644
--- a/games/bass/Makefile
+++ b/games/bass/Makefile
@@ -13,8 +13,8 @@ COMMENT= Beneath a Steel Sky: a post-apocalyptic futuristic graphical adventure
LICENSE= unknown
LICENSE_NAME= no name
-LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_FILE= ${WRKSRC}/readme.txt
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= scummvm:${PORTSDIR}/games/scummvm
@@ -24,21 +24,12 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
SUB_FILES= pkg-message
-NO_STAGE= yes
do-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/sky.dnr ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/sky.dsk ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/sky.cpt ${DATADIR}
-
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for docs in readme.txt
- @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
-.endfor
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sky.dnr ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sky.dsk ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/sky.cpt ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/bass/pkg-plist b/games/bass/pkg-plist
index c236815a8eb5..64f976a76e80 100644
--- a/games/bass/pkg-plist
+++ b/games/bass/pkg-plist
@@ -2,5 +2,5 @@
%%DATADIR%%/sky.dnr
%%DATADIR%%/sky.dsk
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrmtry %%DATADIR%%