diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-08-06 13:09:46 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-08-06 13:09:46 +0000 |
commit | 37056dd368508be53e95bb9aa3f452eb84b2e1d6 (patch) | |
tree | 9721ce18c0b2411d668c2328e96cb009f0e645a2 /lang/open-cobol | |
parent | 213324daf1faacb6b84581ad2fb9a054147351b0 (diff) | |
download | FreeBSD-ports-37056dd368508be53e95bb9aa3f452eb84b2e1d6.zip FreeBSD-ports-37056dd368508be53e95bb9aa3f452eb84b2e1d6.tar.gz |
add open-cobol 0.9.7
An open-source COBOL compiler
Diffstat (limited to 'lang/open-cobol')
-rw-r--r-- | lang/open-cobol/Makefile | 33 | ||||
-rw-r--r-- | lang/open-cobol/distinfo | 1 | ||||
-rw-r--r-- | lang/open-cobol/files/patch-fileio.h | 11 | ||||
-rw-r--r-- | lang/open-cobol/pkg-comment | 1 | ||||
-rw-r--r-- | lang/open-cobol/pkg-descr | 4 | ||||
-rw-r--r-- | lang/open-cobol/pkg-plist | 26 |
6 files changed, 76 insertions, 0 deletions
diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile new file mode 100644 index 0000000..c2489b3 --- /dev/null +++ b/lang/open-cobol/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# Ports collection makefile for: open-cobol +# Date created: Aug 6, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= open-cobol +PORTVERSION= 0.9.7 +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext \ + iconv:${PORTSDIR}/converters/libiconv \ + gnugetopt:${PORTSDIR}/devel/libgnugetopt \ + db4:${PORTSDIR}/databases/db4 \ + gmp.6:${PORTSDIR}/math/libgmp4 + +USE_REINPLACE= yes +USE_BISON= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lintl" +CONFIGURE_ARGS= --with-readline +INSTALLS_SHLIB= yes + +post-patch: + @${REINPLACE_CMD} -e "s|-ldb|-ldb4|g" ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/lang/open-cobol/distinfo b/lang/open-cobol/distinfo new file mode 100644 index 0000000..8d27ba8 --- /dev/null +++ b/lang/open-cobol/distinfo @@ -0,0 +1 @@ +MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e diff --git a/lang/open-cobol/files/patch-fileio.h b/lang/open-cobol/files/patch-fileio.h new file mode 100644 index 0000000..fd46730 --- /dev/null +++ b/lang/open-cobol/files/patch-fileio.h @@ -0,0 +1,11 @@ +--- libcob/fileio.h.orig Tue Aug 6 15:19:11 2002 ++++ libcob/fileio.h Tue Aug 6 15:19:18 2002 +@@ -21,7 +21,7 @@ + #define COB_FILEIO_H + + #include <stdio.h> +-#include <db.h> ++#include <db4/db.h> + #include <libcob/common.h> + + #define COB_EQ 1 /* x == y */ diff --git a/lang/open-cobol/pkg-comment b/lang/open-cobol/pkg-comment new file mode 100644 index 0000000..2e108a1 --- /dev/null +++ b/lang/open-cobol/pkg-comment @@ -0,0 +1 @@ +An open-source COBOL compiler diff --git a/lang/open-cobol/pkg-descr b/lang/open-cobol/pkg-descr new file mode 100644 index 0000000..b2a6077 --- /dev/null +++ b/lang/open-cobol/pkg-descr @@ -0,0 +1,4 @@ +OpenCOBOL is an open-source COBOL compiler, which translates COBOL programs +o C code and compiles it using GCC. + +WWW: http://open-cobol.sourceforge.net/ diff --git a/lang/open-cobol/pkg-plist b/lang/open-cobol/pkg-plist new file mode 100644 index 0000000..3f85381 --- /dev/null +++ b/lang/open-cobol/pkg-plist @@ -0,0 +1,26 @@ +bin/cob-config +bin/cobc +bin/cobpp +etc/open-cobol/libcob.conf +@dirrm etc/open-cobol +include/libcob.h +include/libcob/call.h +include/libcob/cobconfig.h +include/libcob/common.h +include/libcob/fileio.h +include/libcob/move.h +include/libcob/numeric.h +include/libcob/screenio.h +include/libcob/strings.h +include/libcob/support.h +include/libcob/termio.h +@dirrm include/libcob +@unexec install-info --delete %D/info/open-cobol.info %D/info/dir +info/open-cobol.info +@exec install-info %D/info/open-cobol.info %D/info/dir +lib/libcob.a +lib/libcob.la +lib/libcob.so +lib/libcob.so.0 +share/aclocal/cob.m4 +share/locale/ja/LC_MESSAGES/open-cobol.mo |