Ignore:
Timestamp:
Oct 11, 2007, 12:11:00 PM (12 years ago)
Author:
nox@…
Message:

pstree (closes #12871):

  • Added universal support.
  • Changed docdir name to a versioned one.
  • Removed useless xinstall arguments.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/pstree/Portfile

    r26077 r29834  
    55name                    pstree
    66version                 2.31
     7revision        1
    78categories              sysutils
    89maintainers             mww@macports.org
     
    2526
    2627build.cmd       gcc
    27 build.args      pstree.c
     28build.args      pstree.c ${configure.cflags}
    2829build.target    -o pstree
    2930
    3031destroot        {
    31         xinstall -m 755 -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
    32         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    33         xinstall -m 644 ${worksrcpath}/README \
    34                 ${destroot}${prefix}/share/doc/${name}/README
     32        xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
     33
     34    set docdir ${prefix}/share/doc/${name}-${version}
     35        xinstall -d ${destroot}${docdir}
     36        xinstall -m 0644 ${worksrcpath}/README \
     37                ${destroot}${docdir}
     38}
     39
     40variant universal {
     41    build.args-append  ${configure.universal_cflags}
    3542}
    3643
     
    3845livecheck.url   ftp://ftp.thp.uni-duisburg.de/pub/source/
    3946livecheck.regex pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)
     47
Note: See TracChangeset for help on using the changeset viewer.