aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake-dpmod/Makefile
blob: be466d0dc6908d00a43305ba8d2ea7af865e4317 (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
# 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

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

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