New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19967: Portfile-rb-xslt.patch

File Portfile-rb-xslt.patch, 1.3 KB (added by astricker@…, 3 years ago)

Patch to upgrade Portfile from 0.6.0 to 0.9.6

  • ruby/rb-xslt/Portfile

    old new  
    11# $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp@macports.org $ 
    22PortSystem              1.0 
    33PortGroup               ruby 1.0 
    4 revision                1 
    54 
    6 ruby.setup              {xslt ruby-xslt} 0.6.0 extconf.rb \ 
    7                                 {README AUTHORS COPYING tests} 
     5ruby.setup              ruby-xslt 0.9.6 setup.rb {} rubyforge:35058 
     6extract.suffix          .tgz 
     7name                    rb-xslt 
    88maintainers             nomaintainer 
    99description             A Ruby class for processing XSLT 
    1010long_description        ${description} 
    11 homepage                http://gregoire.lejeune.free.fr/ 
    12 master_sites    ${homepage} 
    13 distname                ${ruby.project}_${version} 
    14 worksrcdir              ${ruby.project} 
    15 checksums               md5 14c65fc57affe31ce5b5d22dc8500863 
     11homepage                http://greg.rubyfr.net/pub/packages/ruby-xslt/files/README.html 
    1612platforms               darwin 
    1713 
     14checksums               md5     1f0aa4908ed0fd8468201f8bc3d0ff6c \ 
     15                        sha1    454da39148dac9bf6e3f405c346a65b8219f83c7 \ 
     16                        rmd160  6c935f3767673e7afce992ebab54eded09e83f93 
     17 
    1818depends_lib-append      lib:libz:zlib \ 
    1919                                        lib:libxml2:libxml2 \ 
    2020                                        lib:libxslt:libxslt 
    2121 
    2222patch { 
    23         reinplace "s|'-g -Wall' \+|'-g -Wall ' \+|g" ${worksrcpath}/extconf.rb 
     23        reinplace "s|require \"xml/xslt_lib\"|require \"xslt_lib\"|g" ${worksrcpath}/lib/xml/xslt.rb 
    2424}