2018-12-12 13:34:31 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.58 2018/12/12 13:34:31 sthen Exp $
|
2011-05-24 07:47:52 +00:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS =${APM_ARCHS}
|
2011-05-23 19:04:57 +00:00
|
|
|
|
|
|
|
COMMENT = userland power management interface
|
|
|
|
|
2018-12-10 10:55:27 +00:00
|
|
|
DISTNAME = upower-0.99.9
|
2011-07-07 19:02:43 +00:00
|
|
|
EXTRACT_SUFX = .tar.xz
|
2011-05-23 19:04:57 +00:00
|
|
|
CATEGORIES = sysutils
|
2016-09-01 10:11:47 +00:00
|
|
|
SHARED_LIBS += upower-glib 2.1 # 3.1
|
2018-12-12 13:34:31 +00:00
|
|
|
REVISION = 0
|
2011-05-23 19:04:57 +00:00
|
|
|
|
|
|
|
HOMEPAGE = http://upower.freedesktop.org/
|
2018-12-10 10:55:27 +00:00
|
|
|
MASTER_SITES = https://gitlab.freedesktop.org/upower/upower/uploads/2282c7c0e53fb31816b824c9d1f547e8/
|
2011-05-23 19:04:57 +00:00
|
|
|
|
|
|
|
MAINTAINER = Landry Breuil <landry@openbsd.org>
|
|
|
|
|
2013-03-27 07:23:45 +00:00
|
|
|
# GPLv2+
|
2011-05-23 19:04:57 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2018-12-10 10:55:27 +00:00
|
|
|
WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 m
|
2013-03-27 07:23:45 +00:00
|
|
|
|
2011-05-23 19:04:57 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS += --enable-introspection \
|
2011-05-23 19:04:57 +00:00
|
|
|
--enable-man-pages \
|
2012-01-03 21:50:06 +00:00
|
|
|
--with-historydir=/var/db/upower \
|
2011-05-23 19:04:57 +00:00
|
|
|
--with-backend=openbsd \
|
|
|
|
--without-idevice
|
|
|
|
|
2013-10-03 13:42:16 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2011-05-23 19:04:57 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2012-09-21 14:48:05 +00:00
|
|
|
|
2011-10-03 06:42:45 +00:00
|
|
|
FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/upower
|
2011-05-23 19:04:57 +00:00
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
2012-09-04 09:06:12 +00:00
|
|
|
MODULES = textproc/intltool
|
2011-05-23 19:04:57 +00:00
|
|
|
|
2016-04-26 12:37:43 +00:00
|
|
|
LIB_DEPENDS = devel/glib2
|
2011-07-04 17:44:27 +00:00
|
|
|
BUILD_DEPENDS = devel/gobject-introspection \
|
2012-03-03 17:30:17 +00:00
|
|
|
textproc/docbook-xsl
|
2011-05-23 19:04:57 +00:00
|
|
|
|
2015-04-04 09:30:30 +00:00
|
|
|
# /usr/local/share/dbus-1/system-services/
|
|
|
|
RUN_DEPENDS += x11/dbus,-suid
|
|
|
|
|
2011-05-23 19:04:57 +00:00
|
|
|
.include <bsd.port.mk>
|