add open-cobol 0.9.7

An open-source COBOL compiler
This commit is contained in:
Ying-Chieh Liao 2002-08-06 13:09:46 +00:00
parent 1352cda2c6
commit 828b2e2e85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64104
13 changed files with 153 additions and 0 deletions

View file

@ -118,6 +118,7 @@
SUBDIR += ocaml-mode.el
SUBDIR += onyx
SUBDIR += oo2c
SUBDIR += open-cobol
SUBDIR += otcl
SUBDIR += p2c
SUBDIR += p5-Data-JavaScript

View file

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

View file

@ -0,0 +1 @@
MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e

View file

@ -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 */

View file

@ -0,0 +1 @@
An open-source COBOL compiler

View file

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

View file

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

33
lang/open-cobol/Makefile Normal file
View file

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

1
lang/open-cobol/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e

View file

@ -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 */

View file

@ -0,0 +1 @@
An open-source COBOL compiler

View file

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

26
lang/open-cobol/pkg-plist Normal file
View file

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