Merge branch 'staged'
[dports.git] / games / quake-dpmod / Makefile
1 PORTNAME=       dpmod
2 PORTVERSION=    20130301
3 CATEGORIES=     games
4 MASTER_SITES=   http://icculus.org/twilight/darkplaces/files/
5 PKGNAMEPREFIX=  ${Q1PKGNAMEPREFIX}
6 DISTNAME=       darkplacesmod${PORTVERSION}
7
8 MAINTAINER=     ports@FreeBSD.org
9 COMMENT=        Quake 1 modification (for DarkPlaces)
10 WWW=            https://icculus.org/twilight/darkplaces/
11
12 RUN_DEPENDS=    darkplaces>=0:games/darkplaces
13
14 USES=           zip
15 NO_BUILD=       yes
16 NO_WRKSUBDIR=   yes
17
18 DATADIR=        ${Q1DIR}/${PORTNAME}
19
20 post-extract:
21 # Remove CVS directories
22         @${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -r
23
24 do-install:
25         @${MKDIR} ${STAGEDIR}${DATADIR}
26         ${CP} -a ${WRKSRC}/dpmod/* ${STAGEDIR}${DATADIR}
27
28 .include "${.CURDIR}/../quake-data/Makefile.include"
29 .include <bsd.port.mk>