2013-09-20 19:36:33 +02:00
|
|
|
# Created by: alepulver
|
2007-02-25 17:01:33 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uhexen2
|
2015-12-03 14:05:49 +01:00
|
|
|
PORTVERSION= 1.5.6
|
2007-02-25 17:01:33 +01:00
|
|
|
CATEGORIES= games
|
2014-04-22 21:16:47 +02:00
|
|
|
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
|
2007-02-25 17:01:33 +01:00
|
|
|
PKGNAMESUFFIX= -extras
|
|
|
|
DISTFILES= #
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
2009-02-27 22:24:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-02-25 17:01:33 +01:00
|
|
|
COMMENT= Hexen II source port extras (demos, mods, etc)
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= uhexen2>0:games/uhexen2
|
2007-02-25 17:01:33 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2015-12-03 14:05:49 +01:00
|
|
|
NO_ARCH= yes
|
|
|
|
USES= tar:tgz
|
2007-02-25 17:01:33 +01:00
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
OPTIONS_MULTI= EXTRA
|
|
|
|
OPTIONS_MULTI_EXTRA= HEXEN2_DEMOS HEXEN2_LITS HEXEN2_MODS HW_MODS
|
|
|
|
OPTIONS_DEFAULT= HEXEN2_DEMOS HEXEN2_LITS HEXEN2_MODS HW_MODS
|
2014-04-22 21:16:47 +02:00
|
|
|
OPTIONS_SUB= yes
|
2007-02-25 17:01:33 +01:00
|
|
|
|
2014-04-22 21:16:47 +02:00
|
|
|
HEXEN2_DEMOS_DESC= Install pre-recorded demos for Hexen II
|
|
|
|
HEXEN2_DEMOS_DISTFILES= hexen2-demos${EXTRACT_SUFX}
|
2007-02-25 17:01:33 +01:00
|
|
|
|
2014-04-22 21:16:47 +02:00
|
|
|
HEXEN2_LITS_DESC= Install colored light data for Hexen II
|
2015-12-03 14:05:49 +01:00
|
|
|
HEXEN2_LITS_DISTFILES= hexen2-litfiles-20140628.zip
|
2007-02-25 17:01:33 +01:00
|
|
|
|
2014-04-22 21:16:47 +02:00
|
|
|
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
|
2007-02-25 17:01:33 +01:00
|
|
|
|
2014-04-22 21:16:47 +02:00
|
|
|
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
|
2007-02-25 17:01:33 +01:00
|
|
|
|
|
|
|
do-install:
|
2015-12-03 14:05:49 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
|
|
|
|
do-install-HEXEN2_DEMOS-on:
|
2014-04-22 21:16:47 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/data1
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/data1/*demo* ${STAGEDIR}${DATADIR}/data1
|
2015-12-03 14:05:49 +01:00
|
|
|
|
|
|
|
do-install-HEXEN2_LITS-on:
|
2014-04-22 21:16:47 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/data1/maps
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/data1/maps/*.lit ${STAGEDIR}${DATADIR}/data1/maps
|
2015-12-03 14:05:49 +01:00
|
|
|
|
|
|
|
do-install-HEXEN2_MODS-on:
|
2014-04-22 21:16:47 +02:00
|
|
|
(cd ${WRKDIR} && ${COPYTREE_SHARE} "apocbot fo4d hcbots" \
|
|
|
|
${STAGEDIR}${DATADIR})
|
2015-12-03 14:05:49 +01:00
|
|
|
|
|
|
|
do-install-HW_MODS-on:
|
2014-04-22 21:16:47 +02:00
|
|
|
(cd ${WRKDIR} && ${COPYTREE_SHARE} "db hexarena hwctf rk siege" \
|
|
|
|
${STAGEDIR}${DATADIR})
|
2015-12-03 14:05:49 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/data1
|
2007-02-25 17:01:33 +01:00
|
|
|
.for f in hexarena hwctf rk siege
|
2014-04-22 21:16:47 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/data1/${f}.cfg ${STAGEDIR}${DATADIR}/data1
|
2007-02-25 17:01:33 +01:00
|
|
|
.endfor
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.mk>
|