aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom-wolfendoom/Makefile
blob: d56ec97e3a2299e332eaf5aec9aeed8a53a69a94 (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
# 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>