aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-02-01 22:44:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-02-01 22:44:31 +0800
commit9fdc898801d68809042e7e0f3ab188501ca1429d (patch)
treecd3a67abafde2008eb9a6177942bf2aca066c368
parente17513aca643b06b773f3571310b05c3057b8448 (diff)
downloadfreebsd-ports-gnome-9fdc898801d68809042e7e0f3ab188501ca1429d.tar.gz
freebsd-ports-gnome-9fdc898801d68809042e7e0f3ab188501ca1429d.tar.zst
freebsd-ports-gnome-9fdc898801d68809042e7e0f3ab188501ca1429d.zip
- Update to 2.7.1
- Add NO_ARCH - Cosmetic fixes - Pass maintainership to submitter PR: 212213 Submitted by: t@tobik.me (maintainer)
-rw-r--r--devel/leiningen/Makefile17
-rw-r--r--devel/leiningen/distinfo9
2 files changed, 14 insertions, 12 deletions
diff --git a/devel/leiningen/Makefile b/devel/leiningen/Makefile
index 44833870812c..f6f4779c3d45 100644
--- a/devel/leiningen/Makefile
+++ b/devel/leiningen/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= leiningen
-PORTVERSION= 2.6.1
+PORTVERSION= 2.7.1
CATEGORIES= devel lisp java
MASTER_SITES= GH:source1 \
https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:source2
@@ -9,7 +9,7 @@ DISTFILES= ${DISTNAME}.tar.gz:source1 \
leiningen-${PORTVERSION}-standalone.zip:source2
EXTRACT_ONLY= ${DISTNAME}.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= t@tobik.me
COMMENT= Automate Clojure projects
LICENSE= EPL
@@ -17,28 +17,29 @@ LICENSE= EPL
USE_GITHUB= yes
GH_ACCOUNT= technomancy
+USES= shebangfix
USE_JAVA= yes
JAVA_VERSION= 1.6+
+NO_ARCH= yes
NO_BUILD= yes
-RUN_DEPENDS+= bash:shells/bash
-
PLIST_FILES= bin/lein \
etc/bash_completion.d/_lein.bash \
man/man1/lein.1.gz \
share/zsh/site-functions/_lein \
%%JAVAJARDIR%%/leiningen.jar
+SHEBANG_FILES= bin/lein-pkg
+
post-patch:
- ${REINPLACE_CMD} -e "s|/bin/bash|${PREFIX}/bin/bash|" \
- -e "s|LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|" \
+ @${REINPLACE_CMD} -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
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/bash_completion.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/_lein.bash
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/zsh_completion.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_lein
${INSTALL_MAN} ${WRKSRC}/doc/lein.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
${INSTALL_DATA} ${DISTDIR}/leiningen-${PORTVERSION}-standalone.zip ${STAGEDIR}${JAVAJARDIR}/leiningen.jar
diff --git a/devel/leiningen/distinfo b/devel/leiningen/distinfo
index a699ba7a09e7..bbbaa3acf101 100644
--- a/devel/leiningen/distinfo
+++ b/devel/leiningen/distinfo
@@ -1,4 +1,5 @@
-SHA256 (technomancy-leiningen-2.6.1_GH0.tar.gz) = 9e6a6c7b6e032921a37d5be8fcdc2c0288d3698f759e22bdd29de4eb327ebeab
-SIZE (technomancy-leiningen-2.6.1_GH0.tar.gz) = 706289
-SHA256 (leiningen-2.6.1-standalone.zip) = d70078fba85d5f405d042a6d7bad3a1e5b4aafae565c2d581feb999e95ae6394
-SIZE (leiningen-2.6.1-standalone.zip) = 15343271
+TIMESTAMP = 1474549044
+SHA256 (technomancy-leiningen-2.7.1_GH0.tar.gz) = 953c95c2656c46320c88dc683202030fdd9554e8390a4b4aaaba6d019088df6f
+SIZE (technomancy-leiningen-2.7.1_GH0.tar.gz) = 717384
+SHA256 (leiningen-2.7.1-standalone.zip) = 2ddc7e89bbb45cf1ca3d666a10dce0d3f154b77ad201aa58f430e84e71587c47
+SIZE (leiningen-2.7.1-standalone.zip) = 15370238