summaryrefslogtreecommitdiffstats
path: root/games/doom-hacx/Makefile
blob: 99f199698fbdbf8938f178e198d6a547cfdb459f (plain)
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
# Created by: 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=	ports@FreeBSD.org
COMMENT=	Full TC using the Doom II engine

USES=	tar:bzip2
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:
	@${BZIP2_CMD} -dc ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > \
		${WRKSRC}/${DISTNAME}

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud