svn commit: r330577 - head/games/solarconquest
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Oct 17 00:18:28 UTC 2013
Author: amdmi3
Date: Thu Oct 17 00:18:27 2013
New Revision: 330577
URL: http://svnweb.freebsd.org/changeset/ports/330577
Log:
- Support staging
Deleted:
head/games/solarconquest/pkg-plist
Modified:
head/games/solarconquest/Makefile
Modified: head/games/solarconquest/Makefile
==============================================================================
--- head/games/solarconquest/Makefile Thu Oct 17 00:01:16 2013 (r330576)
+++ head/games/solarconquest/Makefile Thu Oct 17 00:18:27 2013 (r330577)
@@ -19,7 +19,9 @@ USE_DOS2UNIX= makefile source/MenuScreen
MAKEFILE= makefile
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
@${REINPLACE_CMD} -e 's|images/|${DATADIR}/images/|' \
${WRKSRC}/source/main.cpp
@@ -29,11 +31,11 @@ post-patch:
${WRKSRC}/source/Common.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/solar ${PREFIX}/bin/${PORTNAME}
- ${MKDIR} ${DATADIR}/shapes
- ${INSTALL_DATA} ${WRKSRC}/shapes/* ${DATADIR}/shapes
- ${MKDIR} ${DATADIR}/images/fonts
- ${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images
- ${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${DATADIR}/images/fonts
+ ${INSTALL_PROGRAM} ${WRKSRC}/solar ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DATADIR}/shapes
+ ${INSTALL_DATA} ${WRKSRC}/shapes/* ${STAGEDIR}${DATADIR}/shapes
+ ${MKDIR} ${STAGEDIR}${DATADIR}/images/fonts
+ ${INSTALL_DATA} ${WRKSRC}/images/*.png ${STAGEDIR}${DATADIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/images/fonts/* ${STAGEDIR}${DATADIR}/images/fonts
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list