2007-06-06 05:42:45 +02:00
|
|
|
# New ports collection makefile for: vavoom
|
|
|
|
# Date created: 2007-06-05
|
|
|
|
# Whom: alepulver
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vavoom
|
2007-12-12 06:24:02 +01:00
|
|
|
PORTVERSION= 1.25
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2007-06-06 05:42:45 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/vmodels-doom/1.4.2:sf \
|
2007-12-12 06:24:02 +01:00
|
|
|
http://doomtextures.freelanzer.com/:dt
|
2009-08-22 02:23:13 +02:00
|
|
|
|
2007-06-06 05:42:45 +02:00
|
|
|
PKGNAMESUFFIX= -extras
|
|
|
|
DISTFILES= #
|
|
|
|
|
2009-02-27 22:24:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-06-06 05:42:45 +02:00
|
|
|
COMMENT= Doom, Doom II, Heretic, Hexen and Strife source port (extras)
|
|
|
|
|
|
|
|
RUN_DEPENDS= vavoom:${PORTSDIR}/games/vavoom
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_PACKAGE= package will be 665MB; set FORCE_PACKAGE if you really want it
|
|
|
|
|
|
|
|
OPTIONS= MODELS "Install 3D models (20MB)" on \
|
|
|
|
SOUNDTRACKS "Install enhaced soundtracks (480MB)" on \
|
|
|
|
TEXTURES "Install high resolution textures (165MB)" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITH_MODELS) && !defined(WITH_SOUNDTRACKS) && \
|
|
|
|
!defined(WITH_TEXTURES)
|
|
|
|
IGNORE= needs at least one option selected
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MODELS)
|
|
|
|
. for f in doom heretic hexen strife
|
2007-12-12 06:24:02 +01:00
|
|
|
DISTFILES+= vmodels-${f}-1.4.2${EXTRACT_SUFX}:sf
|
2007-06-06 05:42:45 +02:00
|
|
|
. endfor
|
|
|
|
PLIST_SUB+= MODELS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= MODELS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_TEXTURES)
|
2007-12-12 06:24:02 +01:00
|
|
|
DISTFILES+= vv-dhtp-20071114.pk3:dt
|
2007-07-25 18:13:11 +02:00
|
|
|
. for f in heretic hexen strife
|
2007-12-12 06:24:02 +01:00
|
|
|
DISTFILES+= vtextures-${f}-1.0${EXTRACT_SUFX}:sf
|
2007-06-06 05:42:45 +02:00
|
|
|
. endfor
|
|
|
|
PLIST_SUB+= TEXTURES=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= TEXTURES="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SOUNDTRACKS)
|
|
|
|
. for f in doom1 doom2 tnt plutonia heretic hexen
|
2007-12-12 06:24:02 +01:00
|
|
|
DISTFILES+= vmusic-${f}-1.0${EXTRACT_SUFX}:sf
|
2007-06-06 05:42:45 +02:00
|
|
|
. endfor
|
|
|
|
PLIST_SUB+= SOUNDTRACKS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SOUNDTRACKS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-12-12 06:24:02 +01:00
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC} -type f -name "*.txt" -delete
|
|
|
|
|
2007-06-06 05:42:45 +02:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${FIND} basev -type f \
|
|
|
|
-exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|