1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Try to clean up /var/lib [1]

While here update header and Optionsfy.

Reported by:	poudriere -t via bapt & miwi [1]
This commit is contained in:
Koop Mast 2013-05-10 14:39:50 +00:00
parent 3d889ee430
commit b560c0c050
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317815
2 changed files with 17 additions and 12 deletions

View File

@ -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:

View File

@ -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