freebsd-ports/games/doom-wolfendoom/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

30 lines
763 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= wolfendoom
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://www.ijs.si/~lesi/distfiles/doom/
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Wolfenstein 3D levels ported to Doom II
USES= tar:bzip2
NO_BUILD= yes
NO_WRKSUBDIR= yes
DATADIR= ${DMDIR}/${PORTNAME}
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.pre.mk>
do-install:
${FIND} ${WRKSRC}/${PORTNAME} ! -type d -exec ${CHMOD} 0644 {} +
${FIND} ${WRKSRC}/${PORTNAME} -type d -exec ${CHMOD} 0755 {} +
@${MKDIR} ${STAGEDIR}${DATADIR}
${TAR} -cf - -C ${WRKSRC}/${PORTNAME} . | ${TAR} -xpvf - -C ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>