Commit d352b0e6 authored by rpaulo's avatar rpaulo
Browse files

Add a port for Leiningen: Clojure project automation.

Reviewed by:	bdrewery
Approved by:	bdrewery
parent 74eb7684
......@@ -920,6 +920,7 @@
SUBDIR += lasi
SUBDIR += lcov
SUBDIR += leaktracer
SUBDIR += leiningen
SUBDIR += lemon
SUBDIR += lfcbase
SUBDIR += lfcxml
......
# $FreeBSD$
PORTNAME= leiningen
PORTVERSION= 2.3.4
CATEGORIES= devel lisp java
MASTER_SITES= GITHUB:source1 \
https://leiningen.s3.amazonaws.com/downloads/:source2
DISTFILES= leiningen-${PORTVERSION}.tar.gz:source1 \
leiningen-${PORTVERSION}-standalone.jar:source2
EXTRACT_ONLY= leiningen-${PORTVERSION}.tar.gz
MAINTAINER= rpaulo@FreeBSD.org
COMMENT= Automate Clojure projects
LICENSE= EPL
USE_GITHUB= yes
GH_ACCOUNT= technomancy
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= e0edbb0
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
PLIST_FILES= bin/lein \
%%JAVAJARDIR%%/leiningen.jar
post-patch:
${REINPLACE_CMD} -e "s|/bin/bash|${PREFIX}/bin/bash|" \
-e "s|LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|" \
${WRKSRC}/bin/lein-pkg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/lein-pkg ${STAGEDIR}${PREFIX}/bin/lein
${INSTALL_DATA} ${DISTDIR}/leiningen-${PORTVERSION}-standalone.jar ${STAGEDIR}${JAVAJARDIR}/leiningen.jar
.include <bsd.port.mk>
SHA256 (leiningen-2.3.4.tar.gz) = 33c397958d3afc0f9d2533b565414226eff99a127210edd5c49f6e673c2db5da
SIZE (leiningen-2.3.4.tar.gz) = 644563
SHA256 (leiningen-2.3.4-standalone.jar) = 73098db63cf3cf4e55d17841d2613c82cd530dc59881a4191e98fc4d6e4a0cdf
SIZE (leiningen-2.3.4-standalone.jar) = 13687218
Leiningen is for automating Clojure projects without setting your hair on
fire.
WWW: https://github.com/technomancy/leiningen
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment