pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/opencobol Initial import of opencobol-0.23.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf382fb6ccae
branches: trunk
changeset: 477296:cf382fb6ccae
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Jun 29 02:57:36 2004 +0000
description:
Initial import of opencobol-0.23.
OpenCOBOL is an open-source COBOL compiler, which translates COBOL
programs to C code and compiles it using GCC.
diffstat:
lang/opencobol/DESCR | 2 ++
lang/opencobol/Makefile | 34 ++++++++++++++++++++++++++++++++++
lang/opencobol/PLIST | 22 ++++++++++++++++++++++
lang/opencobol/distinfo | 7 +++++++
lang/opencobol/patches/patch-aa | 22 ++++++++++++++++++++++
lang/opencobol/patches/patch-ab | 12 ++++++++++++
lang/opencobol/patches/patch-ac | 38 ++++++++++++++++++++++++++++++++++++++
7 files changed, 137 insertions(+), 0 deletions(-)
diffs (165 lines):
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/DESCR Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,2 @@
+OpenCOBOL is an open-source COBOL compiler, which translates COBOL
+programs to C code and compiles it using GCC.
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/Makefile Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/29 02:57:36 xtraeme Exp $
+#
+
+DISTNAME= open-cobol-0.23
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-cobol/}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://open-cobol.sourceforge.net/
+COMMENT= Open-source COBOL compiler
+
+BUILD_USES_MSGFMT= yes
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_LIBTOOL= yes
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+
+INFO_FILES= open-cobol.info
+
+CONFIGURE_ARGS+= --with-readline
+CONFIGURE_ARGS+= --with-lfs
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EGDIR}/libconf.conf ${PKG_SYSCONFDIR}/libconf.conf
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/libtool/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bdb.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/PLIST Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/29 02:57:36 xtraeme Exp $
+bin/cob-config
+bin/cobc
+include/libcob.h
+include/libcob/call.h
+include/libcob/common.h
+include/libcob/exception.def
+include/libcob/fileio.h
+include/libcob/move.h
+include/libcob/numeric.h
+include/libcob/screenio.h
+include/libcob/strings.h
+include/libcob/termio.h
+lib/libcob.a
+lib/libcob.la
+lib/libcob.so
+lib/libcob.so.1
+lib/libcob.so.1.0
+share/examples/open-cobol/libcob.conf
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/open-cobol.mo
+@dirrm share/examples/open-cobol
+@dirrm include/libcob
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/distinfo Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/29 02:57:36 xtraeme Exp $
+
+SHA1 (open-cobol-0.23.tar.gz) = 52ce50e80ba62148fbbf622232745f528f33c61d
+Size (open-cobol-0.23.tar.gz) = 658911 bytes
+SHA1 (patch-aa) = 801c5c3ff8ff4dd437322bd1065d8b8c4b72ff31
+SHA1 (patch-ab) = 845d386051dd3f73dca44e5de2e4eb53e280090c
+SHA1 (patch-ac) = 26dc26a4610fe714ef0d46a3a348ef83ea29b705
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/patches/patch-aa Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/29 02:57:36 xtraeme Exp $
+
+--- libcob/fileio.c.orig Wed Jun 11 15:40:20 2003
++++ libcob/fileio.c Wed Aug 27 09:57:31 2003
+@@ -202,13 +202,10 @@
+ else
+ {
+ /* discard input until the next newline */
+- int c = getc (f->file);
+- while (c != '\r' && c != '\n' && c != EOF)
+- c = getc (f->file);
+- if (c == '\r')
+- c = getc (f->file);
+- if (c != '\n' && c != EOF)
+- ungetc (c, f->file);
++ char buff[BUFSIZ];
++ while (fgets (buff, BUFSIZ, f->file) !=NULL)
++ if (strchr (buff, '\n') != NULL)
++ break;
+ }
+
+ memcpy (f->record->data, buff, f->record->size);
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/patches/patch-ab Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/06/29 02:57:37 xtraeme Exp $
+
+--- libcob/screenio.c.orig Thu Apr 3 06:02:51 2003
++++ libcob/screenio.c Tue Apr 29 04:09:44 2003
+@@ -19,6 +19,7 @@
+
+ #include "config.h"
+
++#include <sys/types.h>
+ #include <string.h>
+ #if HAVE_CURSES_H
+ #include <curses.h>
diff -r 4a81885881c8 -r cf382fb6ccae lang/opencobol/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/patches/patch-ac Tue Jun 29 02:57:36 2004 +0000
@@ -0,0 +1,38 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/06/29 02:57:37 xtraeme Exp $
+
+--- Makefile.in.orig 2004-06-29 04:52:23.000000000 +0200
++++ Makefile.in 2004-06-29 04:54:22.000000000 +0200
+@@ -135,6 +135,7 @@
+ build_os = @build_os@
+ build_vendor = @build_vendor@
+ datadir = @datadir@
++examplesdir = @datadir@/examples/@PACKAGE@
+ exec_prefix = @exec_prefix@
+ host = @host@
+ host_alias = @host_alias@
+@@ -263,20 +264,20 @@
+ sysconfDATA_INSTALL = $(INSTALL_DATA)
+ install-sysconfDATA: $(sysconf_DATA)
+ @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++ $(mkinstalldirs) $(DESTDIR)$(examplesdir)
+ @list='$(sysconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \
+- $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \
++ echo " $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(examplesdir)/$$f"; \
++ $(sysconfDATA_INSTALL) $$d$$p $(DESTDIR)$(examplesdir)/$$f; \
+ done
+
+ uninstall-sysconfDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(sysconf_DATA)'; for p in $$list; do \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " rm -f $(DESTDIR)$(sysconfdir)/$$f"; \
+- rm -f $(DESTDIR)$(sysconfdir)/$$f; \
++ echo " rm -f $(DESTDIR)$(examplesdir)/$$f"; \
++ rm -f $(DESTDIR)$(examplesdir)/$$f; \
+ done
+ includeHEADERS_INSTALL = $(INSTALL_HEADER)
+ install-includeHEADERS: $(include_HEADERS)
Home |
Main Index |
Thread Index |
Old Index