summaryrefslogtreecommitdiff
path: root/lang/abcl
diff options
context:
space:
mode:
authorasau <asau>2012-08-08 20:24:44 +0000
committerasau <asau>2012-08-08 20:24:44 +0000
commite7c77b6221199699ecddf70f8c6ca3f85ec87dc0 (patch)
tree6dd79f580e1e64c4be84f5df88a3fb068f8d89b3 /lang/abcl
parent0a913f8e11608f47ae20ae9b989169d0ba4ab871 (diff)
downloadpkgsrc-e7c77b6221199699ecddf70f8c6ca3f85ec87dc0.tar.gz
Import Armed Bear Common Lisp 1.0.1 as lang/abcl
Armed Bear Common Lisp (ABCL) is a full implementation of the Common Lisp language featuring both an interpreter and a compiler, running in the JVM. Originally started to be a scripting language for the J editor, it now supports JSR-223 (Java scripting API): it can be a scripting engine in any Java application. Additionally, it can be used to implement (parts of) the application using Java to Lisp integration APIs.
Diffstat (limited to 'lang/abcl')
-rw-r--r--lang/abcl/DESCR7
-rw-r--r--lang/abcl/Makefile29
-rw-r--r--lang/abcl/PLIST4
-rw-r--r--lang/abcl/distinfo6
-rw-r--r--lang/abcl/patches/patch-build.xml23
5 files changed, 69 insertions, 0 deletions
diff --git a/lang/abcl/DESCR b/lang/abcl/DESCR
new file mode 100644
index 00000000000..0ab2f35d9e1
--- /dev/null
+++ b/lang/abcl/DESCR
@@ -0,0 +1,7 @@
+Armed Bear Common Lisp (ABCL) is a full implementation of
+the Common Lisp language featuring both an interpreter and
+a compiler, running in the JVM. Originally started to be
+a scripting language for the J editor, it now supports JSR-223
+(Java scripting API): it can be a scripting engine in any Java
+application. Additionally, it can be used to implement (parts of)
+the application using Java to Lisp integration APIs.
diff --git a/lang/abcl/Makefile b/lang/abcl/Makefile
new file mode 100644
index 00000000000..b12a440bfaf
--- /dev/null
+++ b/lang/abcl/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/08/08 20:24:44 asau Exp $
+
+DISTNAME= abcl-src-1.0.1
+PKGNAME= $(DISTNAME:C/-src//)
+CATEGORIES= lang
+MASTER_SITES= http://common-lisp.net/project/armedbear/releases/$(PKGVERSION_NOREV)/
+
+MAINTAINER= asau@NetBSD.org
+HOMEPAGE= http://common-lisp.net/project/armedbear/
+COMMENT= Armed Bear Common Lisp
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_DEPENDS= apache-ant>=1.7.1:../../devel/apache-ant
+
+INSTALLATION_DIRS= bin lib/abcl
+
+do-build:
+ $(RUN)$(_ULIMIT_CMD) cd $(WRKSRC) && \
+ $(PKGSRC_SETENV) $(MAKE_ENV) \
+ ant -nouserlib -Dabcl.runtime.jar.path=$(PREFIX)/lib/abcl/abcl.jar
+
+do-install:
+ $(INSTALL_SCRIPT) $(WRKSRC)/abcl $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_DATA) $(WRKSRC)/dist/abcl.jar $(DESTDIR)$(PREFIX)/lib/abcl
+ $(INSTALL_DATA) $(WRKSRC)/dist/abcl-contrib.jar $(DESTDIR)$(PREFIX)/lib/abcl
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/abcl/PLIST b/lang/abcl/PLIST
new file mode 100644
index 00000000000..7103d0da402
--- /dev/null
+++ b/lang/abcl/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/08/08 20:24:44 asau Exp $
+bin/abcl
+lib/abcl/abcl-contrib.jar
+lib/abcl/abcl.jar
diff --git a/lang/abcl/distinfo b/lang/abcl/distinfo
new file mode 100644
index 00000000000..7ea666fe75a
--- /dev/null
+++ b/lang/abcl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/08/08 20:24:44 asau Exp $
+
+SHA1 (abcl-src-1.0.1.tar.gz) = 476a3d93f8be9e58cacae650230248edb44190e5
+RMD160 (abcl-src-1.0.1.tar.gz) = 6927789abdb2ceb77e41427c717ba637160bcac6
+Size (abcl-src-1.0.1.tar.gz) = 916430 bytes
+SHA1 (patch-build.xml) = f566bf5d4c2be6921e19c5400b4e453fb4dbee25
diff --git a/lang/abcl/patches/patch-build.xml b/lang/abcl/patches/patch-build.xml
new file mode 100644
index 00000000000..3dbe5b18eeb
--- /dev/null
+++ b/lang/abcl/patches/patch-build.xml
@@ -0,0 +1,23 @@
+$NetBSD: patch-build.xml,v 1.1.1.1 2012/08/08 20:24:44 asau Exp $
+
+--- build.xml.orig 2012-01-09 09:55:11.000000000 +0000
++++ build.xml
+@@ -43,6 +43,9 @@ For help on the automatic tests availabl
+ <property name="abcl.ext.dir"
+ value="${basedir}/ext"/>
+
++ <property name="abcl.runtime.jar.path"
++ value="${abcl.jar.path}"/>
++
+ <fail message="Please build using Ant 1.7.1 or higher.">
+ <condition>
+ <not>
+@@ -451,7 +454,7 @@ from ${abcl.home.dir}
+ <!-- Set from commandline or in 'build.properties' -->
+ <property name="additional.jars" value=""/>
+ <path id="abcl.runtime.classpath">
+- <pathelement location="${abcl.jar.path}"/>
++ <pathelement location="${abcl.runtime.jar.path}"/>
+ <pathelement path="${additional.jars}"/>
+ </path>
+ <!-- set via '-Djava.options=JAVA_OPTIONS' or in 'build.properties -->