freebsd-ports/lang/clojure/Makefile
Martin Wilke 7f8a324a2c - Update to 1.0.0
PR:		134373
Submitted by:	Peter Schuller <peter.schuller@infidyne.com> (maintainer)
2009-05-10 18:31:47 +00:00

42 lines
996 B
Makefile

# ex:ts=8
# Ports collection makefile for: clojure
# Date created: Oct 21. 2007
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= clojure
PORTVERSION= 1.0.0
PORTEPOCH= 2
CATEGORIES= lang lisp java
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= peter.schuller@infidyne.com
COMMENT= A dynamic programming language for the JVM
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_WRKSUBDIR= yes
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-${PORTVERSION}.jar ${JAVAJARDIR}/clojure.jar
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/src/clj/clojure/main.clj ${DATADIR}
.include <bsd.port.post.mk>