# $OpenBSD: Makefile,v 1.8 2011/09/28 09:51:36 jasper Exp $

COMMENT =	library for writing single instance GTK+3 applications

GNOME_PROJECT =	libunique
GNOME_VERSION =	3.0.2
REVISION=		0

PKGNAME=	${GNOME_PROJECT}3-${GNOME_VERSION}

SHARED_LIBS +=  unique-3.0                0.0 # 0.0
CATEGORIES =	devel

HOMEPAGE =	http://live.gnome.org/LibUnique

# LGPLv2.1
PERMIT_PACKAGE_CDROM =	Yes
PERMIT_PACKAGE_FTP =	Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP =	Yes

MODULES =		devel/gettext \
			x11/gnome

WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo cairo-gobject
WANTLIB += dbus-1 dbus-glib-1 drm expat fontconfig freetype gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z

MODGNOME_TOOLS= 	goi

LIB_DEPENDS =		x11/dbus-glib \
			x11/gtk+3

CONFIGURE_STYLE =	gnu
CONFIGURE_ARGS =	--enable-bacon \
			--with-x

.include <bsd.port.mk>
