[71334] trunk/dports/devel/libhsplasma/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 9 03:55:54 PDT 2010


Revision: 71334
          http://trac.macports.org/changeset/71334
Author:   ryandesign at macports.org
Date:     2010-09-09 03:55:53 -0700 (Thu, 09 Sep 2010)
Log Message:
-----------
libhsplasma: fix pkgconfig files to not contain path to destroot

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

Modified: trunk/dports/devel/libhsplasma/Portfile
===================================================================
--- trunk/dports/devel/libhsplasma/Portfile	2010-09-09 10:46:29 UTC (rev 71333)
+++ trunk/dports/devel/libhsplasma/Portfile	2010-09-09 10:55:53 UTC (rev 71334)
@@ -5,7 +5,7 @@
 
 name                        libhsplasma
 version                     0.0-585
-revision                    1
+revision                    2
 categories                  devel
 platforms                   darwin
 maintainers                 ryandesign
@@ -52,6 +52,10 @@
 destroot.target             install-dev
 destroot.destdir            PREFIX=${destroot}${prefix}
 
+post-destroot {
+    eval reinplace "s|${destroot}||g" [glob ${destroot}${prefix}/lib/pkgconfig/*.pc]
+}
+
 livecheck.type              regex
 livecheck.url               ${hg.url}
 livecheck.version           [lindex [split ${version} -] 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100909/f04d4f38/attachment.html>


More information about the macports-changes mailing list