diff options
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/open-cobol-devel/Makefile | 33 | ||||
-rw-r--r-- | lang/open-cobol-devel/distinfo | 1 | ||||
-rw-r--r-- | lang/open-cobol-devel/files/patch-fileio.h | 11 | ||||
-rw-r--r-- | lang/open-cobol-devel/pkg-comment | 1 | ||||
-rw-r--r-- | lang/open-cobol-devel/pkg-descr | 4 | ||||
-rw-r--r-- | lang/open-cobol-devel/pkg-plist | 26 | ||||
-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 |
13 files changed, 153 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index f0ddf011a64d..e35ccb602a16 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -118,6 +118,7 @@ SUBDIR += ocaml-mode.el SUBDIR += onyx SUBDIR += oo2c + SUBDIR += open-cobol SUBDIR += otcl SUBDIR += p2c SUBDIR += p5-Data-JavaScript diff --git a/lang/open-cobol-devel/Makefile b/lang/open-cobol-devel/Makefile new file mode 100644 index 000000000000..c2489b35bdaa --- /dev/null +++ b/lang/open-cobol-devel/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-devel/distinfo b/lang/open-cobol-devel/distinfo new file mode 100644 index 000000000000..8d27ba88212b --- /dev/null +++ b/lang/open-cobol-devel/distinfo @@ -0,0 +1 @@ +MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e diff --git a/lang/open-cobol-devel/files/patch-fileio.h b/lang/open-cobol-devel/files/patch-fileio.h new file mode 100644 index 000000000000..fd46730f0058 --- /dev/null +++ b/lang/open-cobol-devel/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-devel/pkg-comment b/lang/open-cobol-devel/pkg-comment new file mode 100644 index 000000000000..2e108a1ed7aa --- /dev/null +++ b/lang/open-cobol-devel/pkg-comment @@ -0,0 +1 @@ +An open-source COBOL compiler diff --git a/lang/open-cobol-devel/pkg-descr b/lang/open-cobol-devel/pkg-descr new file mode 100644 index 000000000000..b2a60776171f --- /dev/null +++ b/lang/open-cobol-devel/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-devel/pkg-plist b/lang/open-cobol-devel/pkg-plist new file mode 100644 index 000000000000..3f853812cfe7 --- /dev/null +++ b/lang/open-cobol-devel/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 diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile new file mode 100644 index 000000000000..c2489b35bdaa --- /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 000000000000..8d27ba88212b --- /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 000000000000..fd46730f0058 --- /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 000000000000..2e108a1ed7aa --- /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 000000000000..b2a60776171f --- /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 000000000000..3f853812cfe7 --- /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 |