1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

fix some maps which are truncated in the official distribution

Submitted by:	MAINTAINER (with few changes)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-10-17 18:15:53 +00:00
parent 3012f71783
commit a20bc68a3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48874

View File

@ -7,10 +7,17 @@
PORTNAME= utserver
PORTVERSION= 436
PORTREVISION= 1
CATEGORIES= games linux
MASTER_SITES= ftp://utservers:idspispopd@ftp.lokigames.com/ \
http://arcadia.inf.udec.cl/ftp/pub/linux/ut-server/
DISTNAME= ut-server-${PORTVERSION}
http://arcadia.inf.udec.cl/ftp/pub/linux/ut-server/ \
http://ucc.sobservers.com/ \
http://game.dkm.cz/downloads/files/Unreal%20Tournament/ucc/
DISTFILES= ut-server-${PORTVERSION}${EXTRACT_SUFX} \
DM-Curse%5D%5B.unr.uz \
DM-Deck16%5D%5B.unr.uz \
DM-Morbias%5D%5B.unr.uz
EXTRACT_ONLY= ut-server-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= matuska@wu-wien.ac.at
@ -31,6 +38,16 @@ SORT?= /usr/bin/sort
# files which should be installed with executable perms
EXECUTABLES= ucc ucc-bin
post-extract:
.for file in ${DISTFILES:S/${EXTRACT_ONLY}//}
@${SETENV} HOME=${WRKDIR} ${WRKSRC}/ucc decompress \
${DISTDIR}/${file} >/dev/null
.endfor
.for file in ${DISTFILES:S/${EXTRACT_ONLY}//}
@${CP} -f "${WRKDIR}/.loki/ut/System/${file:R:S/%5D/]/:S/%5B/[/}" \
${WRKSRC}/Maps
.endfor
pre-patch:
# remove trailing ^M
@find -E ${WRKSRC} -type f \