Changeset 8694 for trunk/dports/textproc


Ignore:
Timestamp:
Oct 11, 2004, 9:31:19 PM (15 years ago)
Author:
michaelm
Message:

update docbook-xsl and move away from 'system' stuff, thanks to Bryan for the patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/docbook-xsl/Portfile

    r5844 r8694  
    1 # $Id: Portfile,v 1.12 2004/03/18 09:41:29 michaelm Exp $
     1# $Id: Portfile,v 1.13 2004/10/11 21:31:19 michaelm Exp $
    22
    33PortSystem 1.0
    44
    55name            docbook-xsl
    6 version         1.62.4 
    7 revision        1
     6version         1.66.0
    87categories      textproc
    98description     the docbook xsl stylesheets
     
    1211master_sites    sourceforge:docbook
    1312homepage        http://docbook.sf.net/
    14 checksums       md5 4f33db39db7fa95b50143ad609d734a0
     13checksums       md5 ca82185909e0b3e51c91070b36200027
    1514use_configure   no
    1615build           {}
    1716
    18 set dirs_to_install     "common fo extensions html htmlhelp javahelp lib manpages params template xhtml images"
     17set dirs_to_install     "common eclipse extensions fo html htmlhelp images \
     18                                        javahelp lib manpages params profiling template tools \
     19                                        xhtml"
    1920set instdir                     "share/xsl/${name}"
    2021
    2122destroot        {
    22                 file mkdir ${destroot}/${prefix}/${instdir}
    23                   system "cd ${worksrcpath} && \
    24                         tar -cf - README VERSION ${dirs_to_install} | \
    25                         tar -xf - -C ${destroot}/${prefix}/${instdir}"
    26                 system "chown -R `id -u`:`id -g` ${destroot}/${prefix}/${instdir}"
    27                 }
     23        xinstall -m 755 -d ${destroot}/${prefix}/${instdir} \
     24                ${destroot}/${prefix}/share/doc/${name} \
     25                ${destroot}/${prefix}/share/${name}
     26        xinstall -m 644 -W ${worksrcpath} BUGS ChangeLog README \
     27                RELEASE-NOTES.html RELEASE-NOTES.xml TODO VERSION WhatsNew \
     28                ${destroot}/${prefix}/share/doc/${name}
     29        file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
     30        file copy ${worksrcpath}/docsrc ${destroot}/${prefix}/share/${name}
     31        foreach dirname $dirs_to_install {
     32                file copy ${worksrcpath}/${dirname} ${destroot}/${prefix}/${instdir}
     33        }
     34}
     35
Note: See TracChangeset for help on using the changeset viewer.