freebsd-ports/games/quake-dpmod/Makefile
Mathieu Arnold 065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00

34 lines
833 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= dpmod
PORTVERSION= 20071120
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://offload1.icculus.org/twilight/darkplaces/files/
PKGNAMEPREFIX= ${Q1PKGNAMEPREFIX}
DISTNAME= darkplacesmod${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake 1 modification (for DarkPlaces)
RUN_DEPENDS= darkplaces>=0:${PORTSDIR}/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} -rf
# 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>