Ticket #1015: docbook-xsl.diff

File docbook-xsl.diff, 1.2 KB (added by blb@…, 21 years ago)

Patch to Portfile

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name            docbook-xsl
    6 version         1.61.0 
    7 revision        1
     6version                 1.62.4 
    87categories      textproc
    98description     the docbook xsl stylesheets
    109platforms       darwin
    1110maintainers     michaelm@opendarwin.org
    12 master_sites    http://easynews.dl.sourceforge.net/sourceforge/docbook/
    13 checksums       md5 a9b7e4258a9d2dc9e5f81102ee63f5cb
    14 configure       {}
     11master_sites    sourceforge:docbook
     12homepage                http://docbook.sf.net/
     13checksums               md5 4f33db39db7fa95b50143ad609d734a0
     14use_configure   no
    1515build           {}
    1616
    17 set dirs_to_install     "common fo html htmlhelp javahelp lib manpages template xhtml"
    18 destroot        { file mkdir ${destroot}/${prefix}/share/xsl/${name}/${version}
     17set dirs_to_install     "common fo extensions html htmlhelp javahelp lib manpages params template xhtml"
     18set instdir                     "share/xsl/${name}"
     19
     20destroot        {
     21                file mkdir ${destroot}/${prefix}/${instdir}
    1922                  system "cd ${worksrcpath} && \
    20                         tar -cf - VERSION ${dirs_to_install} | \
    21                         tar -xf - -C ${destroot}/${prefix}/share/xsl/${name}/${version}"
     23                        tar -cf - README VERSION ${dirs_to_install} | \
     24                        tar -xf - -C ${destroot}/${prefix}/${instdir}"
     25                system "chown -R `id -u`:`id -g` ${destroot}/${prefix}/${instdir}"
    2226                }