aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2010-06-17 18:26:55 +0800
committerolgeni <olgeni@FreeBSD.org>2010-06-17 18:26:55 +0800
commite9a158a003fcafb76d7e708b0eac9641e074baaf (patch)
tree2e4fdd5050c434310e193b70d4d41b5b70ba9dd1 /lang
parent472cc46b7acd50b6f307cdb663a4a12896a58e9b (diff)
downloadfreebsd-ports-gnome-e9a158a003fcafb76d7e708b0eac9641e074baaf.tar.gz
freebsd-ports-gnome-e9a158a003fcafb76d7e708b0eac9641e074baaf.tar.zst
freebsd-ports-gnome-e9a158a003fcafb76d7e708b0eac9641e074baaf.zip
Switch to USE_ANT and MAKE_ARGS.
Diffstat (limited to 'lang')
-rw-r--r--lang/clojure-contrib/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/clojure-contrib/Makefile b/lang/clojure-contrib/Makefile
index f23d69881502..9f7441649b08 100644
--- a/lang/clojure-contrib/Makefile
+++ b/lang/clojure-contrib/Makefile
@@ -14,15 +14,14 @@ 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
+BUILD_DEPENDS= ${LOCALBASE}/bin/clojure:${PORTSDIR}/lang/clojure
USE_ZIP= yes
+USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
-do-build:
- @cd ${WRKSRC} && ${SETENV} ant -Dclojure.jar=${JAVAJARDIR}/clojure.jar
+MAKE_ARGS+= -Dclojure.jar=${JAVAJARDIR}/clojure.jar
do-install:
@${INSTALL_DATA} ${WRKSRC}/clojure-contrib.jar ${JAVAJARDIR}/clojure-contrib.jar