summaryrefslogtreecommitdiff
path: root/games/hlserver-flf/Makefile
blob: bcd274d63ecdf0fc142febf74387381fdc2c8b13 (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
34
35
36
37
38
39
40
# New ports collection makefile for:    Front Line Force Server
# Date created:				Sat Mar 10 16:40:06 EST 2001
# Whom:					pat@databits.net
#
# $FreeBSD$
#

PORTNAME=	FLF
PORTVERSION=	1.2
CATEGORIES=	games linux
MASTER_SITES=	http://hex.databits.net/~pat/ \
		ftp://ftp.icrontic.com/pub/ \
		ftp://ftp.task.gda.pl/vol/d33/ftp.extreme-players.de/exp/hl/mod/frontlineforce/
DISTNAME=	frontline_linux_1.2
EXTRACT_ONLY=

MAINTAINER=	pat@databits.net

BUILD_DEPENDS=	/compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base
RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
		hlds_l:${PORTSDIR}/games/halflifeserver

NO_CDROM=	"Size; the data set is much too big"
NO_BUILD=	yes
PREFIX=		/compat/linux
WRKSRC=		${WRKDIR}/hlds_l
EXTRACT_ONLY_1=	frontline_linux_1.2.tar.gz

HLDSDIR=	/usr/games/hlds_l

do-install:
	@cd ${PREFIX}${HLDSDIR} ;\
	for file in ${EXTRACT_ONLY_1}; do \
		if ! (${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$${file} ${EXTRACT_AFTER_ARGS}) ;\
		then \
			exit 1 ;\
		fi \
	done

.include <bsd.port.mk>