freebsd-ports/sysutils/upower/Makefile

48 lines
1.5 KiB
Makefile
Raw Normal View History

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/sysutils/upower/Makefile,v 1.19 2010/10/05 08:30:15 kwm Exp $
PORTNAME= upower
2010-11-27 00:40:14 +01:00
PORTVERSION= 0.9.7
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://upower.freedesktop.org/releases/
MAINTAINER= gnome@FreeBSD.org
COMMENT= D-Bus daemon for simplifying power management tasks
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= polkit-gobject-1.0:${PORTSDIR}/sysutils/polkit \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection
2010-07-25 21:35:08 +02:00
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
2013-09-02 18:21:38 +02:00
USES= gettext gmake pkgconfig
USE_BZIP2= yes
USE_GNOME= gnomehack intlhack ltverhack glib20
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc \
--with-backend=freebsd \
--localstatedir=/var
CONFIGURE_ENV= GTKDOC="false"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(NO_INSTALL_MANPAGES)
CONFIGURE_ARGS+=--disable-man-pages
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \
${LOCALBASE}/share/xml/docbook/4.1.2:${PORTSDIR}/textproc/docbook-xml \
xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
MAN1= upower.1
MAN7= UPower.7
MAN8= upowerd.8
.endif
NO_STAGE= yes
.include <bsd.port.mk>