openbsd-ports/lang/gnucobol/Makefile

37 lines
797 B
Makefile
Raw Normal View History

COMMENT= COBOL compiler, formerly known as OpenCOBOL
2020-12-27 11:54:11 -05:00
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
2020-12-27 11:54:11 -05:00
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 \
2020-12-27 11:54:11 -05:00
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>