aboutsummaryrefslogtreecommitdiff
path: root/games/quake-dpmod/Makefile
blob: fe8a3776ce9ae5dfc083697bef3210f514d9b3d0 (plain) (blame)
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
35
36
37
38
39
40
# New ports collection makefile for:	quake-dpmod
# Date created:				14 Sep 2005
# Whom:					Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

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

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

RUN_DEPENDS=	${LOCALBASE}/share/darkplaces/dummy:${PORTSDIR}/games/darkplaces

USE_ZIP=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

DATADIR=	${Q1DIR}/${PORTNAME}

post-extract:
# Remove CVS directories
	@${FIND} ${WRKDIR} -type d -name CVS -print0 | \
		${XARGS} -0 ${RM} -rf

# Fix permissions
	@${CHMOD} go-w ${WRKDIR}/dpmod/progs.dat

do-install:
	${MKDIR} ${DATADIR}
	${CP} -R ${WRKSRC}/dpmod/* ${DATADIR}

.include "${.CURDIR}/../quake-data/Makefile.include"

.include <bsd.port.mk>