openbsd-ports/x11/gnome/power-manager/Makefile
2011-11-04 09:56:28 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2011/11/04 09:56:29 jasper Exp $
COMMENT= GNOME power manager
GNOME_PROJECT= gnome-power-manager
GNOME_VERSION= 3.2.1
REVISION= 0
HOMEPAGE= http://projects.gnome.org/gnome-power-manager/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/dconf \
devel/gettext \
x11/gnome
MODGNOME_DESKTOP_FILE= Yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
WANTLIB += cairo-gobject dbus-1 dbus-glib-1 drm expat ffi fontconfig
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-3 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += upower-glib xcb xcb-render xcb-shm z stdc++
LIB_DEPENDS= sysutils/upower \
x11/gtk+3
AUTOCONF_VERSION= 2.68
CONFIGURE_STYLE= autoconf
MODGNOME_CPPFLAGS= -I${X11BASE}/include
MODGNOME_LDFLAGS= -L${X11BASE}/lib
CONFIGURE_ENV= ac_cv_path_DOCBOOK2MAN=no \
ac_cv_path_XMLTO=no
# Remove a few compiler options GCC 4.2.1 doesn't understand.
pre-configure:
perl -pi -e 's,-Wclobbered,,g;' \
-e 's,-Wempty-body,,g;' \
-e 's,-Wignored-qualifiers,,g;' \
-e 's,-Wtype-limits,,g;' \
-e 's,-Wmissing-parameter-type,,g' \
${WRKSRC}/configure
.include <bsd.port.mk>