2018-04-25 03:39:01 -04:00
|
|
|
COMMENT= COBOL compiler, formerly known as OpenCOBOL
|
|
|
|
|
2020-12-27 11:54:11 -05:00
|
|
|
DISTNAME = gnucobol-3.1.2
|
2021-01-11 15:08:37 -05:00
|
|
|
REVISION = 0
|
2018-04-25 03:39:01 -04:00
|
|
|
|
2020-12-15 13:43:42 -05:00
|
|
|
SHARED_LIBS += cob 5.0 # 5.0
|
2018-04-25 03:39:01 -04:00
|
|
|
|
|
|
|
CATEGORIES = lang
|
|
|
|
|
2021-01-11 15:08:37 -05:00
|
|
|
HOMEPAGE = https://gnucobol.sourceforge.io/
|
2018-04-25 03:39:01 -04:00
|
|
|
|
|
|
|
# compiler: GPLv3+
|
|
|
|
# run-time library: LGPLv3+
|
2019-07-12 16:46:54 -04:00
|
|
|
PERMIT_PACKAGE = Yes
|
2018-04-25 03:39:01 -04:00
|
|
|
|
2020-12-27 11:54:11 -05:00
|
|
|
WANTLIB += c curses db gmp iconv intl json-c lzma m pthread xml2
|
|
|
|
WANTLIB += z
|
2018-04-25 03:39:01 -04:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_GNU:=gnucobol/}
|
|
|
|
|
2020-12-15 13:43:42 -05:00
|
|
|
# base makeinfo chokes on gnucobol texinfo files
|
|
|
|
BUILD_DEPENDS = print/texinfo
|
|
|
|
|
2018-04-25 03:39:01 -04:00
|
|
|
LIB_DEPENDS = databases/db/v4 \
|
2019-05-20 18:15:00 -04:00
|
|
|
devel/gettext,-runtime \
|
2020-12-27 11:54:11 -05:00
|
|
|
devel/gmp \
|
|
|
|
devel/json-c \
|
|
|
|
textproc/libxml
|
2018-04-25 03:39:01 -04:00
|
|
|
|
|
|
|
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>
|