blob: dd6ec420de8da16ea9ddf77cff13694f66234da2 (
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
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: etpro
# Date created: 7 May 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= etpro
PORTVERSION= 3.2.6
CATEGORIES= games linux
MASTER_SITES= http://bani.anime.net/etpro/ \
http://dl.vpclan.de/etpro/ \
http://www.enemyterritory.sk/files/ \
ftp://download:etpro@preachers.cz/ \
http://ftp.freenet.de/pub/4players/hosted/wolfenstein/users/mods/ \
http://www.dakteam.org/ \
http://www.enemyterritory.cl/files/
PKGNAMEPREFIX= linux-enemyterritory-
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= ET Pro - The Enemy Territory Competition Mod
RUN_DEPENDS= et:${PORTSDIR}/games/linux-enemyterritory
IA32_BINARY_PORT= yes
USE_ZIP= yes
USE_LINUX= yes
NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
PLIST_SUB= VERSION="${PORTVERSION:S/./_/g}"
do-build:
.for f in et etded
@(${ECHO} "#!/bin/sh"; \
${ECHO} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} "$$@"') > \
${WRKSRC}/${f}-${PORTNAME}
.endfor
do-install:
.for f in et etded
${INSTALL_SCRIPT} ${WRKSRC}/${f}-${PORTNAME} ${PREFIX}/bin
.endfor
${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/${PORTNAME}/* ${DATADIR}
.include <bsd.port.mk>
|