1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add staging support

- Define DOCS option
This commit is contained in:
Pawel Pekala 2014-04-13 09:55:52 +00:00
parent b85a6d73e2
commit dec1331abc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351196

View File

@ -21,14 +21,13 @@ PLIST_FILES= %%DATADIR%%/hr2final.wad
PLIST_DIRS= %%DATADIR%%
PORTDOCS= hr2final.txt
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/hr2final.wad ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/hr2final.txt ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/hr2final.wad ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/hr2final.txt ${STAGEDIR}${DOCSDIR}
.include "${.CURDIR}/../doom-data/Makefile.include"