1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/doom-hr/Makefile
Danilo Egea Gondolfo eb91ab6bfe - Use options helpers
- Add stage support
2013-11-16 02:51:45 +00:00

54 lines
1.4 KiB
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= hr
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.planetmirror.com/pub/idgames/themes/hr/ \
ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/themes/hr/ \
ftp://ftp.ntua.gr/pub/vendors/idgames/themes/hr/ \
http://ftp.sunet.se/pub/pc/games/idgames/themes/hr/ \
ftp://3darchives.in-span.net/pub/idgames/themes/hr/
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
DISTFILES= ${PORTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Hell Revealed is a megawad, a 32-level replacement for DooM II
USE_ZIP= yes
USE_CRLF= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= DEMO_NM DEMO_UV DOCS
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}
DEMO_NM_DISTFILES= hrhelp${EXTRACT_SUFX}
DEMO_UV_DISTFILES= hruvlmp2${EXTRACT_SUFX}
post-extract:
@(cd ${WRKDIR} && ${SH} ${SCRIPTDIR}/lowercase.sh)
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.wad ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MDEMO_NM} || !empty(PORT_OPTIONS:MDEMO_UV)
${INSTALL_DATA} ${WRKSRC}/*.lmp ${STAGEDIR}${DATADIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>