summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2011-10-11 12:43:50 +0000
committerryoon <ryoon@pkgsrc.org>2011-10-11 12:43:50 +0000
commitf4aca752392f45e9be455c0d55b4766440f522e9 (patch)
treef239932260702da75e261cf0f7b2db2f48113a36 /lang
parent23a705561111791531de49e68ea51206a6e55d10 (diff)
downloadpkgsrc-f4aca752392f45e9be455c0d55b4766440f522e9.tar.gz
Import algol68g-2.3.1 as lang/algol68g from wip/algol68g
The development of Algol played an important role in establishing computer science as an academic discipline. The Algol 68 Genie project preserves Algol 68 out of educational as well as scientific-historical interest, by making available Algol 68 Genie; a recent, well-featured implementation written from scratch. Algol 68 Genie is a practically full implementation of the language defined by the Revised Report. The implementation is a hybrid compiler-interpreter; units with considerable interpreter-overhead can optionally be compiled. Thanks for your work, Olaf Seibert.
Diffstat (limited to 'lang')
-rw-r--r--lang/algol68g/DESCR9
-rw-r--r--lang/algol68g/Makefile22
-rw-r--r--lang/algol68g/PLIST5
-rw-r--r--lang/algol68g/distinfo5
-rw-r--r--lang/algol68g/options.mk23
5 files changed, 64 insertions, 0 deletions
diff --git a/lang/algol68g/DESCR b/lang/algol68g/DESCR
new file mode 100644
index 00000000000..5ec0515556c
--- /dev/null
+++ b/lang/algol68g/DESCR
@@ -0,0 +1,9 @@
+The development of Algol played an important role in establishing
+computer science as an academic discipline. The Algol 68 Genie
+project preserves Algol 68 out of educational as well as
+scientific-historical interest, by making available Algol 68 Genie;
+a recent, well-featured implementation written from scratch. Algol
+68 Genie is a practically full implementation of the language
+defined by the Revised Report. The implementation is a hybrid
+compiler-interpreter; units with considerable interpreter-overhead
+can optionally be compiled.
diff --git a/lang/algol68g/Makefile b/lang/algol68g/Makefile
new file mode 100644
index 00000000000..167fdacabb9
--- /dev/null
+++ b/lang/algol68g/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/11 12:43:50 ryoon Exp $
+#
+
+DISTNAME= algol68g-2.3.1
+CATEGORIES= lang
+MASTER_SITES= http://jmvdveer.home.xs4all.nl/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= olafs@cs.ru.nl
+HOMEPAGE= http://jmvdveer.home.xs4all.nl/algol.html
+COMMENT= Algol 68genie compiler
+LICENSE= gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+
+.include "options.mk"
+
+.include "../../math/gsl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/algol68g/PLIST b/lang/algol68g/PLIST
new file mode 100644
index 00000000000..dd7f3a026b9
--- /dev/null
+++ b/lang/algol68g/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/11 12:43:50 ryoon Exp $
+bin/a68g
+include/algol68g/a68g-config.h
+include/algol68g/a68g.h
+man/man1/a68g.1
diff --git a/lang/algol68g/distinfo b/lang/algol68g/distinfo
new file mode 100644
index 00000000000..ffa4c7141fa
--- /dev/null
+++ b/lang/algol68g/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/11 12:43:50 ryoon Exp $
+
+SHA1 (algol68g-2.3.1.tgz) = df775d65894740293c3972368b40c38d307d9036
+RMD160 (algol68g-2.3.1.tgz) = 551421e265bffb2fe7d8898ae405d1f00d5021a2
+Size (algol68g-2.3.1.tgz) = 503957 bytes
diff --git a/lang/algol68g/options.mk b/lang/algol68g/options.mk
new file mode 100644
index 00000000000..f79724798af
--- /dev/null
+++ b/lang/algol68g/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.1.1.1 2011/10/11 12:43:50 ryoon Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.a68g
+PKG_SUPPORTED_OPTIONS= plotutils pgsql
+PKG_SUGGESTED_OPTIONS= plotutils pgsql
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mplotutils)
+. include "../../graphics/plotutils/buildlink3.mk"
+CONFIGURE_ARGS+= --with-plotutils
+.else
+CONFIGURE_ARGS+= --without-plotutils
+.endif
+
+# It seems that when including PostgreSQL support it doesn't actually
+# need to have it installed at build time, just at run time.
+# So maybe this DEPENDS is undesirable.
+.if !empty(PKG_OPTIONS:Mpgsql)
+CONFIGURE_ARGS+= --with-pgsql
+.else
+CONFIGURE_ARGS+= --without-pgsql
+.endif