summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/opensource-cobol/DESCR4
-rw-r--r--lang/opensource-cobol/Makefile40
-rw-r--r--lang/opensource-cobol/PLIST29
-rw-r--r--lang/opensource-cobol/distinfo5
4 files changed, 78 insertions, 0 deletions
diff --git a/lang/opensource-cobol/DESCR b/lang/opensource-cobol/DESCR
new file mode 100644
index 00000000000..1b341daee7f
--- /dev/null
+++ b/lang/opensource-cobol/DESCR
@@ -0,0 +1,4 @@
+opensource COBOL is based on OpenCOBOL compiler and has some
+extensions used in Japan. It translate COBOL programs to C code
+and compiles it using GCC.
+This package tracks opensource COBOL UTF-8 version.
diff --git a/lang/opensource-cobol/Makefile b/lang/opensource-cobol/Makefile
new file mode 100644
index 00000000000..d5cca1c23a3
--- /dev/null
+++ b/lang/opensource-cobol/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2013/05/26 01:31:53 ryoon Exp $
+
+DISTNAME= opensource-cobol-1.3J-utf8
+PKGNAME= ${DISTNAME:S/-utf8//}
+CATEGORIES= lang
+MASTER_SITES= -http://www.osscons.jp/osscobol/files/?action=cabinet_action_main_download&block_id=412&room_id=21&cabinet_id=11&file_id=154&upload_id=304
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://www.osscons.jp/osscobol/
+COMMENT= UTF-8 version of opensource COBOL, OpenCOBOL with Japanese extensions
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+BDB_ACCEPTED= db4
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+
+TEST_TARGET= check
+
+#BUILDLINK_TRANSFORM+= l:db:db4
+
+# XXX This SUBST will work for NetBSD. Be more intelligent.
+SUBST_CLASSES+= bdb
+SUBST_MESSAGE.bdb= Fixing runrime error.
+SUBST_STAGE.bdb= pre-configure
+SUBST_FILES.bdb= configure
+SUBST_SED.bdb= -e 's,db-4.4,db4,g'
+SUBST_SED.bdb+= -e 's,ncurses,curses,g'
+
+INFO_FILES= yes
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bdb.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/opensource-cobol/PLIST b/lang/opensource-cobol/PLIST
new file mode 100644
index 00000000000..10cc8b579a1
--- /dev/null
+++ b/lang/opensource-cobol/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2013/05/26 01:31:53 ryoon Exp $
+bin/cob-config
+bin/cobc
+bin/cobcrun
+include/libcob.h
+include/libcob/byteswap.h
+include/libcob/call.h
+include/libcob/codegen.h
+include/libcob/common.h
+include/libcob/exception.def
+include/libcob/fileio.h
+include/libcob/intrinsic.h
+include/libcob/move.h
+include/libcob/numeric.h
+include/libcob/screenio.h
+include/libcob/strings.h
+include/libcob/system.def
+include/libcob/termio.h
+info/open-cobol.info
+lib/libcob.la
+share/locale/ja/LC_MESSAGES/${PKGNAME}.mo
+share/${PKGNAME}/config/bs2000.conf
+share/${PKGNAME}/config/cobol2002.conf
+share/${PKGNAME}/config/cobol85.conf
+share/${PKGNAME}/config/default.conf
+share/${PKGNAME}/config/ibm.conf
+share/${PKGNAME}/config/mf.conf
+share/${PKGNAME}/config/mvs.conf
+share/${PKGNAME}/copy/screenio.cpy
diff --git a/lang/opensource-cobol/distinfo b/lang/opensource-cobol/distinfo
new file mode 100644
index 00000000000..fa457bf345c
--- /dev/null
+++ b/lang/opensource-cobol/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/05/26 01:31:53 ryoon Exp $
+
+SHA1 (opensource-cobol-1.3J-utf8.tar.gz) = 9d79411d55681f52b7d5f6e8a825ff9eb323149e
+RMD160 (opensource-cobol-1.3J-utf8.tar.gz) = 169acfebbd0040067349a4c1d85235b3c1e99302
+Size (opensource-cobol-1.3J-utf8.tar.gz) = 1119551 bytes