62822a4538
All relative include paths should start with .CURDIR
34 lines
785 B
Makefile
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>
|