aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom-wolfendoom/Makefile
blob: 5c4e15e094b9039a9d44a9eb6400717113e21b75 (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
31
32
33
34
35
# New ports collection makefile for:    doom-wolfendoom
# Date created:             21 Sep 2005
# Whom:                 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= alejandro@varnet.biz
COMMENT=    Wolfenstein 3D levels ported to Doom II

USE_BZIP2=  yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

DATADIR=    ${DMDIR}/${PORTNAME}

.include "${.CURDIR}/../doom-data/Makefile.include"

.include <bsd.port.pre.mk>

do-install:
    ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKDIR}/${PORTNAME}
    ${FIND} ${WRKDIR}/${PORTNAME} ! -type d -exec ${CHMOD} 0644 {} \;
    ${FIND} ${WRKDIR}/${PORTNAME} -type d -exec ${CHMOD} 0755 {} \;
    ${MKDIR} ${DATADIR}
    ${TAR} -cf - -C ${WRKDIR}/${PORTNAME} . | ${TAR} -xpvf - -C ${DATADIR}

.include <bsd.port.post.mk>