aboutsummaryrefslogtreecommitdiff
path: root/games/passage
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-29 21:51:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-29 21:51:57 +0000
commit15e00f1f4eccb697421d9b1885aef0c06b92ddc0 (patch)
treed6a4a3e3d60f93f9f0a43c682dbe7c32d662caad /games/passage
parentc3ecb1c5c19aa5c89621224a8a8c4621dbf710a5 (diff)
downloadports-15e00f1f4eccb697421d9b1885aef0c06b92ddc0.tar.gz
ports-15e00f1f4eccb697421d9b1885aef0c06b92ddc0.zip
Notes
Diffstat (limited to 'games/passage')
-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%%