diff options
Diffstat (limited to 'sysutils/polkit')
-rw-r--r-- | sysutils/polkit/Makefile | 17 | ||||
-rw-r--r-- | sysutils/polkit/pkg-plist | 1 |
2 files changed, 6 insertions, 12 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index f59c3c1b3..52317997c 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -1,6 +1,6 @@ # Created by: Koop Mast<kwm@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/trunk/sysutils/polkit/Makefile 18610 2013-06-30 16:33:05Z marcus $ +# $MCom$ PORTNAME= polkit PORTVERSION= 0.105 @@ -14,7 +14,6 @@ COMMENT= Framework for controlling access to system-wide components LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 RUN_DEPENDS= dbus-launch:${PORTSDIR}/devel/dbus -NO_STAGE= yes USE_GNOME= glib20 intlhack gnomehier introspection USES= gettext gmake pathfix pkgconfig GNU_CONFIGURE= yes @@ -51,15 +50,11 @@ post-patch: ${WRKSRC}/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in post-install: - ${MKDIR} ${PREFIX}/etc/dbus-1/system.d/ - if [ ! -f ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ]; then \ - ${INSTALL_DATA} ${WRKSRC}/data/org.freedesktop.PolicyKit1.conf \ - ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ; \ - fi + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/polkit-1/rules.d/ ${INSTALL_DATA} ${WRKSRC}/data/org.freedesktop.PolicyKit1.conf \ - ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist -.if !defined(PACKAGE_BUILDING) - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif + ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so* + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/polkit-1/extensions/lib*.so .include <bsd.port.mk> diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index 1c9aa117a..65f8b0486 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -96,7 +96,6 @@ share/polkit-1/actions/org.freedesktop.policykit.policy @dirrmtry var/lib/polkit-1/localauthority/20-org.d @dirrmtry var/lib/polkit-1/localauthority/10-vendor.d @dirrmtry var/lib/polkit-1/localauthority -@dirrmtry var/lib/polkit-1/localauthority @dirrmtry var/lib/polkit-1 @dirrmtry var/lib @cwd |