1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix installation for DEDICATED=off case

PR:		195997
Submitted by:	sasamotikomi@gmail.com
This commit is contained in:
Dmitry Marakasov 2014-12-16 14:21:32 +00:00
parent 8cda4a6497
commit cd407370f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374806

View File

@ -15,7 +15,7 @@ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libpng.so:${PORTSDIR}/graphics/png \
libjpeg.so:${PORTSDIR}/graphics/jpeg
MANUAL_PACKAGE_BUILD= huge
MANUAL_PACKAGE_BUILD= huge (930M)
USES= zip
WRKSRC= ${WRKDIR}/Xonotic/source/darkplaces
@ -86,11 +86,11 @@ do-install:
# Fixup lost +x permissions on scripts after COPYTREE_SHARE
${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \
${XARGS} ${CHMOD} +x
.endif
.if ${PORT_OPTIONS:MENCRYPTION}
${INSTALL_DATA} ${WRKDIR}/Xonotic/key_0.d0pk ${STAGEDIR}${PREFIX}/share/${PORTNAME}
.endif
${MKDIR} ${STAGEDIR}${DATADIR}/data
${INSTALL_DATA} ${WRKDIR}/Xonotic/data/*.pk3 ${STAGEDIR}${DATADIR}/data/
.if ${PORT_OPTIONS:MENCRYPTION}
${INSTALL_DATA} ${WRKDIR}/Xonotic/key_0.d0pk ${STAGEDIR}${DATADIR}/
.endif
.include <bsd.port.mk>