2013-05-12 14:25:33 +02:00
|
|
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
2005-10-16 07:51:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dpmod
|
2007-12-12 06:05:23 +01:00
|
|
|
PORTVERSION= 20071120
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 2
|
2005-10-16 07:51:51 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://offload1.icculus.org/twilight/darkplaces/files/
|
2005-12-12 10:25:24 +01:00
|
|
|
PKGNAMEPREFIX= ${Q1PKGNAMEPREFIX}
|
2005-10-16 07:51:51 +02:00
|
|
|
DISTNAME= darkplacesmod${PORTVERSION}
|
|
|
|
|
2013-05-12 14:25:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-03-21 08:10:29 +01:00
|
|
|
COMMENT= Quake 1 modification (for DarkPlaces)
|
2005-10-16 07:51:51 +02:00
|
|
|
|
2006-03-21 08:10:29 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/darkplaces/dummy:${PORTSDIR}/games/darkplaces
|
2005-10-16 07:51:51 +02:00
|
|
|
|
2014-03-10 15:49:26 +01:00
|
|
|
USES= zip
|
2005-10-16 07:51:51 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2006-03-21 08:10:29 +01:00
|
|
|
DATADIR= ${Q1DIR}/${PORTNAME}
|
2005-12-12 10:25:24 +01:00
|
|
|
|
2005-10-16 07:51:51 +02:00
|
|
|
post-extract:
|
|
|
|
# Remove CVS directories
|
2013-05-12 14:25:33 +02:00
|
|
|
@${FIND} ${WRKDIR} -type d -name CVS -print0 | ${XARGS} -0 ${RM} -rf
|
2005-10-16 07:51:51 +02:00
|
|
|
# Fix permissions
|
|
|
|
@${CHMOD} go-w ${WRKDIR}/dpmod/progs.dat
|
|
|
|
|
|
|
|
do-install:
|
2013-11-24 01:03:43 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${CP} -a ${WRKSRC}/dpmod/* ${STAGEDIR}${DATADIR}
|
2005-10-16 07:51:51 +02:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../quake-data/Makefile.include"
|
|
|
|
.include <bsd.port.mk>
|