[97154] trunk/dports/security/policykit/Portfile

jmr at macports.org jmr at macports.org
Tue Aug 28 06:28:21 PDT 2012


Revision: 97154
          https://trac.macports.org/changeset/97154
Author:   jmr at macports.org
Date:     2012-08-28 06:28:17 -0700 (Tue, 28 Aug 2012)
Log Message:
-----------
policykit: set INTLTOOL_PERL (#34731), use add_users

Modified Paths:
--------------
    trunk/dports/security/policykit/Portfile

Modified: trunk/dports/security/policykit/Portfile
===================================================================
--- trunk/dports/security/policykit/Portfile	2012-08-28 12:58:49 UTC (rev 97153)
+++ trunk/dports/security/policykit/Portfile	2012-08-28 13:28:17 UTC (rev 97154)
@@ -45,22 +45,21 @@
                 --enable-man-pages \
                 --disable-gtk-doc
 
+# The perl executable should be the one explicitly required by intltool
+configure.env-append  INTLTOOL_PERL=${prefix}/bin/perl5.12
+
 depends_build   port:pkgconfig \
                 port:intltool \
                 port:gnome-doc-utils
 
-depends_lib     port:eggdbus \
-                port:p5.12-xml-parser
+depends_lib     port:eggdbus
 
 variant docs description {Build API docs using gtk-doc} {
         configure.args-delete --disable-gtk-doc
         depends_build-append  port:gtk-doc
 }
 
-pre-destroot {
-        addgroup  polkituser
-        adduser   polkituser gid=[existsgroup polkituser] realname=Policy\ Kit
-}
+add_users       polkituser group=polkituser realname=Policy\ Kit
 
 livecheck.type  regex
 livecheck.url   ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120828/a0d114e9/attachment.html>


More information about the macports-changes mailing list