aboutsummaryrefslogtreecommitdiff
path: root/textproc/apache-solr
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-25 22:03:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-25 22:03:15 +0000
commit3e0a2d750860c7137d17284fa4e782bdd20cf06b (patch)
tree51a1e107205108606647ac9b8d35294bfa261f23 /textproc/apache-solr
parentbbde3b1a18aed5a0afadad1708e38628dac2362c (diff)
downloadports-3e0a2d750860c7137d17284fa4e782bdd20cf06b.tar.gz
ports-3e0a2d750860c7137d17284fa4e782bdd20cf06b.zip
Notes
Diffstat (limited to 'textproc/apache-solr')
-rw-r--r--textproc/apache-solr/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/textproc/apache-solr/Makefile b/textproc/apache-solr/Makefile
index fdc7a560d5fe..fa95cb618d88 100644
--- a/textproc/apache-solr/Makefile
+++ b/textproc/apache-solr/Makefile
@@ -16,6 +16,8 @@ LICENSE= APACHE20
CONFLICT= apache-solr-3.6.*
+USES= shebangfix
+SHEBANG_FILES= example/etc/create-solrtest.keystore.sh
JAVA_VERSION= 1.6+
NO_BUILD= yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
@@ -23,14 +25,9 @@ USE_JAVA= yes
PORTEXAMPLES= *
LATEST_LINK= apache-solr
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- cd ${WRKSRC}/dist && ${COPYTREE_SHARE} \* ${JAVAJARDIR}
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC}/example && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
-.endif
+ cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${STAGEDIR}${JAVAJARDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>