Ignore:
Timestamp:
Dec 7, 2011, 1:53:36 AM (7 years ago)
Author:
ryandesign@…
Message:

pkgconfig: use a single directory for all documentation, not two

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/pkgconfig/Portfile

    r83929 r87801  
    66name                pkgconfig
    77version             0.26
     8revision            1
    89categories          devel
    910maintainers         ryandesign
     
    2829depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2
    2930
    30 configure.args      --with-pc-path=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig
     31set docdir          ${prefix}/share/doc/${name}
     32
     33configure.args      --with-pc-path=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig \
     34                    --docdir=${docdir}
    3135
    3236configure.env       PKG_CONFIG=false \
     
    3842
    3943post-destroot {
    40     set docdir ${destroot}${prefix}/share/doc/${name}
    41     xinstall -d ${docdir}
    4244    xinstall -m 644 -W ${worksrcpath} \
    4345        AUTHORS \
     
    4547        NEWS \
    4648        README \
    47         ${docdir}
     49        ${destroot}${docdir}
    4850}
    4951
Note: See TracChangeset for help on using the changeset viewer.