Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.53 2016/09/01 10:11:47 landry Exp $
  2. ONLY_FOR_ARCHS =${APM_ARCHS}
  3. COMMENT = userland power management interface
  4. DISTNAME = upower-0.99.4
  5. REVISION = 1
  6. EXTRACT_SUFX = .tar.xz
  7. CATEGORIES = sysutils
  8. SHARED_LIBS += upower-glib 2.1 # 3.1
  9. HOMEPAGE = http://upower.freedesktop.org/
  10. MASTER_SITES = ${HOMEPAGE}/releases/
  11. MAINTAINER = Landry Breuil <landry@openbsd.org>
  12. # GPLv2+
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WANTLIB += c gio-2.0 glib-2.0 gobject-2.0 m pthread
  15. CONFIGURE_STYLE = gnu
  16. CONFIGURE_ARGS += --enable-introspection \
  17. --enable-man-pages \
  18. --with-historydir=/var/db/upower \
  19. --with-backend=openbsd \
  20. --without-idevice
  21. CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
  22. LDFLAGS="-L${LOCALBASE}/lib"
  23. FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/upower
  24. USE_GMAKE = Yes
  25. MODULES = textproc/intltool
  26. LIB_DEPENDS = devel/glib2
  27. BUILD_DEPENDS = devel/gobject-introspection \
  28. textproc/docbook-xsl
  29. # /usr/local/share/dbus-1/system-services/
  30. RUN_DEPENDS += x11/dbus,-suid
  31. .include <bsd.port.mk>