Page MenuHomeFreeBSD

D11405.id30208.diff
No OneTemporary

D11405.id30208.diff

Index: devel/leiningen/Makefile
===================================================================
--- devel/leiningen/Makefile
+++ devel/leiningen/Makefile
@@ -2,6 +2,7 @@
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
@@ -13,6 +14,7 @@
COMMENT= Automate Clojure projects
LICENSE= EPL
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= technomancy
@@ -30,9 +32,14 @@
%%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/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

Mime Type
text/plain
Expires
Sun, Aug 23, 9:53 AM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37131494
Default Alt Text
D11405.id30208.diff (1 KB)

Event Timeline