1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/linux-enemyterritory-etpro/Makefile
Alejandro Pulver a770567c41 - Update Enemy Territory from 2.60 to 2.60b. This fixes two security
holes.
- Switch from X11BASE to LOCALBASE.
- Switch to $MASTER_SITE_IDSOFTWARE as only download source. This
  should hopefully provide a more reliable download mirror list.
- Replace RESTRICTED with NO_CDROM, since the license actually allows
  packages to be built and offered for download.
- Switch mods from X11BASE to LOCALBASE (linux-enemyterritory-*) and bump
  their PORTREVISION.

PR:		ports/98160
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch> (maintainer)
2006-05-31 01:43:26 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: etpro
# Date created: 7 May 2006
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= etpro
PORTVERSION= 3.2.5
PORTREVISION= 1
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
ONLY_FOR_ARCHS= i386
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>