Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= leiningen |
3 |
PORTNAME= leiningen |
4 |
PORTVERSION= 2.6.1 |
4 |
PORTVERSION= 2.7.1 |
5 |
CATEGORIES= devel lisp java |
5 |
CATEGORIES= devel lisp java |
6 |
MASTER_SITES= GH:source1 \ |
6 |
MASTER_SITES= GH:source1 \ |
7 |
https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:source2 |
7 |
https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:source2 |
Lines 17-28
Link Here
|
17 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= technomancy |
18 |
GH_ACCOUNT= technomancy |
19 |
|
19 |
|
|
|
20 |
USES= shebangfix |
20 |
USE_JAVA= yes |
21 |
USE_JAVA= yes |
21 |
JAVA_VERSION= 1.6+ |
22 |
JAVA_VERSION= 1.6+ |
|
|
23 |
NO_ARCH= yes |
22 |
NO_BUILD= yes |
24 |
NO_BUILD= yes |
23 |
|
25 |
|
24 |
RUN_DEPENDS+= bash:shells/bash |
|
|
25 |
|
26 |
PLIST_FILES= bin/lein \ |
26 |
PLIST_FILES= bin/lein \ |
27 |
etc/bash_completion.d/_lein.bash \ |
27 |
etc/bash_completion.d/_lein.bash \ |
28 |
man/man1/lein.1.gz \ |
28 |
man/man1/lein.1.gz \ |
Lines 29-37
Link Here
|
29 |
share/zsh/site-functions/_lein \ |
29 |
share/zsh/site-functions/_lein \ |
30 |
%%JAVAJARDIR%%/leiningen.jar |
30 |
%%JAVAJARDIR%%/leiningen.jar |
31 |
|
31 |
|
|
|
32 |
SHEBANG_FILES= bin/lein-pkg |
33 |
|
32 |
post-patch: |
34 |
post-patch: |
33 |
${REINPLACE_CMD} -e "s|/bin/bash|${PREFIX}/bin/bash|" \ |
35 |
${REINPLACE_CMD} -e "s|LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|" \ |
34 |
-e "s|LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|" \ |
|
|
35 |
${WRKSRC}/bin/lein-pkg |
36 |
${WRKSRC}/bin/lein-pkg |
36 |
|
37 |
|
37 |
do-install: |
38 |
do-install: |