Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163325766
D11405.id30210.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D11405.id30210.diff
View Options
Index: devel/leiningen/Makefile
===================================================================
--- devel/leiningen/Makefile
+++ devel/leiningen/Makefile
@@ -2,17 +2,17 @@
PORTNAME= leiningen
PORTVERSION= 2.7.1
+PORTREVISION= 1
CATEGORIES= devel lisp java
-MASTER_SITES= GH:source1 \
- https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:source2
-DISTFILES= ${DISTNAME}.tar.gz:source1 \
- leiningen-${PORTVERSION}-standalone.zip:source2
+MASTER_SITES= https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:standalone
+DISTFILES= leiningen-${PORTVERSION}-standalone.zip:standalone
EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= tobik@FreeBSD.org
COMMENT= Automate Clojure projects
LICENSE= EPL
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= technomancy
@@ -27,12 +27,17 @@
etc/bash_completion.d/_lein.bash \
man/man1/lein.1.gz \
share/zsh/site-functions/_lein \
- %%JAVAJARDIR%%/leiningen.jar
+ ${JAVAJARDIR}/leiningen.jar
SHEBANG_FILES= bin/lein-pkg
+bash_CMD= /bin/sh
post-patch:
- @${REINPLACE_CMD} -e "s|LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|" \
+ @${REINPLACE_CMD} -E -e 's|function (.*) {|\1() {|' \
+ -e 's|(local )-i |\1|' \
+ -e 's|^if \[\[ (.*) \]\];|if [ \1 ];|' \
+ -e 's|(BOOTCLASSPATH)\[@\]|\1|' \
+ -e 's|^LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|' \
${WRKSRC}/bin/lein-pkg
do-install:
Index: devel/leiningen/distinfo
===================================================================
--- devel/leiningen/distinfo
+++ devel/leiningen/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1474549044
-SHA256 (technomancy-leiningen-2.7.1_GH0.tar.gz) = 953c95c2656c46320c88dc683202030fdd9554e8390a4b4aaaba6d019088df6f
-SIZE (technomancy-leiningen-2.7.1_GH0.tar.gz) = 717384
+TIMESTAMP = 1498751405
SHA256 (leiningen-2.7.1-standalone.zip) = 2ddc7e89bbb45cf1ca3d666a10dce0d3f154b77ad201aa58f430e84e71587c47
SIZE (leiningen-2.7.1-standalone.zip) = 15370238
+SHA256 (technomancy-leiningen-2.7.1_GH0.tar.gz) = 953c95c2656c46320c88dc683202030fdd9554e8390a4b4aaaba6d019088df6f
+SIZE (technomancy-leiningen-2.7.1_GH0.tar.gz) = 717384
Index: devel/leiningen/pkg-message
===================================================================
--- devel/leiningen/pkg-message
+++ /dev/null
@@ -1,6 +0,0 @@
-
-If you want to use the ``lein exec'' command to run Clojure scripts,
-please add the following to ~/.lein/profiles.clj:
-
-{ :user
- { :plugins [[lein-exec "0.3.4"]]}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 3:35 AM (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35390247
Default Alt Text
D11405.id30210.diff (2 KB)
Attached To
Mode
D11405: devel/leiningen: Debashify
Attached
Detach File
Event Timeline
Log In to Comment