[101790] trunk/dports/java/apache-solr4/Portfile
hum at macports.org
hum at macports.org
Sat Jan 19 05:27:59 PST 2013
Revision: 101790
https://trac.macports.org/changeset/101790
Author: hum at macports.org
Date: 2013-01-19 05:27:58 -0800 (Sat, 19 Jan 2013)
Log Message:
-----------
apache-solr4: do not fetch and install a jquery file, which is included in solr.war.
Modified Paths:
--------------
trunk/dports/java/apache-solr4/Portfile
Modified: trunk/dports/java/apache-solr4/Portfile
===================================================================
--- trunk/dports/java/apache-solr4/Portfile 2013-01-19 13:17:23 UTC (rev 101789)
+++ trunk/dports/java/apache-solr4/Portfile 2013-01-19 13:27:58 UTC (rev 101790)
@@ -5,6 +5,7 @@
name apache-solr4
version 4.0.0
+revision 1
categories java textproc
maintainers hum openmaintainer
@@ -22,22 +23,10 @@
distname apache-solr-${version}
extract.suffix .tgz
-# install jquery file.
-set jquery_file jquery-1.7.2.min.js
-
-distfiles-append ${jquery_file}:js
-
-master_sites apache:lucene/solr/${version}/ \
- http://code.jquery.com/:js
-checksums ${distname}${extract.suffix} \
- rmd160 a0cada9dd2c0930ec80bfda7970eff0d223b6b74 \
+master_sites apache:lucene/solr/${version}/
+checksums rmd160 a0cada9dd2c0930ec80bfda7970eff0d223b6b74 \
sha256 4b7ac4fdc1f1610f2d13e8dddf310e9d61620c00c463ba24e0f385a4c5c6f3ec \
- ${jquery_file} \
- rmd160 225961b3a1283b366b41e1c20a00708c01cdc1b1 \
- sha256 47b68dce8cb6805ad5b3ea4d27af92a241f4e29a5c12a274c852e4346a0500b4
-extract.only-delete ${jquery_file}
-
# set the destination paths.
set java_basepath ${prefix}/share/java
set solr_destpath ${java_basepath}/${distname}
@@ -45,8 +34,6 @@
set solr_home ${solr_path}/solr
post-patch {
- # copy jquery file.
- copy ${distpath}/${jquery_file} ${worksrcpath}/example/solr/collection1/conf/velocity/
# expand relative pathes into abusolute ones.
reinplace "s|\"\\.\\./\\.\\./\\.\\./|\"${solr_destpath}/|g" \
${worksrcpath}/example/solr/collection1/conf/solrconfig.xml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130119/dd400f26/attachment.html>
More information about the macports-changes
mailing list