From 828b2e2e855e7774d59497fa92db02e8265f2ee3 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Tue, 6 Aug 2002 13:09:46 +0000 Subject: add open-cobol 0.9.7 An open-source COBOL compiler --- lang/open-cobol/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lang/open-cobol/Makefile (limited to 'lang/open-cobol/Makefile') diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile new file mode 100644 index 000000000000..c2489b35bdaa --- /dev/null +++ b/lang/open-cobol/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# Ports collection makefile for: open-cobol +# Date created: Aug 6, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= open-cobol +PORTVERSION= 0.9.7 +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext \ + iconv:${PORTSDIR}/converters/libiconv \ + gnugetopt:${PORTSDIR}/devel/libgnugetopt \ + db4:${PORTSDIR}/databases/db4 \ + gmp.6:${PORTSDIR}/math/libgmp4 + +USE_REINPLACE= yes +USE_BISON= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl" +CONFIGURE_ARGS= --with-readline +INSTALLS_SHLIB= yes + +post-patch: + @${REINPLACE_CMD} -e "s|-ldb|-ldb4|g" ${WRKSRC}/configure + +.include -- cgit v1.2.3