diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile index 8e992e99cdb..44ec47b5d2a 100644 --- a/lang/open-cobol/Makefile +++ b/lang/open-cobol/Makefile @@ -1,14 +1,15 @@ -# $OpenBSD: Makefile,v 1.5 2007/09/16 00:27:06 merdely Exp $ +# $OpenBSD: Makefile,v 1.6 2008/10/24 16:36:56 jasper Exp $ COMMENT= open source COBOL compiler -DISTNAME= open-cobol-0.32 -SHARED_LIBS += cob 2.0 # .1.0 +DISTNAME= open-cobol-1.0 +SHARED_LIBS += cob 3.0 # .2.0 CATEGORIES= lang -HOMEPAGE= http://open-cobol.sourceforge.net/ +HOMEPAGE= http://www.opencobol.org/ -# gpl/lgpl +# compiler: GPL +# run-time library: LGPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes @@ -16,7 +17,7 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/} -LIB_DEPENDS= ltdl.>=4::devel/libtool \ +LIB_DEPENDS= db:db-4.*:databases/db/v4 \ gmp.>=6::devel/gmp MODULES= devel/gettext @@ -28,6 +29,6 @@ AUTOCONF_VERSION= 2.59 CONFIGURE_STYLE=gnu autoconf CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ CFLAGS="-I${LOCALBASE}/include" \ - CPPFLAGS="-I${LOCALBASE}/include" + CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4" .include diff --git a/lang/open-cobol/distinfo b/lang/open-cobol/distinfo index b242b6c8860..e342f8f32ce 100644 --- a/lang/open-cobol/distinfo +++ b/lang/open-cobol/distinfo @@ -1,5 +1,5 @@ -MD5 (open-cobol-0.32.tar.gz) = n/w7deypiOQCBrPjELumNQ== -RMD160 (open-cobol-0.32.tar.gz) = kg78j2P1s/kgSTQQjxaBJWnZZ1w= -SHA1 (open-cobol-0.32.tar.gz) = nTDQEHsJjEY4qnhkPYM7mylGVl4= -SHA256 (open-cobol-0.32.tar.gz) = 7eVa0zpdh3bJlKZot3cW8P3bojARJjoHBz//8MDDj8k= -SIZE (open-cobol-0.32.tar.gz) = 768635 +MD5 (open-cobol-1.0.tar.gz) = lH4NnE7n+o8HfqS8oviU5Q== +RMD160 (open-cobol-1.0.tar.gz) = KMZmiF5Grq7Q8StCWx8RpRJdtJA= +SHA1 (open-cobol-1.0.tar.gz) = TAkwp06SAUMXsvI3qu3JCswrct8= +SHA256 (open-cobol-1.0.tar.gz) = FaNuSCOwmTiyXpR9zQ+tG3sbopeFkbsiChjCvtMtrwY= +SIZE (open-cobol-1.0.tar.gz) = 934641 diff --git a/lang/open-cobol/patches/patch-configure_ac b/lang/open-cobol/patches/patch-configure_ac deleted file mode 100644 index e52840213f7..00000000000 --- a/lang/open-cobol/patches/patch-configure_ac +++ /dev/null @@ -1,15 +0,0 @@ -$OpenBSD: patch-configure_ac,v 1.1 2006/11/04 12:52:06 kili Exp $ - -From open-cobol-0.33 release candidate. - ---- configure.ac.orig Tue Feb 1 08:40:20 2005 -+++ configure.ac Sat Nov 4 12:06:17 2006 -@@ -107,7 +107,7 @@ AC_CHECK_FUNCS([dbopen], - - # Checks for gmp. - AC_CHECK_HEADERS([gmp.h], , AC_MSG_ERROR(gmp.h is required)) --AC_CHECK_LIB([gmp], [__gmp_rand], , AC_MSG_ERROR(GMP 3 or later is required)) -+AC_CHECK_LIB([gmp], [__gmp_randinit], , AC_MSG_ERROR(GMP 3 or later is required)) - LIBCOB_LIBS="$LIBCOB_LIBS -lgmp" - - # Checks for ltdl. diff --git a/lang/open-cobol/pkg/DESCR b/lang/open-cobol/pkg/DESCR index b98d867bd4b..3367ca9797a 100644 --- a/lang/open-cobol/pkg/DESCR +++ b/lang/open-cobol/pkg/DESCR @@ -1,2 +1,6 @@ -OpenCOBOL is an open-source COBOL compiler, which translates COBOL -programs to C code and compiles it using GCC. +OpenCOBOL is an open-source COBOL compiler. OpenCOBOL implements a +substantial part of the COBOL 85 and COBOL 2002 standards, as well as +many extensions of the existent COBOL compilers. + +OpenCOBOL translates COBOL into C and compiles the translated code using +the native C compiler. diff --git a/lang/open-cobol/pkg/PLIST b/lang/open-cobol/pkg/PLIST index 1f0778d21de..a2e2867c2cc 100644 --- a/lang/open-cobol/pkg/PLIST +++ b/lang/open-cobol/pkg/PLIST @@ -1,19 +1,22 @@ -@comment $OpenBSD: PLIST,v 1.2 2006/01/02 21:49:23 alek Exp $ +@comment $OpenBSD: PLIST,v 1.3 2008/10/24 16:36:56 jasper Exp $ %%SHARED%% bin/cob-config -bin/cobc -bin/cobcrun +@bin bin/cobc +@bin bin/cobcrun include/libcob/ include/libcob.h include/libcob/byteswap.h include/libcob/call.h +include/libcob/codegen.h include/libcob/common.h include/libcob/exception.def include/libcob/fileio.h +include/libcob/intrinsic.h include/libcob/move.h include/libcob/numeric.h include/libcob/screenio.h include/libcob/strings.h +include/libcob/system.def include/libcob/termio.h @info info/open-cobol.info lib/libcob.a @@ -21,10 +24,10 @@ lib/libcob.la share/locale/ja/LC_MESSAGES/open-cobol.mo share/open-cobol/ share/open-cobol/config/ +share/open-cobol/config/bs2000.conf share/open-cobol/config/cobol2002.conf share/open-cobol/config/cobol85.conf share/open-cobol/config/default.conf share/open-cobol/config/ibm.conf share/open-cobol/config/mf.conf share/open-cobol/config/mvs.conf -share/open-cobol/config/v023.conf