aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-06-13 00:39:54 +0800
committerolgeni <olgeni@FreeBSD.org>2010-06-13 00:39:54 +0800
commit8d6f0215d47f2efb2cd393a0aac2ae6ecac5ca20 (patch)
treecd435afe5bd3be7b11752c905beb29afc5e89712
parent8274654ab5ba5d694b1766b1052a418a119b565b (diff)
downloadfreebsd-ports-gnome-8d6f0215d47f2efb2cd393a0aac2ae6ecac5ca20.tar.gz
freebsd-ports-gnome-8d6f0215d47f2efb2cd393a0aac2ae6ecac5ca20.tar.zst
freebsd-ports-gnome-8d6f0215d47f2efb2cd393a0aac2ae6ecac5ca20.zip
Add clojure-contrib: extensions and enhancements to the standard
Clojure libraries.
-rw-r--r--lang/Makefile1
-rw-r--r--lang/clojure-contrib/Makefile30
-rw-r--r--lang/clojure-contrib/distinfo3
-rw-r--r--lang/clojure-contrib/pkg-descr5
-rw-r--r--lang/clojure-contrib/pkg-plist1
5 files changed, 40 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 05bd4b7ed0be..68b1c2776f39 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -31,6 +31,7 @@
SUBDIR += clips
SUBDIR += clisp
SUBDIR += clojure
+ SUBDIR += clojure-contrib
SUBDIR += clojure-mode.el
SUBDIR += cmucl
SUBDIR += cmucl-extra
diff --git a/lang/clojure-contrib/Makefile b/lang/clojure-contrib/Makefile
new file mode 100644
index 000000000000..f23d69881502
--- /dev/null
+++ b/lang/clojure-contrib/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: clojure-contrib
+# Date created: Jun 12 2010
+# Whom: olgeni
+#
+# $FreeBSD$
+#
+
+PORTNAME= clojure-contrib
+PORTVERSION= 1.1.0
+CATEGORIES= lang lisp java
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Extensions and enhancements to the Clojure libraries
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant \
+ ${LOCALBASE}/bin/clojure:${PORTSDIR}/lang/clojure
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+
+do-build:
+ @cd ${WRKSRC} && ${SETENV} ant -Dclojure.jar=${JAVAJARDIR}/clojure.jar
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/clojure-contrib.jar ${JAVAJARDIR}/clojure-contrib.jar
+
+.include <bsd.port.mk>
diff --git a/lang/clojure-contrib/distinfo b/lang/clojure-contrib/distinfo
new file mode 100644
index 000000000000..d05ee5f21209
--- /dev/null
+++ b/lang/clojure-contrib/distinfo
@@ -0,0 +1,3 @@
+MD5 (clojure-contrib-1.1.0.zip) = ffaa8d5ea72abd9547186ec38f37c198
+SHA256 (clojure-contrib-1.1.0.zip) = 0aab7c3f289f1de21b66330b9f148ae28655f05b245896b4d4c5902d1891773f
+SIZE (clojure-contrib-1.1.0.zip) = 3631433
diff --git a/lang/clojure-contrib/pkg-descr b/lang/clojure-contrib/pkg-descr
new file mode 100644
index 000000000000..d300811f807c
--- /dev/null
+++ b/lang/clojure-contrib/pkg-descr
@@ -0,0 +1,5 @@
+Extensions and enhancements to the Clojure libraries. Contributions
+are made here only under the Clojure Contributor Agreement, and may
+become part of the main Clojure distribution.
+
+WWW: http://code.google.com/p/clojure-contrib/
diff --git a/lang/clojure-contrib/pkg-plist b/lang/clojure-contrib/pkg-plist
new file mode 100644
index 000000000000..8e9739fcfe30
--- /dev/null
+++ b/lang/clojure-contrib/pkg-plist
@@ -0,0 +1 @@
+%%JAVAJARDIR%%/clojure-contrib.jar