1996-10-28 05:49:53 -05:00
|
|
|
# New ports collection makefile for: quakeserver
|
|
|
|
# Version required: 1.01
|
|
|
|
# Date created: October 26th 1996
|
|
|
|
# Whom: jfitz@FreeBSD.ORG
|
|
|
|
#
|
1996-11-18 21:39:16 -05:00
|
|
|
# $Id: Makefile,v 1.4 1996/11/18 11:24:56 asami Exp $
|
1996-10-28 05:49:53 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= quakeserver-1.01
|
1996-11-18 06:44:27 -05:00
|
|
|
CATEGORIES= games
|
1996-10-28 05:49:53 -05:00
|
|
|
MASTER_SITES= ftp://ftp.stomped.com/pub/idstuff/quake/ \
|
|
|
|
ftp://ftp.stomped.com/pub/quake/x_linux/ \
|
|
|
|
ftp://ftp1.idsoftware.com/idstuff/quake/ \
|
|
|
|
ftp://ftp2.idsoftware.com/idsutff/quake/ \
|
|
|
|
ftp://ftp.cdrom.com/pub/idgames/idstuff/quake/ \
|
|
|
|
ftp://quake.best.com/pub/idsoftware/quake/ \
|
|
|
|
ftp://ftp.nuqneH.org/pub/quake/idsoftware/ \
|
|
|
|
ftp://PC/games/DOOM/idstuff/quake/ \
|
|
|
|
ftp://ftp.sun.ac.za/pub/msdos/idgames/idstuff/quake/ \
|
|
|
|
ftp://iconz.co.nz/pub/quake/
|
|
|
|
DISTFILES= quake101.zip \
|
|
|
|
quake-FreeBSD.tar.gz \
|
|
|
|
intel_linux_quake101.tgz
|
|
|
|
|
|
|
|
MAINTAINER= jfitz@freebsd.org
|
|
|
|
|
1996-11-18 21:39:16 -05:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
|
1996-10-28 05:49:53 -05:00
|
|
|
lha:${PORTSDIR}/archivers/lha
|
|
|
|
|
|
|
|
RUN_DEPENDS= expect:${PORTSDIR}/lang/expect \
|
1996-10-30 11:22:51 -05:00
|
|
|
/compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
|
1996-10-28 05:49:53 -05:00
|
|
|
|
|
|
|
# Uncomment the next line to include the QuakeC compiler port as well
|
|
|
|
#RUN_DEPENDS+= qcc:${PORTSDIR}/games/qcc
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
NO_BUILD= YES
|
1996-10-28 14:16:36 -05:00
|
|
|
NO_CDROM= YES
|
1996-10-28 05:49:53 -05:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@ ${MKDIR} -p work/quake
|
|
|
|
@ ${MKDIR} -p work/server
|
|
|
|
unzip -o ${DISTDIR}/quake101.zip -d ${WRKDIR}/quake QSW101.?
|
|
|
|
@ cat ${WRKDIR}/quake/QSW101.[1-7] > ${WRKDIR}/quake/resource.exe
|
|
|
|
cd ${WRKDIR}/quake; lha xf resource.exe id1/pak0.pak
|
|
|
|
@ cd ${WRKDIR}/server; tar zxf ${DISTDIR}/quake-FreeBSD.tar.gz
|
|
|
|
@ cd ${WRKDIR}/server/quake; tar zxf ${DISTDIR}/intel_linux_quake101.tgz
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${MKDIR} -p ${PREFIX}/quakeserver
|
|
|
|
@ ${MKDIR} -p ${PREFIX}/quakeserver/id1
|
|
|
|
for file in ${WRKDIR}/quake/id1/*; do \
|
|
|
|
${INSTALL_DATA} $$file ${PREFIX}/quakeserver/id1; \
|
|
|
|
done
|
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKDIR}/server/quake/xquake ${PREFIX}/quakeserver
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/server/quake/qstat ${PREFIX}/quakeserver; \
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/server/quake/README.FreeBSD ${PREFIX}/quakeserver
|
|
|
|
for file in qsrv qsrv.expect qslog; do \
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/server/quake/$$file ${PREFIX}/quakeserver; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|