aboutsummaryrefslogtreecommitdiff
path: root/games/passage/Makefile
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/Makefile
parentc3ecb1c5c19aa5c89621224a8a8c4621dbf710a5 (diff)
downloadports-15e00f1f4eccb697421d9b1885aef0c06b92ddc0.tar.gz
ports-15e00f1f4eccb697421d9b1885aef0c06b92ddc0.zip
Notes
Diffstat (limited to 'games/passage/Makefile')
-rw-r--r--games/passage/Makefile10
1 files changed, 6 insertions, 4 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>