fcambus 0e8b67adc7 Import lang/gnucobol.
GnuCOBOL is a free COBOL compiler, formerly known as OpenCOBOL.

It implements a substantial part of the COBOL 85, COBOL 2002 and COBOL 2014
standards, as well as many extensions included in other COBOL compilers.

GnuCOBOL translates COBOL into C and compiles the translated code using the
native C compiler.

OK bcallah@
2018-04-25 07:39:01 +00:00

34 lines
735 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/04/25 07:39:01 fcambus Exp $
COMMENT= COBOL compiler, formerly known as OpenCOBOL
DISTNAME = gnucobol-2.2
SHARED_LIBS += cob 4.0 # 4.0
CATEGORIES = lang
HOMEPAGE = http://www.opencobol.org/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# compiler: GPLv3+
# run-time library: LGPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c curses db gmp iconv intl m
MASTER_SITES = ${MASTER_SITE_GNU:=gnucobol/}
LIB_DEPENDS = databases/db/v4 \
devel/gettext \
devel/gmp
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/db4"
.include <bsd.port.mk>