Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 1995 18:39:43 +0100 (MET)
From:      Andreas Klemm <andreas@knobel.gun.de>
To:        hackers@freebsd.org
Subject:   New Makefile for andrew (AUIS63) port
Message-ID:  <199512051739.SAA00565@knobel.gun.de>

next in thread | raw e-mail | index | archive | help
# New ports collection makefile for:	auis
# Version required:     6.3
# Date created:         Sat Nov 18 15:23:47 MET 1995
# Whom:                 Andreas Klemm <andreas@knobel.gun.de>
#
#

DISTNAME=	auis-6.3
PKGNAME=	auis-6.3
CATEGORIES+=	x11
MASTER_SITES+=ftp://ftp.andrew.cmu.edu/pub/AUIS/dist-6.3/
MASTER_SITES+=ftp://ftp.cs.umn.edu/packages/X11/contrib/libraries/andrew/
MASTER_SITES+=ftp://ftp.oleane.net/pub/.disks/.2/X11/contrib/libraries/andrew/
MASTER_SITES+=ftp://nic.switch.ch/mirror/X11/contrib/libraries/andrew/
MASTER_SITES+=ftp://von-neum.uni-muenster.de/pub/X11R5/contrib/libraries/andrew/
MASTER_SITES+=ftp://wrzx02.rz.uni-wuerzburg.de/pub/X11/contrib/libraries/andrew/
MASTER_SITES+=ftp://ftp.denet.dk/mirror2/X11/contrib/libraries/andrew/
MASTER_SITES+=ftp://ftp.luth.se/pub/X11/R6contrib/libraries/andrew/
MASTER_SITES+=ftp://ftp.sunet.se/pub/X11/AUIS/dist-6.3/
MASTER_SITES+=ftp://ftp.icm.edu.pl/pub4/X11/contrib/libraries/andrew/
MASTER_SITES+=ftp://theta.iis.u-tokyo.ac.jp/pub1/X/contrib/libraries/andrew/
MASTER_SITES+=ftp://ftp.iij.ad.jp/pub/X/contrib/libraries/andrew/
MASTER_SITES+=ftp://plaza.aarnet.edu.au/X11/contrib/libraries/andrew/

IS_INTERACTIVE=	no

DISTDIR=	${PORTSDIR}/distfiles/andrew
DISTFILES1=	auis1.tar.gz auis2.tar.gz auis3.tar.gz auis4.tar.gz
DISTFILES2=	contrib.tar.gz doc.tar.gz
DISTFILES=	${DISTFILES1} ${DISTFILES2}

do-fetch:
	@if [ ! -d ${DISTDIR} ]; then \
		mkdir -p ${DISTDIR}; \
	fi
	@cd ${DISTDIR}; \
	 for file in ${DISTFILES}; do \
		f=`basename $$file`;\
		if [ ! -f $$f ]; then \
			echo ">> $$f doesn't seem to exist on this system."; \
			for site in ${MASTER_SITES}; do \
			    ${ECHO_MSG} ">> Attempting to fetch from $${site}"; \
			    (${NCFTP} ${NCFTPFLAGS} $${site}$${file} || true); \
			    if [ -f $$file -o -f `/usr/bin/basename $$file` ]; then \
				    continue 2; \
			    fi \
			done; \
			echo ">> Couldn't fetch it - please try to retreive this";\
			echo ">> port manually into ${DISTDIR} and try again."; \
			exit 1; \
	    	fi; \
	   done

pre-configure:
	cp ${FILESDIR}/site.h ${WRKSRC}/config/site.h
	cp ${FILESDIR}/site.mcr ${WRKSRC}/config/site.mcr

do-build:
	@(cd ${WRKSRC};imake -I. -I./config -Timake.tmpl -s Makefile -DTOPDIR=.)
	@(cd ${WRKSRC};make World)

.include <bsd.port.mk>

-- 
andreas@knobel.gun.de       /\/\___  Wiechers & Partner Datentechnik GmbH
   Andreas Klemm        ___/\/\/       - Support Unix - aklemm@wup.de -
                             \/
       ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz
apsfilter - magic print filter 4lpd  >>> knobel is powered by FreeBSD <<<




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