# 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= kami@freebsd.org COMMENT= OpenArena game data files LICENSE= GPLv2 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