aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom-hacx/Makefile
blob: 0563d5d1fbf12b3817f8162047347b532516453f (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
36
37
38
39
40
41
# New ports collection makefile for:    doom-hacx
# Date created:             21 Sep 2005
# Whom:                 Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=   hacx
PORTVERSION=    1.0
CATEGORIES= games
MASTER_SITES=   http://www.ijs.si/~lesi/distfiles/doom/
PKGNAMEPREFIX=  ${DMPKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}.wad
EXTRACT_SUFX=   .bz2

MAINTAINER= alejandro@varnet.biz
COMMENT=    A full TC using the Doom II engine

USE_BZIP2=  yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

DATADIR=    ${DMDIR}/${PORTNAME}

PLIST_FILES=    %%DATADIR%%/${DISTNAME}
PLIST_DIRS= %%DATADIR%%

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

.include <bsd.port.pre.mk>

do-extract:
    @${MKDIR} ${WRKDIR}
    @${BZIP2_CMD} -dc ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > \
        ${WRKDIR}/${DISTNAME}

do-install:
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${DATADIR}

.include <bsd.port.post.mk>