Add staging support
This commit is contained in:
parent
36570309fc
commit
fdfd2ec06e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351464
1 changed files with 6 additions and 12 deletions
|
@ -21,20 +21,14 @@ DATADIR= ${Q3DIR}/${PORTNAME}
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../quake3-data/Makefile.include"
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
.for f in *.pk3 description.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
. for f in beta3.html radio_commands.txt readme*.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
. endfor
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} *.pk3 description.txt \
|
||||
${STAGEDIR}${DATADIR})
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} beta3.html radio_commands.txt \
|
||||
readme*.txt ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue