- Fix key file installation

PR:		219887
Submitted by:	nico@lifeisabug.com
This commit is contained in:
Dmitry Marakasov 2017-06-09 15:09:07 +00:00
parent ca4fadfff4
commit 80d5e5f528
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443007

View File

@ -3,6 +3,7 @@
PORTNAME= xonotic PORTNAME= xonotic
PORTVERSION= 0.8.2 PORTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= games CATEGORIES= games
MASTER_SITES= http://nl.dl.xonotic.org/ \ MASTER_SITES= http://nl.dl.xonotic.org/ \
http://mirror.bitmissile.com/xonotic/releases/ http://mirror.bitmissile.com/xonotic/releases/
@ -64,6 +65,7 @@ post-patch:
do-install: do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/data @${MKDIR} ${STAGEDIR}${DATADIR}/data
${INSTALL_DATA} ${WRKSRC}/data/*.pk3 ${STAGEDIR}${DATADIR}/data/ ${INSTALL_DATA} ${WRKSRC}/data/*.pk3 ${STAGEDIR}${DATADIR}/data/
${INSTALL_DATA} ${WRKSRC}/key_0.d0pk ${STAGEDIR}${DATADIR}/
do-install-CLIENT-on: do-install-CLIENT-on:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-sdl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-sdl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@ -76,7 +78,4 @@ do-install-DEDICATED-on:
${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \ ${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \
${XARGS} ${CHMOD} +x ${XARGS} ${CHMOD} +x
do-install-ENCRYPTION-on:
${INSTALL_DATA} ${WRKSRC}/key_0.d0pk ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk> .include <bsd.port.mk>