mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
add open-cobol 0.9.7
An open-source COBOL compiler
This commit is contained in:
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
|
@ -118,6 +118,7 @@
|
||||||
SUBDIR += ocaml-mode.el
|
SUBDIR += ocaml-mode.el
|
||||||
SUBDIR += onyx
|
SUBDIR += onyx
|
||||||
SUBDIR += oo2c
|
SUBDIR += oo2c
|
||||||
|
SUBDIR += open-cobol
|
||||||
SUBDIR += otcl
|
SUBDIR += otcl
|
||||||
SUBDIR += p2c
|
SUBDIR += p2c
|
||||||
SUBDIR += p5-Data-JavaScript
|
SUBDIR += p5-Data-JavaScript
|
||||||
|
|
33
lang/open-cobol-devel/Makefile
Normal file
33
lang/open-cobol-devel/Makefile
Normal 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-devel/distinfo
Normal file
1
lang/open-cobol-devel/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e
|
11
lang/open-cobol-devel/files/patch-fileio.h
Normal file
11
lang/open-cobol-devel/files/patch-fileio.h
Normal 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 */
|
1
lang/open-cobol-devel/pkg-comment
Normal file
1
lang/open-cobol-devel/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
An open-source COBOL compiler
|
4
lang/open-cobol-devel/pkg-descr
Normal file
4
lang/open-cobol-devel/pkg-descr
Normal 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-devel/pkg-plist
Normal file
26
lang/open-cobol-devel/pkg-plist
Normal 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
33
lang/open-cobol/Makefile
Normal 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
1
lang/open-cobol/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (open-cobol-0.9.7.tar.gz) = 399a9cf4f6cf8226ba6b8e424df56e2e
|
11
lang/open-cobol/files/patch-fileio.h
Normal file
11
lang/open-cobol/files/patch-fileio.h
Normal 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 */
|
1
lang/open-cobol/pkg-comment
Normal file
1
lang/open-cobol/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
An open-source COBOL compiler
|
4
lang/open-cobol/pkg-descr
Normal file
4
lang/open-cobol/pkg-descr
Normal 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
26
lang/open-cobol/pkg-plist
Normal 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
|
Loading…
Add table
Reference in a new issue