From bc505a3b504a310497efb1659b24fa0d341dec94 Mon Sep 17 00:00:00 2001 From: kwm Date: Tue, 18 Dec 2012 13:01:54 +0000 Subject: Trim header, turn invisible WITHOUT_MANPAGES option into propper option. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17176 df743ca5-7f9a-e211-a948-0013205c9059 --- sysutils/polkit/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index d1e101885..0b7c8d9c6 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -1,10 +1,6 @@ -# New ports collection makefile for: polkit -# Date Created: 30 Juli 2009 -# Whom: Koop Mast -# +# Created by: Koop Mast # $FreeBSD$ -# $MCom: ports/sysutils/polkit/Makefile,v 1.21 2012/09/01 23:02:13 mezz Exp $ -# +# $MCom: ports/sysutils/polkit/Makefile,v 1.22 2012/12/03 22:30:23 kwm Exp $ PORTNAME= polkit PORTVERSION= 0.105 @@ -16,7 +12,7 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Framework for controlling access to system-wide components BUILD_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection \ dbus-launch:${PORTSDIR}/devel/dbus @@ -37,15 +33,19 @@ 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 + +.include + +.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 MAN1= pkaction.1 pkcheck.1 pkexec.1 pkttyagent.1 MAN8= pklocalauthority.8 polkit.8 polkitd.8 +.else +CONFIGURE_ARGS+=--disable-man-pages .endif post-patch: -- cgit v1.2.3