2005-11-17 12:29:24 +01:00
|
|
|
# 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/
|
2005-12-09 12:19:52 +01:00
|
|
|
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
|
2005-11-17 12:29:24 +01:00
|
|
|
DISTNAME= ${PORTNAME}.wad
|
|
|
|
EXTRACT_SUFX= .bz2
|
|
|
|
|
2006-04-09 15:08:16 +02:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2005-11-17 12:29:24 +01:00
|
|
|
COMMENT= A full TC using the Doom II engine
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2005-12-09 12:19:52 +01:00
|
|
|
DATADIR= ${DMDIR}/${PORTNAME}
|
|
|
|
|
2005-11-17 12:29:24 +01:00
|
|
|
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>
|