Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2000 21:25:26 +1100
From:      Danny <dannyh@idx.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Installing ports behind Winproxy
Message-ID:  <00022621284600.00877@freebsd.freebsd.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]

--

Running FreeBSD 3.3
FreebSD box is behind winproxy

My ftp settings to get through the firewall is as follows

someipaddress : 3128

My  httpd settings to get through the winproxy is as follows

someipaddress : 3128

I have attached a copy of the makefile for /somewhre/ports/game/doom/makefile
to show you want changes I have made to it.


Looiking forward to your feedback.

dannyh
dannyh@idx.com.au
[-- Attachment #2 --]
# New ports collection makefile for:    games
# Version required:	1.8
# Date created:         Mon Dec 14 21:03:01 MET 1998
# Whom:                 jmz
#
# $FreeBSD: ports/games/doom/Makefile,v 1.17 1999/08/25 06:03:16 obrien Exp $
#

DISTNAME=	doomsrc
PKGNAME=	doom-1.8
CATEGORIES=	games


# Bypassing the firewall

FTP_PROXY=      192.168.1.194:3128
HTTP_PROXY=     192.168.1.194:3128
FTP_PASSWORD=   dannyh@idx.com.au


MASTER_SITES?=	ftp://ftp.idsoftware.com/idstuff/source/ \
		ftp://ftp.stomped.com/pub/idmirror/idstuff/source/ \
		ftp://ftp.cdrom.com/pub/idgames/idstuff/source/

MAINTAINER=	jmz@FreeBSD.org

NO_CDROM=	requested by IDsoftware

MASTER_SITES2=	ftp://sunsite.unc.edu/pub/Linux/games/doom/ \
		ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/games/doom/ \
		ftp://ftp.funet.fi/pub/mirrors/sunsite.unc.edu/pub/Linux/games/doom/
DISTFILES2=	doom1v18.wad.gz

ONLY_FOR_ARCHS=	i386

USE_XLIB=	yes
USE_ZIP=	yes
NO_WRKSUBDIR=	yes
USE_GMAKE=	yes

.if !defined(__REAL_FETCH__)
do-fetch:
	@${MAKE} ${.MAKEFLAGS} do-fetch __REAL_FETCH__=YES
	@${MAKE} ${.MAKEFLAGS} do-fetch __REAL_FETCH__=YES \
	DISTFILES="${DISTFILES2}" MASTER_SITES="${MASTER_SITES2}"
.endif
post-extract:
	@cd ${WRKDIR} && tar xzf linuxdoom-1.10.src.tgz && tar xzf sndserv.tgz

do-build:
	@cd ${WRKDIR}/linuxdoom-1.10 && ${GMAKE}
	@cd ${WRKDIR}/sndserv && ${GMAKE}

do-install:
	@${MKDIR} ${PREFIX}/libexec/doom ${PREFIX}/share/doom
	@${INSTALL_PROGRAM} ${WRKDIR}/linuxdoom-1.10/linux/linuxxdoom ${PREFIX}/libexec/doom/xdoom
	@${INSTALL_PROGRAM} ${WRKDIR}/sndserv/linux/sndserver ${PREFIX}/libexec/doom/sndserver
	@(${ECHO} "#!/bin/sh"; ${ECHO} "cd ${PREFIX}/libexec/doom"; \
	  ${ECHO} 'export PATH=.:$$PATH';${ECHO} "export DOOMWADDIR=${PREFIX}/share/doom"; ${ECHO} "./xdoom $$*") > ${PREFIX}/bin/doom
	@${CHMOD} ugo+x ${PREFIX}/bin/doom
	@${GZCAT} ${DISTDIR}/${DISTFILES2} > ${PREFIX}/share/doom/doom1.wad

.include <bsd.port.mk>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00022621284600.00877>