blob: 4f3e4a4b919e6d3894edbdbd3f1e634f2e494b46 (
plain) (
tree)
|
|
# Created by: alepulver
# $FreeBSD$
PORTNAME= uhexen2
PORTVERSION= 1.4.1
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/HoT%20-%20Other%20content/extra%20data \
SF/${PORTNAME}/HoT%20-%20Other%20content/hexen2%20mods:mods \
SF/${PORTNAME}/HoT%20-%20Other%20content/hexenworld%20mods:hw_mods
PKGNAMESUFFIX= -extras
EXTRACT_SUFX= .tgz
DISTFILES= #
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Hexen II source port extras (demos, mods, etc)
BROKEN= unfetchable
RUN_DEPENDS= uhexen2>0:${PORTSDIR}/games/uhexen2
NO_BUILD= yes
OPTIONS_MULTI= EXTRA
OPTIONS_MULTI_EXTRA= HEXEN2_DEMOS HEXEN2_LITS HEXEN2_MODS HW_MODS
OPTIONS_DEFAULT= HEXEN2_DEMOS HEXEN2_LITS HEXEN2_MODS HW_MODS
OPTIONS_SUB= yes
HEXEN2_DEMOS_DESC= Install pre-recorded demos for Hexen II
HEXEN2_DEMOS_DISTFILES= hexen2-demos${EXTRACT_SUFX}
HEXEN2_LITS_DESC= Install colored light data for Hexen II
HEXEN2_LITS_DISTFILES= hexen2-lit_files${EXTRACT_SUFX}
HEXEN2_MODS_DESC= Install several mods for Hexen II
HEXEN2_MODS_DISTFILES= apocbot-0.2.0${EXTRACT_SUFX}:mods \
fo4d${EXTRACT_SUFX}:mods \
hcbots-1.0.4${EXTRACT_SUFX}:mods
HW_MODS_DESC= Install several mods for HexenWorld
HW_MODS_DISTFILES= dungeonbreak${EXTRACT_SUFX}:hw_mods \
hexarena${EXTRACT_SUFX}:hw_mods \
hwctf${EXTRACT_SUFX}:hw_mods \
rivalkingdoms${EXTRACT_SUFX}:hw_mods \
siege${EXTRACT_SUFX}:hw_mods
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/data1
.if ${PORT_OPTIONS:MHEXEN2_DEMOS}
${INSTALL_DATA} ${WRKDIR}/data1/*demo* ${STAGEDIR}${DATADIR}/data1
.endif
.if ${PORT_OPTIONS:MHEXEN2_LITS}
@${MKDIR} ${STAGEDIR}${DATADIR}/data1/maps
${INSTALL_DATA} ${WRKDIR}/data1/maps/*.lit ${STAGEDIR}${DATADIR}/data1/maps
.endif
.if ${PORT_OPTIONS:MHEXEN2_MODS}
(cd ${WRKDIR} && ${COPYTREE_SHARE} "apocbot fo4d hcbots" \
${STAGEDIR}${DATADIR})
.endif
.if ${PORT_OPTIONS:MHW_MODS}
(cd ${WRKDIR} && ${COPYTREE_SHARE} "db hexarena hwctf rk siege" \
${STAGEDIR}${DATADIR})
.for f in hexarena hwctf rk siege
${INSTALL_DATA} ${WRKDIR}/data1/${f}.cfg ${STAGEDIR}${DATADIR}/data1
.endfor
.endif
.include <bsd.port.mk>
|