2012-11-22 15:58:09 +01:00
|
|
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
2005-11-17 12:28:34 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= data
|
|
|
|
PORTVERSION= 1.0
|
2006-04-24 23:03:30 +02:00
|
|
|
PORTREVISION= 1
|
2005-11-17 12:28:34 +01:00
|
|
|
CATEGORIES= games
|
2012-10-06 10:02:07 +02:00
|
|
|
MASTER_SITES= http://www.ijs.si/~lesi/distfiles/doom/
|
2005-12-09 12:19:52 +01:00
|
|
|
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
|
2005-11-17 12:28:34 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
|
2013-01-30 00:00:02 +01:00
|
|
|
MAINTAINER= jakub_lach@mailplus.pl
|
2012-11-22 15:58:09 +01:00
|
|
|
COMMENT= Shareware data files for Doom, Doom II, Hexen, Heretic, and Strife
|
2005-11-17 12:28:34 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2014-01-26 13:55:03 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
OPTIONS_MULTI= WADS
|
|
|
|
OPTIONS_MULTI_WADS= DOOM HERETIC HEXEN STRIFE
|
2012-06-12 18:35:45 +02:00
|
|
|
OPTIONS_DEFAULT= DOOM
|
2014-01-26 13:55:03 +01:00
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
DOOM_DESC= Install Doom shareware data
|
|
|
|
HERETIC_DESC= Install Heretic shareware data
|
|
|
|
HEXEN_DESC= Install Hexen shareware data
|
|
|
|
STRIFE_DESC= Install Strife shareware data
|
2005-11-17 12:28:34 +01:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2005-12-09 12:19:52 +01:00
|
|
|
DATADIR= ${DMDIR}
|
2005-11-17 12:28:34 +01:00
|
|
|
|
2014-01-26 13:55:03 +01:00
|
|
|
DOOM_DISTFILES= doom1.wad.bz2
|
|
|
|
HERETIC_DISTFILES= heretic1.wad.bz2
|
|
|
|
HEXEN_DISTFILES= hexen.wad.bz2
|
|
|
|
STRIFE_DISTFILES= strife0.wad.bz2
|
2005-11-17 12:28:34 +01:00
|
|
|
|
|
|
|
.include "Makefile.include"
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-11-17 12:28:34 +01:00
|
|
|
|
|
|
|
do-extract:
|
2015-11-05 13:36:25 +01:00
|
|
|
@${MKDIR} ${WRKSRC}
|
2014-01-26 13:55:03 +01:00
|
|
|
.for f in ${DISTFILES}
|
2015-11-05 13:36:25 +01:00
|
|
|
@${BZIP2_CMD} -dc ${_DISTDIR}/${f} > ${WRKSRC}/${f:S/.bz2$//}
|
2005-11-17 12:28:34 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2014-01-26 13:55:03 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
.for f in ${DISTFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f:S/.bz2$//} ${STAGEDIR}${DATADIR}/
|
2005-11-17 12:28:34 +01:00
|
|
|
.endfor
|
|
|
|
|
2012-06-12 18:35:45 +02:00
|
|
|
.include <bsd.port.mk>
|