2005-10-16 05:51:51 +00:00
|
|
|
# New ports collection makefile for: quake-dpmod
|
|
|
|
# Date created: 14 Sep 2005
|
|
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dpmod
|
2007-12-12 05:05:23 +00:00
|
|
|
PORTVERSION= 20071120
|
2010-02-05 11:46:55 +00:00
|
|
|
PORTREVISION= 1
|
2005-10-16 05:51:51 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://offload1.icculus.org/twilight/darkplaces/files/
|
2005-12-12 09:25:24 +00:00
|
|
|
PKGNAMEPREFIX= ${Q1PKGNAMEPREFIX}
|
2005-10-16 05:51:51 +00:00
|
|
|
DISTNAME= darkplacesmod${PORTVERSION}
|
|
|
|
|
2011-03-14 16:47:46 +00:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2006-03-21 07:10:29 +00:00
|
|
|
COMMENT= Quake 1 modification (for DarkPlaces)
|
2005-10-16 05:51:51 +00:00
|
|
|
|
2006-03-21 07:10:29 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/darkplaces/dummy:${PORTSDIR}/games/darkplaces
|
2005-10-16 05:51:51 +00:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2006-03-21 07:10:29 +00:00
|
|
|
DATADIR= ${Q1DIR}/${PORTNAME}
|
2005-12-12 09:25:24 +00:00
|
|
|
|
2005-10-16 05:51:51 +00:00
|
|
|
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:
|
2006-07-24 03:21:47 +00:00
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${CP} -R ${WRKSRC}/dpmod/* ${DATADIR}
|
2005-10-16 05:51:51 +00:00
|
|
|
|
|
|
|
.include "${.CURDIR}/../quake-data/Makefile.include"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|