svn commit: r328743 - head/games/passage
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 29 21:51:58 UTC 2013
Author: amdmi3
Date: Sun Sep 29 21:51:57 2013
New Revision: 328743
URL: http://svnweb.freebsd.org/changeset/ports/328743
Log:
- Support staging
Deleted:
head/games/passage/pkg-plist
Modified:
head/games/passage/Makefile
Modified: head/games/passage/Makefile
==============================================================================
--- head/games/passage/Makefile Sun Sep 29 21:50:20 2013 (r328742)
+++ head/games/passage/Makefile Sun Sep 29 21:51:57 2013 (r328743)
@@ -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>
More information about the svn-ports-all
mailing list