# New ports collection makefile for:	GNU Fortran
# Version required:     0.5.19.1
# Space required:       >= 10MB
# Date created:         Wed Mar 22 18:51:05 MET 1995
# Whom:			nils@guru.ims.uni-stuttgart.de
#
# $Id: Makefile,v 1.20 1998/08/28 19:55:40 hoek Exp $
#

DISTNAME=       g77-0.5.19.1
CATEGORIES=	lang math
MASTER_SITES=   ${MASTER_SITE_GNU}

MAINTAINER=	ports@FreeBSD.ORG

BROKEN=		build

MAN1=		g77.1
MANCOMPRESSED=	maybe

SRCDIST=	${DESTDIR}/usr/src
GCCSRC=		${SRCDIST}/contrib/gcc
CCSRC=		${SRCDIST}/gnu/usr.bin/cc

.if !exists(${GCCSRC}) || !exists(${CCSRC})
BROKEN=		"Need access to the FreeBSD source tree"
.endif
SCRIPTS_ENV+=	GCCSRC="${GCCSRC}" CCSRC="${CCSRC}"
MAKE_ENV+=	GCCSRC="${GCCSRC}" WRKSRC="${WRKSRC}"

.include <bsd.port.mk>
