- Support staging
This commit is contained in:
parent
5baa5eb700
commit
4595d44540
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330577
2 changed files with 9 additions and 30 deletions
|
@ -19,7 +19,9 @@ USE_DOS2UNIX= makefile source/MenuScreen.h source/main.cpp
|
|||
|
||||
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>
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
bin/solarconquest
|
||||
%%DATADIR%%/images/explosion.png
|
||||
%%DATADIR%%/images/explosion_detailed.png
|
||||
%%DATADIR%%/images/fonts/glowfont_template.bmp
|
||||
%%DATADIR%%/images/fonts/smallfont.bmp
|
||||
%%DATADIR%%/shapes/advancedbomber.txt
|
||||
%%DATADIR%%/shapes/advancedbomber_source.txt
|
||||
%%DATADIR%%/shapes/advancedfighter.txt
|
||||
%%DATADIR%%/shapes/advancedfighter_source.txt
|
||||
%%DATADIR%%/shapes/aircraftcarrier.txt
|
||||
%%DATADIR%%/shapes/aircraftcarrier_source.txt
|
||||
%%DATADIR%%/shapes/destroyer.txt
|
||||
%%DATADIR%%/shapes/destroyer_source.txt
|
||||
%%DATADIR%%/shapes/laserturret.txt
|
||||
%%DATADIR%%/shapes/laserturret_source.txt
|
||||
%%DATADIR%%/shapes/spacestation.txt
|
||||
%%DATADIR%%/shapes/spacestation_source.txt
|
||||
%%DATADIR%%/shapes/turretstation.txt
|
||||
%%DATADIR%%/shapes/turretstation_source.txt
|
||||
@dirrm %%DATADIR%%/images/fonts
|
||||
@dirrm %%DATADIR%%/images
|
||||
@dirrm %%DATADIR%%/shapes
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in a new issue