diff --git a/lang/gnu-cobol/Makefile b/lang/gnu-cobol/Makefile index 8add4f447b8a..5a075500ac73 100644 --- a/lang/gnu-cobol/Makefile +++ b/lang/gnu-cobol/Makefile @@ -1,40 +1,42 @@ # Created by: ijliao -PORTNAME= gnu-cobol +PORTNAME= gnucobol PORTVERSION= 3.1.2 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GNU/gnucobol -DISTNAME= gnucobol-${PORTVERSION} MAINTAINER= wen@FreeBSD.org -COMMENT= Open-source COBOL compiler +COMMENT= Free/libre COBOL compiler LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi -LIB_DEPENDS= libgmp.so:math/gmp +LIB_DEPENDS= libgmp.so:math/gmp \ + libcjson.so:devel/libcjson \ + libxml2.so:textproc/libxml2 USES= bdb gmake libtool ncurses tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes TEST_TARGET= check TEST_ENV= TESTSUITEFLAGS=--jobs=${MAKE_JOBS_NUMBER} INFO= gnucobol DATADIR= ${PREFIX}/share/gnucobol INSTALL_TARGET= install-strip SSP_CFLAGS?= -fstack-protector # XXX -strong fails to build CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE=nls post-patch: @${REINPLACE_CMD} -e 's|-lcurses|-lncurses|g ; \ s|-R$$found_dir|-Wl,-rpath,$$found_dir|g' ${WRKSRC}/configure .include diff --git a/lang/gnu-cobol/pkg-descr b/lang/gnu-cobol/pkg-descr index 8599ce3931f2..1264415df755 100644 --- a/lang/gnu-cobol/pkg-descr +++ b/lang/gnu-cobol/pkg-descr @@ -1,4 +1,4 @@ GNU COBOL, formerly known as Open-COBOL, is an open-source COBOL compiler, which translates COBOL programs to C code and compiles it using GCC. -WWW: https://savannah.gnu.org/projects/gnucobol +WWW: https://www.gnu.org/software/gnucobol/