- update open-cobol to 1.0

- update HOMEPAGE
- some details about the licenses
- add db4 support
- tweak DESCR
This commit is contained in:
jasper 2008-10-24 16:36:56 +00:00
parent 2342cf4f65
commit 762163806d
5 changed files with 26 additions and 33 deletions

View File

@ -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 COMMENT= open source COBOL compiler
DISTNAME= open-cobol-0.32 DISTNAME= open-cobol-1.0
SHARED_LIBS += cob 2.0 # .1.0 SHARED_LIBS += cob 3.0 # .2.0
CATEGORIES= lang 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_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
@ -16,7 +17,7 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/} 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 gmp.>=6::devel/gmp
MODULES= devel/gettext MODULES= devel/gettext
@ -28,6 +29,6 @@ AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE=gnu autoconf CONFIGURE_STYLE=gnu autoconf
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="-I${LOCALBASE}/include" \ CFLAGS="-I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include" CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4"
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (open-cobol-0.32.tar.gz) = n/w7deypiOQCBrPjELumNQ== MD5 (open-cobol-1.0.tar.gz) = lH4NnE7n+o8HfqS8oviU5Q==
RMD160 (open-cobol-0.32.tar.gz) = kg78j2P1s/kgSTQQjxaBJWnZZ1w= RMD160 (open-cobol-1.0.tar.gz) = KMZmiF5Grq7Q8StCWx8RpRJdtJA=
SHA1 (open-cobol-0.32.tar.gz) = nTDQEHsJjEY4qnhkPYM7mylGVl4= SHA1 (open-cobol-1.0.tar.gz) = TAkwp06SAUMXsvI3qu3JCswrct8=
SHA256 (open-cobol-0.32.tar.gz) = 7eVa0zpdh3bJlKZot3cW8P3bojARJjoHBz//8MDDj8k= SHA256 (open-cobol-1.0.tar.gz) = FaNuSCOwmTiyXpR9zQ+tG3sbopeFkbsiChjCvtMtrwY=
SIZE (open-cobol-0.32.tar.gz) = 768635 SIZE (open-cobol-1.0.tar.gz) = 934641

View File

@ -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.

View File

@ -1,2 +1,6 @@
OpenCOBOL is an open-source COBOL compiler, which translates COBOL OpenCOBOL is an open-source COBOL compiler. OpenCOBOL implements a
programs to C code and compiles it using GCC. 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.

View File

@ -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%% %%SHARED%%
bin/cob-config bin/cob-config
bin/cobc @bin bin/cobc
bin/cobcrun @bin bin/cobcrun
include/libcob/ include/libcob/
include/libcob.h include/libcob.h
include/libcob/byteswap.h include/libcob/byteswap.h
include/libcob/call.h include/libcob/call.h
include/libcob/codegen.h
include/libcob/common.h include/libcob/common.h
include/libcob/exception.def include/libcob/exception.def
include/libcob/fileio.h include/libcob/fileio.h
include/libcob/intrinsic.h
include/libcob/move.h include/libcob/move.h
include/libcob/numeric.h include/libcob/numeric.h
include/libcob/screenio.h include/libcob/screenio.h
include/libcob/strings.h include/libcob/strings.h
include/libcob/system.def
include/libcob/termio.h include/libcob/termio.h
@info info/open-cobol.info @info info/open-cobol.info
lib/libcob.a lib/libcob.a
@ -21,10 +24,10 @@ lib/libcob.la
share/locale/ja/LC_MESSAGES/open-cobol.mo share/locale/ja/LC_MESSAGES/open-cobol.mo
share/open-cobol/ share/open-cobol/
share/open-cobol/config/ share/open-cobol/config/
share/open-cobol/config/bs2000.conf
share/open-cobol/config/cobol2002.conf share/open-cobol/config/cobol2002.conf
share/open-cobol/config/cobol85.conf share/open-cobol/config/cobol85.conf
share/open-cobol/config/default.conf share/open-cobol/config/default.conf
share/open-cobol/config/ibm.conf share/open-cobol/config/ibm.conf
share/open-cobol/config/mf.conf share/open-cobol/config/mf.conf
share/open-cobol/config/mvs.conf share/open-cobol/config/mvs.conf
share/open-cobol/config/v023.conf