[87801] trunk/dports/devel/pkgconfig/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 6 17:53:36 PST 2011


Revision: 87801
          http://trac.macports.org/changeset/87801
Author:   ryandesign at macports.org
Date:     2011-12-06 17:53:36 -0800 (Tue, 06 Dec 2011)
Log Message:
-----------
pkgconfig: use a single directory for all documentation, not two

Modified Paths:
--------------
    trunk/dports/devel/pkgconfig/Portfile

Modified: trunk/dports/devel/pkgconfig/Portfile
===================================================================
--- trunk/dports/devel/pkgconfig/Portfile	2011-12-07 01:26:21 UTC (rev 87800)
+++ trunk/dports/devel/pkgconfig/Portfile	2011-12-07 01:53:36 UTC (rev 87801)
@@ -5,6 +5,7 @@
 
 name                pkgconfig
 version             0.26
+revision            1
 categories          devel
 maintainers         ryandesign
 license             GPL-2+
@@ -27,8 +28,11 @@
 
 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2
 
-configure.args      --with-pc-path=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig
+set docdir          ${prefix}/share/doc/${name}
 
+configure.args      --with-pc-path=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig \
+                    --docdir=${docdir}
+
 configure.env       PKG_CONFIG=false \
                     GLIB_CFLAGS="-I${prefix}/include/glib-2.0 -I${prefix}/lib/glib-2.0/include -I${prefix}/include" \
                     GLIB_LIBS="-L${prefix}/lib -lglib-2.0 -lintl"
@@ -37,14 +41,12 @@
 test.target         check
 
 post-destroot {
-    set docdir ${destroot}${prefix}/share/doc/${name}
-    xinstall -d ${docdir}
     xinstall -m 644 -W ${worksrcpath} \
         AUTHORS \
         COPYING \
         NEWS \
         README \
-        ${docdir}
+        ${destroot}${docdir}
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111206/69a058a8/attachment.html>


More information about the macports-changes mailing list