diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-12-18 21:01:54 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-12-18 21:01:54 +0800 |
commit | bc505a3b504a310497efb1659b24fa0d341dec94 (patch) | |
tree | 8c8ad4301505e5c774d25490a9f607df37307dd2 | |
parent | ad1b06bd6e28e3ee0760c5648b275f301af675cc (diff) | |
download | marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.tar marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.tar.gz marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.tar.bz2 marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.tar.lz marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.tar.xz marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.tar.zst marcuscom-ports-bc505a3b504a310497efb1659b24fa0d341dec94.zip |
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
-rw-r--r-- | sysutils/polkit/Makefile | 20 |
1 files 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<kwm@FreeBSD.org> -# +# Created by: Koop Mast<kwm@FreeBSD.org> # $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 <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 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: |