Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Oct 2015 18:25:28 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398616 - head/devel/leiningen
Message-ID:  <201510041825.t94IPSSN055889@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Sun Oct  4 18:25:27 2015
New Revision: 398616
URL: https://svnweb.freebsd.org/changeset/ports/398616

Log:
  Update leiningen to 2.5.3 and install bash/zsh completions and the man page.
  
  PR:		203535
  Submitted by:	tobias.kortkamp@gmail.com

Modified:
  head/devel/leiningen/Makefile
  head/devel/leiningen/distinfo

Modified: head/devel/leiningen/Makefile
==============================================================================
--- head/devel/leiningen/Makefile	Sun Oct  4 18:01:53 2015	(r398615)
+++ head/devel/leiningen/Makefile	Sun Oct  4 18:25:27 2015	(r398616)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	leiningen
-PORTVERSION=	2.5.2
+PORTVERSION=	2.5.3
 CATEGORIES=	devel lisp java
 MASTER_SITES=	GH:source1 \
 		https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:source2
@@ -24,6 +24,9 @@ NO_BUILD=	yes
 RUN_DEPENDS+=	bash:${PORTSDIR}/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
 
 post-patch:
@@ -33,6 +36,11 @@ post-patch:
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/lein-pkg ${STAGEDIR}${PREFIX}/bin/lein
+	${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
+	${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
 
 .include <bsd.port.mk>

Modified: head/devel/leiningen/distinfo
==============================================================================
--- head/devel/leiningen/distinfo	Sun Oct  4 18:01:53 2015	(r398615)
+++ head/devel/leiningen/distinfo	Sun Oct  4 18:25:27 2015	(r398616)
@@ -1,4 +1,4 @@
-SHA256 (technomancy-leiningen-2.5.2_GH0.tar.gz) = 50cd21d718603bfa4b6da673696c60482271d310f67b98a794d0413a79121a9d
-SIZE (technomancy-leiningen-2.5.2_GH0.tar.gz) = 694758
-SHA256 (leiningen-2.5.2-standalone.zip) = 64c70202dc7989de1b9d8b8b9b99e87dbb7698338e24d25722777412e37e1b62
-SIZE (leiningen-2.5.2-standalone.zip) = 15757991
+SHA256 (technomancy-leiningen-2.5.3_GH0.tar.gz) = e44db1e021937a6aa68635960aefe581bf4a4090f4a0e159f6a14904d8f9e9ca
+SIZE (technomancy-leiningen-2.5.3_GH0.tar.gz) = 696873
+SHA256 (leiningen-2.5.3-standalone.zip) = 4b0c1606b6a4816b803f1fbd704aeefc9d6e314e9b9a482d0bae0ab0079023dd
+SIZE (leiningen-2.5.3-standalone.zip) = 15768731



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510041825.t94IPSSN055889>