Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147238149
D11405.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11405.id.diff
View Options
Index: head/devel/leiningen/Makefile
===================================================================
--- head/devel/leiningen/Makefile
+++ head/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: head/devel/leiningen/pkg-message
===================================================================
--- head/devel/leiningen/pkg-message
+++ head/devel/leiningen/pkg-message
@@ -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
Tue, Mar 10, 8:48 AM (19 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29484316
Default Alt Text
D11405.id.diff (1 KB)
Attached To
Mode
D11405: devel/leiningen: Debashify
Attached
Detach File
Event Timeline
Log In to Comment