summaryrefslogblamecommitdiffstats
path: root/sysutils/devicekit-power/Makefile
blob: 51f15fd2640f3df66d6b64748225526e3d263366 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                      
                                                                                         


                               
                   
                        
                                                    






                                                                   















                                                   
                                                                                                  







                                                                                                    
# New ports collection makefile for:   DeviceKit-power
# Date Created:         30 December 2009
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/sysutils/devicekit-power/Makefile,v 1.6 2010/01/09 06:41:35 marcus Exp $
#

PORTNAME=   DeviceKit-power
DISTVERSION=    014
CATEGORIES= sysutils
MASTER_SITES=   http://hal.freedesktop.org/releases/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    D-Bus daemon for simplifying power management tasks

LIB_DEPENDS=    polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
            dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib

USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack intlhack ltverhack glib20
USE_AUTOTOOLS=  libtool:22
USE_LDCONFIG=   yes
USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc \
        --with-backend=freebsd \
        --localstatedir=/var
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        GTKDOC="false"

.if defined(NO_INSTALL_MANPAGES)
CONFIGURE_ARGS+=--disable-man-pages
.else
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=       devkit-power.1
MAN7=       DeviceKit-power.7
MAN8=       devkit-power-daemon.8
.endif

.include <bsd.port.mk>