1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/lang/clojure/Makefile
Guido Falsi ddfee5c9dd - Update to 1.6.0
Submitted by:	rpaulo (via email)
Approved by:	Jens Jahnke <jan0sch@gmx.net> (maintainer, via email)
2014-04-21 20:21:57 +00:00

43 lines
946 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= clojure
PORTVERSION= 1.6.0
PORTEPOCH= 2
CATEGORIES= lang lisp java
MASTER_SITES= http://repo1.maven.org/maven2/org/clojure/clojure/${PORTVERSION}/
EXTRACT_SUFX= .jar
EXTRACT_ONLY= # empty
MAINTAINER= jan0sch@gmx.net
COMMENT= Dynamic programming language for the JVM
LICENSE= EPL
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
SUB_FILES= clojure-bin
OPTIONS_DEFINE= JLINE
OPTIONS_DEFAULT= JLINE
JLINE_DESC= jline support for the REPL
PLIST_FILES= bin/clojure \
%%JAVAJARDIR%%/clojure.jar
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJLINE}
RUN_DEPENDS+= jline>=0.9.91:${PORTSDIR}/devel/jline
CLOJURE_JLINE_RUNNER=jline.ConsoleRunner
.endif
SUB_LIST+= CLOJURE_JLINE_RUNNER=${CLOJURE_JLINE_RUNNER}
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/clojure-bin ${STAGEDIR}${PREFIX}/bin/clojure
@${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/clojure.jar
.include <bsd.port.mk>