blob: 26f1b63f455856ce0854c44eeb5a9f472b9fee5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# ex:ts=8
# Ports collection makefile for: clojure
# Date created: Oct 21. 2007
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= clojure
PORTVERSION= 1.1.0
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= lang lisp java
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= peter.schuller@infidyne.com
COMMENT= A dynamic programming language for the JVM
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
SUB_FILES= clojure-bin
OPTIONS= JLINE "Enable jline support for the REPL" on
.include <bsd.port.pre.mk>
.ifdef(WITH_JLINE)
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 ${PREFIX}/bin/clojure
${INSTALL_DATA} ${WRKSRC}/clojure.jar ${JAVAJARDIR}/clojure.jar
.include <bsd.port.post.mk>
|