aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlserver-ns/Makefile
blob: 59693224dd57df0f09d3b5d6f2a3a1290502a1f6 (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
# New ports collection makefile for:    Natural Selection Server
# Date created:             Tue Nov 12 03:27:08 UTC 2002
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ns
PORTVERSION=    1.0.4
PORTREVISION=   1
MASTER_SITES=   http://files.games.eftel.com/halflife/ns/ \
        http://www.jetstreamgames.co.nz/files/pub/halflife/NaturalSelection/ \
        ftp://ftp2.extreme-players.de/hl/mod/ns/ \
        http://files.redphive.org/:PATCH
DISTFILES=  ns_v1_linux_dedicated_server.tar.gz \
        ns-v${PORTVERSION:S/.//g}.zip:PATCH
EXTRACT_ONLY=   ns_v1_linux_dedicated_server.tar.gz

BUILD_DEPENDS=  unzip:${PORTSDIR}/archivers/unzip

MAINTAINER= ports@FreeBSD.org
COMMENT=    Half-Life mod Natural Selection full server package for Linux

BROKEN=     "Unfetchable"

UNZIP?=     ${LOCALBASE}/bin/unzip

slaveport-post-extract:
    @cd ${WRKSRC} && ${UNZIP} -a -o -qq ${DISTDIR}/ns-v${PORTVERSION:S/.//g}.zip

HALFLIFE_PORT_MASTER=   ${.CURDIR}/../hlserver-flf

.include "${HALFLIFE_PORT_MASTER}/Makefile"