openbsd-ports/x11/gnome/gucharmap/Makefile
ajacoutot 8e6304f974 deve/gconf2 is about to loose its dependency on x11/gtk+2 so explicitely
register x11/gtk+2 for ports depending on gconf2 that don't have another
dependency that would bring it.

discussed with jasper@
2011-05-14 21:29:03 +00:00

53 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.43 2011/05/14 21:29:03 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= Unicode character map for the GNOME project
GNOME_PROJECT= gucharmap
GNOME_VERSION= 3.0.1
REVISION= 0
SHARED_LIBS += gucharmap 2.0 # .7.0
HOMEPAGE= http://live.gnome.org/Gucharmap
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo
WANTLIB += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb z
WANTLIB += xcb-render GL Xxf86vm drm xcb-shm
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
BUILD_DEPENDS= devel/gobject-introspection
LIB_DEPENDS= x11/gtk+2
# XXX: the libtool wrapper script is passed as argument to g-ir-scanner,
# instead of the actual library
USE_LIBTOOL= gnu
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= gucharmap
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-introspection \
--with-gtk=2.0
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>