mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
c499c78518
With hat: portmgr
36 lines
800 B
Makefile
36 lines
800 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= ports@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 <bsd.port.post.mk>
|