summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/polkit/Makefile6
-rw-r--r--sysutils/polkit/pkg-plist10
2 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 50ccc3e44..572a2c079 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
RUN_DEPENDS= dbus-launch:${PORTSDIR}/devel/dbus
USE_GNOME= glib20 intlhack gnomehier introspection
-USES= gettext gmake pathfix pkgconfig
+USES= gettext gmake libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-gtk-doc \
@@ -38,10 +38,10 @@ BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
USE_GNOME+= libxslt:build
-MAN1= pkaction.1 pkcheck.1 pkexec.1 pkttyagent.1
-MAN8= pklocalauthority.8 polkit.8 polkitd.8
+PLIST_SUB+= MANPAGES=""
.else
CONFIGURE_ARGS+=--disable-man-pages
+PLIST_SUB+= MANPAGES="@comment "
.endif
post-patch:
diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist
index 65f8b0486..504cfd545 100644
--- a/sysutils/polkit/pkg-plist
+++ b/sysutils/polkit/pkg-plist
@@ -49,14 +49,17 @@ lib/libpolkit-agent-1.a
lib/libpolkit-agent-1.la
lib/libpolkit-agent-1.so
lib/libpolkit-agent-1.so.0
+lib/libpolkit-agent-1.so.0.0.0
lib/libpolkit-backend-1.a
lib/libpolkit-backend-1.la
lib/libpolkit-backend-1.so
lib/libpolkit-backend-1.so.0
+lib/libpolkit-backend-1.so.0.0.0
lib/libpolkit-gobject-1.a
lib/libpolkit-gobject-1.la
lib/libpolkit-gobject-1.so
lib/libpolkit-gobject-1.so.0
+lib/libpolkit-gobject-1.so.0.0.0
lib/polkit-1/extensions/libnullbackend.a
lib/polkit-1/extensions/libnullbackend.la
lib/polkit-1/extensions/libnullbackend.so
@@ -65,6 +68,13 @@ libdata/pkgconfig/polkit-backend-1.pc
libdata/pkgconfig/polkit-gobject-1.pc
libexec/polkit-agent-helper-1
libexec/polkitd
+%%MANPAGES%%man/man1/pkaction.1.gz
+%%MANPAGES%%man/man1/pkcheck.1.gz
+%%MANPAGES%%man/man1/pkexec.1.gz
+%%MANPAGES%%man/man1/pkttyagent.1.gz
+%%MANPAGES%%man/man8/pklocalauthority.8.gz
+%%MANPAGES%%man/man8/polkit.8.gz
+%%MANPAGES%%man/man8/polkitd.8.gz
share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
share/gir-1.0/Polkit-1.0.gir
share/gir-1.0/PolkitAgent-1.0.gir