# ex:ts=8
# Ports collection makefile for:	open-cobol
# Date created:			Aug 6, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/lang/open-cobol/Makefile,v 1.8 2003/04/28 23:54:38 naddy Exp $
#

PORTNAME=	open-cobol
PORTVERSION=	0.20
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An open-source COBOL compiler

LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext \
		ltdl.1:${PORTSDIR}/devel/libtool \
		gmp.6:${PORTSDIR}/math/libgmp4

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS=	--with-readline
INSTALLS_SHLIB=	yes

.include <bsd.port.mk>
