37 lines
797 B
Makefile
37 lines
797 B
Makefile
COMMENT= COBOL compiler, formerly known as OpenCOBOL
|
|
|
|
DISTNAME = gnucobol-3.1.2
|
|
REVISION = 0
|
|
|
|
SHARED_LIBS += cob 5.0 # 5.0
|
|
|
|
CATEGORIES = lang
|
|
|
|
HOMEPAGE = https://gnucobol.sourceforge.io/
|
|
|
|
# compiler: GPLv3+
|
|
# run-time library: LGPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c curses db gmp iconv intl json-c lzma m pthread xml2
|
|
WANTLIB += z
|
|
|
|
MASTER_SITES = ${MASTER_SITE_GNU:=gnucobol/}
|
|
|
|
# base makeinfo chokes on gnucobol texinfo files
|
|
BUILD_DEPENDS = print/texinfo
|
|
|
|
LIB_DEPENDS = databases/db/v4 \
|
|
devel/gettext,-runtime \
|
|
devel/gmp \
|
|
devel/json-c \
|
|
textproc/libxml
|
|
|
|
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>
|