summaryrefslogtreecommitdiffstats
path: root/games/quake-dpmod/Makefile
blob: 2bae302b2f86c348203757967556928a82f41a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$

PORTNAME=	dpmod
PORTVERSION=	20071120
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://icculus.org/twilight/darkplaces/files/
PKGNAMEPREFIX=	${Q1PKGNAMEPREFIX}
DISTNAME=	darkplacesmod${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Quake 1 modification (for DarkPlaces)

RUN_DEPENDS=	darkplaces>=0:games/darkplaces

USES=		zip
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

DATADIR=	${Q1DIR}/${PORTNAME}

post-extract:
# Remove CVS directories
	@${FIND} ${WRKSRC} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -r
# Fix permissions
	@${CHMOD} go-w ${WRKSRC}/dpmod/progs.dat

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${CP} -a ${WRKSRC}/dpmod/* ${STAGEDIR}${DATADIR}

.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.mk>
OpenPOWER on IntegriCloud