# 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>
#
# $Id: Makefile,v 1.5 1998/10/15 11:16:33 jseger Exp $
#

DISTNAME=	auis-6.3
PKGNAME=	auis-6.3.1
CATEGORIES=	x11-toolkits
MASTER_SITES=	ftp://ftp.andrew.cmu.edu/pub/AUIS/dist-6.3/ \
		${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	libraries/andrew
DISTFILES=	auis1.tar.gz auis2.tar.gz auis3.tar.gz auis4.tar.gz \
		contrib.tar.gz doc.tar.gz

DIST_SUBDIR=	auis
WRKSRC=		${WRKDIR}/auis-6.3.1

BROKEN_ELF=	yes

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=.)
	@echo ""
	@echo "Now you should \"make install\".  Note that most of the"
	@echo "actual compilation is done there, because it requires"
	@echo "some stuff to be installed first."
	@echo ""

pre-install:
	@(cd ${WRKSRC};make World)

.include <bsd.port.mk>
