aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-30 05:51:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-30 05:51:57 +0800
commit50a1aa9c4a1dd6d40ccc0952a714c3925b8265c7 (patch)
treed6a4a3e3d60f93f9f0a43c682dbe7c32d662caad /games
parentbb6168e200d77a914e4b517be75c1fe311212193 (diff)
downloadfreebsd-ports-gnome-50a1aa9c4a1dd6d40ccc0952a714c3925b8265c7.tar.gz
freebsd-ports-gnome-50a1aa9c4a1dd6d40ccc0952a714c3925b8265c7.tar.zst
freebsd-ports-gnome-50a1aa9c4a1dd6d40ccc0952a714c3925b8265c7.zip
- Support staging
Diffstat (limited to 'games')
-rw-r--r--games/passage/Makefile10
-rw-r--r--games/passage/pkg-plist19
2 files changed, 6 insertions, 23 deletions
diff --git a/games/passage/Makefile b/games/passage/Makefile
index 2e19fcc8354a..4cf134ac4783 100644
--- a/games/passage/Makefile
+++ b/games/passage/Makefile
@@ -15,7 +15,9 @@ USE_SDL= sdl
WRKSRC= ${WRKDIR}/${DISTNAME}/gamma256/gameSource
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
@${REINPLACE_CMD} -e 's|^\(PLATFORM_LINK_FLAGS =\).*|\1 ${PTHREAD_LIBS}|' \
${WRKSRC}/Makefile.GnuLinux
@@ -30,8 +32,8 @@ do-configure:
cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.all > Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/Passage ${PREFIX}/bin/
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music settings" ${DATADIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/Passage ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music settings" ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
diff --git a/games/passage/pkg-plist b/games/passage/pkg-plist
deleted file mode 100644
index 090d9954dbd6..000000000000
--- a/games/passage/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-bin/Passage
-%%DATADIR%%/graphics/characterSprite.tga
-%%DATADIR%%/graphics/characterSpriteSad.tga
-%%DATADIR%%/graphics/chest.tga
-%%DATADIR%%/graphics/chestDust.tga
-%%DATADIR%%/graphics/chestPrize.tga
-%%DATADIR%%/graphics/heart.tga
-%%DATADIR%%/graphics/numerals.tga
-%%DATADIR%%/graphics/spouseSprite.tga
-%%DATADIR%%/graphics/tileSet.tga
-%%DATADIR%%/graphics/title.tga
-%%DATADIR%%/music/music.tga
-%%DATADIR%%/settings/fullscreen.ini
-%%DATADIR%%/settings/screenHeight.ini
-%%DATADIR%%/settings/screenWidth.ini
-@dirrm %%DATADIR%%/settings
-@dirrm %%DATADIR%%/music
-@dirrm %%DATADIR%%/graphics
-@dirrm %%DATADIR%%