1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/openarena-data/Makefile
John Marino 4a5c97cd51 games: ioquak3* iourbanterror* openarena*: Update and stage support
The patch applied without incident.  Tested on DragonFly poudriere,
everything built fine.  It include an i386 fix, which is why the
previous commit was reverted.

The only modification was to change EXTRACT_CMD to TAR in a couple
of places.

PR:		ports/187859
submitted by;	maintainer (Dominic Fandrey)
2014-06-01 15:28:29 +00:00

34 lines
787 B
Makefile

# Created by: Dominic Fandrey
# $FreeBSD$
PORTNAME= data
PORTVERSION= 0.8.8
CATEGORIES= games
MASTER_SITES= SF/oarena:data \
http://openarena.ws/request.php?4%23/:data \
SF/oarena:patch \
http://openarena.ws/request.php?5%23/:patch
DISTFILES= ${OA_DATA}:data
EXTRACT_ONLY=
MAINTAINER= kamikaze@bsdforen.de
COMMENT= OpenArena game data files
WRKSRC= ${WRKDIR}/baseoa
NO_BUILD= yes
OA_DATA= ${PKGNAMEPREFIX}${OA_DATA_VER}.zip
OA_DATA_VER= 0.8.8
.include "${.CURDIR}/../openarena/Makefile.include"
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
.for _file in ${DISTFILES:C/:[^:]*//}
${TAR} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${_file} \
${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${DATADIR} \
--strip-components 2 ${PKGNAMEPREFIX}\?.\?.\?/baseoa/
.endfor
.include <bsd.port.post.mk>