Changeset 100865


Ignore:
Timestamp:
Dec 30, 2012, 11:47:56 AM (6 years ago)
Author:
hum@…
Message:

apache-solr3: link to the Google-hosted jquery instead of fetching one; see http://lists.macosforge.org/pipermail/macports-dev/2012-December/021340.html.

Location:
trunk/dports/java/apache-solr3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/apache-solr3/Portfile

    r100808 r100865  
    66name                apache-solr3
    77version             3.6.2
     8revision            1
    89categories          java textproc
    910maintainers         hum gmail.com:haya10.ito openmaintainer
     
    2324extract.suffix      .tgz
    2425
    25 # install jquery file.
    26 set jquery_file     jquery-1.8.3.min.js
    27 
    28 distfiles-append    ${jquery_file}:js
    29 
    30 master_sites        apache:lucene/solr/${version}/ \
    31                     http://code.jquery.com/:js
    32 checksums           ${distname}${extract.suffix} \
    33                     rmd160  2f6b734c88979c2079658a21cc9358e12f228254 \
    34                     sha256  537426dcbdd0dc82dd5bf16b48b6bcaf87cb4049c1245eea8dcb79eeaf3e7ac6 \
    35                     ${jquery_file} \
    36                     rmd160  e86b3151afcf6fab4da367cbce4ecd3f4cd756d0 \
    37                     sha256  ba6eda7945ab8d7e57b34cc5a3dd292fa2e4c60a5ced79236ecf1a9e0f0c2d32
    38 
    39 extract.only-delete ${jquery_file}
     26master_sites        apache:lucene/solr/${version}
     27checksums           rmd160  2f6b734c88979c2079658a21cc9358e12f228254 \
     28                    sha256  537426dcbdd0dc82dd5bf16b48b6bcaf87cb4049c1245eea8dcb79eeaf3e7ac6
    4029
    4130# set the destination paths.
     
    4837
    4938post-patch {
    50     # copy jquery file.
    51     copy ${distpath}/${jquery_file} ${worksrcpath}/example/solr/conf/velocity/
    5239    # expand relative pathes into abusolute ones.
    5340    reinplace "s|\"\\.\\./\\.\\./|\"${solr_destpath}/|g" \
  • trunk/dports/java/apache-solr3/files/patch-head.vm.diff

    r100808 r100865  
    66 
    77-<script type="text/javascript" src="#{url_for_solr}/admin/jquery-1.4.3.min.js"></script>
    8 +<script type="text/javascript" src="#{url_for_solr}/admin/file?file=/velocity/jquery-1.8.3.min.js&contentType=text/javascript"></script>
     8+<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    99   <link rel="stylesheet" type="text/css" href="#{url_for_solr}/admin/file?file=/velocity/main.css&contentType=text/css"/>
    1010   <link rel="stylesheet" href="#{url_for_solr}/admin/file?file=/velocity/jquery.autocomplete.css&contentType=text/css" type="text/css" />
Note: See TracChangeset for help on using the changeset viewer.