1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/utserver-asu/Makefile
Mario Sergio Fujikawa Ferreira 2fdb7d93fd o asu-main.sh patch
o legacy-asu-script-0.1.sh patch
o ucc.init patch, root can start server with different userid
o remove both netgames-0.8.0 and old CSHP patches
o add CSHP4+ and asu-0.4-redirectfix patches

Submitted by:	MAINTAINER
2001-10-26 22:19:04 +00:00

41 lines
1.0 KiB
Makefile

# New ports collection makefile for: abfackelns Server Utilities for UT
# Date created: Thu Oct 4 23:38:00 CEST 2001
# Whom: Martin Matuska <matuska@wu-wien.ac.at>
#
# $FreeBSD$
#
PORTNAME= asu
PORTVERSION= 0.4
PORTREVISION= 2
MASTER_SITES= ftp://ftp.abfackeln.com/pub/linux/ut/
DISTFILES= asu-${PORTVERSION}.tar.gz \
asu-0.4-redirectfix-0.1-patch.tar.gz \
CSHP-4+-patch.tar.gz
EXTRACT_ONLY= asu-${PORTVERSION}.tar.gz
MAINTAINER= matuska@wu-wien.ac.at
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
WRKSRC= ${WRKDIR}/Abfackeln.com
DONT_USE_ZIP= yes
DO_USE_WRKSUBDIR= yes
EXECUTABLES= pl
post-extract:
@${GZIP_CMD} -9c ${FILESDIR}/ucc.init > ${WRKSRC}/Lib/ucc.init.gz
@${RM} -f ${WRKSRC}/Patches/*
.for files in ${DISTFILES:S/${EXTRACT_ONLY}//}
@${CP} -f ${DISTDIR}/${files} ${WRKSRC}/Patches
.endfor
post-patch:
@${SED} -e "s|%%LINUXBASE%%|${LINUXBASE}|" \
-e "s|%%UTDIR%%|${UTDIR}|" \
${FILESDIR}/template-settings.ini > ${WRKSRC}/Lib/settings.ini
UT_MASTER_PORT= ${.CURDIR}/../utserver-to
.include "${UT_MASTER_PORT}/Makefile"