diff options
author | kwm <kwm@FreeBSD.org> | 2013-05-10 22:39:50 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-05-10 22:39:50 +0800 |
commit | 9dbd2e45fae73e1f209de054b9f119a7a047835e (patch) | |
tree | 665dde235fa91dbcff509ada6b07b27c77abf74b /sysutils/policykit | |
parent | 16a524874e865355d0e421a25822660e75631e5e (diff) | |
download | freebsd-ports-gnome-9dbd2e45fae73e1f209de054b9f119a7a047835e.tar.gz freebsd-ports-gnome-9dbd2e45fae73e1f209de054b9f119a7a047835e.tar.zst freebsd-ports-gnome-9dbd2e45fae73e1f209de054b9f119a7a047835e.zip |
Try to clean up /var/lib [1]
While here update header and Optionsfy.
Reported by: poudriere -t via bapt & miwi [1]
Diffstat (limited to 'sysutils/policykit')
-rw-r--r-- | sysutils/policykit/Makefile | 26 | ||||
-rw-r--r-- | sysutils/policykit/pkg-plist | 3 |
2 files changed, 17 insertions, 12 deletions
diff --git a/sysutils/policykit/Makefile b/sysutils/policykit/Makefile index fe5ca3891d73..91c666547ce5 100644 --- a/sysutils/policykit/Makefile +++ b/sysutils/policykit/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: PolicyKit -# Date Created: 01 May 2006 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ # $MCom: ports/sysutils/policykit/Makefile,v 1.22 2008/08/21 21:53:00 mezz Exp $ -# PORTNAME= policykit PORTVERSION= 0.9 @@ -16,13 +12,14 @@ DISTNAME= PolicyKit-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Framework for controlling access to system-wide components -LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ - expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \ + expat:${PORTSDIR}/textproc/expat2 USERS= polkit GROUPS= polkit -USE_GNOME= gnomehack glib20 intlhack +USES= pathfix +USE_GNOME= glib20 intlhack USE_GMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -36,17 +33,22 @@ CONFIGURE_ENV= GTKDOC="false" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if defined(NO_INSTALL_MANPAGES) -CONFIGURE_ARGS+=--disable-man-pages -.else +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT=MANPAGES + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS= ${LOCALBASE}/share/sgml/docbook/4.1/dtd/catalog:${PORTSDIR}/textproc/docbook-410 \ - xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl +USE_GNOME+= libxslt:build MAN1= polkit-action.1 polkit-auth.1 polkit-config-file-validate.1 \ polkit-policy-file-validate.1 MAN5= PolicyKit.conf.5 MAN8= PolicyKit.8 +.else +CONFIGURE_ARGS+=--disable-man-pages .endif post-install: diff --git a/sysutils/policykit/pkg-plist b/sysutils/policykit/pkg-plist index 5df8087b64cc..e56b0a081618 100644 --- a/sysutils/policykit/pkg-plist +++ b/sysutils/policykit/pkg-plist @@ -69,3 +69,6 @@ share/dbus-1/system-services/org.freedesktop.PolicyKit.service @unexec rmdir /var/lib/PolicyKit-public 2>/dev/null || true @unexec rm -f /var/lib/misc/PolicyKit.reload 2>/dev/null || true @unexec rmdir /var/lib/misc 2>/dev/null || true +@cwd / +@dirrmtry var/lib +@cwd |