mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
games/quake2-ctf: support stage
This commit is contained in:
parent
011fbf1aaf
commit
2984f15b85
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360474
@ -27,7 +27,6 @@ CTF_SRC= quake2-r0.16.2.tar.gz
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../quake2-data/Makefile.include"
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -42,15 +41,15 @@ post-extract:
|
||||
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${Q2DIR}/ctf
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/ctf
|
||||
@${MKDIR} ${STAGEDIR}${Q2DIR}/ctf
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${Q2DIR}/ctf
|
||||
.for f in *.cfg *.pak
|
||||
${INSTALL_DATA} ${WRKDIR}/ctf/${f} ${Q2DIR}/ctf
|
||||
${INSTALL_DATA} ${WRKDIR}/ctf/${f} ${STAGEDIR}${Q2DIR}/ctf
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/ctf/readme.txt ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/ctf/readme.txt ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user