freebsd-ports/games/openarena-data/Makefile
John Marino 62822a4538 games/openarena-data: Fix relative include path
All relative include paths should start with .CURDIR
2013-08-31 12:18:39 +00:00

34 lines
785 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
FETCH_ARGS=
OA_DATA= ${PKGNAMEPREFIX}${OA_DATA_VER}.zip
OA_DATA_VER= 0.8.8
.include "${.CURDIR}/../openarena/Makefile.include"
do-install:
${MKDIR} ${DATADIR}
.for _file in ${DISTFILES:C/:[^:]*//}
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${_file} \
${EXTRACT_AFTER_ARGS} -C ${DATADIR} --strip-components 2 \
${PKGNAMEPREFIX}\?.\?.\?/baseoa/
.endfor
.include <bsd.port.post.mk>