diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-16 02:51:45 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-16 02:51:45 +0000 |
commit | eb91ab6bfe486e864f47c8c22fc878cc47232c0d (patch) | |
tree | a2a3f1ca7084cbcf373eb0b8d45465dd421dd09b /games/doom-hr | |
parent | 5f49829a8c9e41657832e45fe7999d34f726baa1 (diff) | |
download | ports-eb91ab6bfe486e864f47c8c22fc878cc47232c0d.tar.gz ports-eb91ab6bfe486e864f47c8c22fc878cc47232c0d.zip |
Notes
Diffstat (limited to 'games/doom-hr')
-rw-r--r-- | games/doom-hr/Makefile | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/games/doom-hr/Makefile b/games/doom-hr/Makefile index 2371346770f6..cb2b6fd34e11 100644 --- a/games/doom-hr/Makefile +++ b/games/doom-hr/Makefile @@ -27,9 +27,13 @@ OPTIONS_DEFAULT= DEMO_NM DEMO_UV DEMO_NM_DESC= Install demos with -nomonsters DEMO_UV_DESC= Install Ultra-Violence demos +OPTIONS_SUB= yes + DATADIR= ${DMDIR}/${PORTNAME} -NO_STAGE= yes +DEMO_NM_DISTFILES= hrhelp${EXTRACT_SUFX} +DEMO_UV_DISTFILES= hruvlmp2${EXTRACT_SUFX} + post-extract: @(cd ${WRKDIR} && ${SH} ${SCRIPTDIR}/lowercase.sh) @@ -37,29 +41,13 @@ post-extract: .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDEMO_NM} -DISTFILES+= hrhelp${EXTRACT_SUFX} -PLIST_SUB+= DEMO_NM="" -.else -PLIST_SUB+= DEMO_NM="@comment " -.endif - -.if ${PORT_OPTIONS:MDEMO_UV} -DISTFILES+= hruvlmp2${EXTRACT_SUFX} -PLIST_SUB+= DEMO_UV="" -.else -PLIST_SUB+= DEMO_UV="@comment " -.endif - do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.wad ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.wad ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MDEMO_NM} || !empty(PORT_OPTIONS:MDEMO_UV) - ${INSTALL_DATA} ${WRKSRC}/*.lmp ${DATADIR} -.endif -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.lmp ${STAGEDIR}${DATADIR} .endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |