# $OpenBSD: Makefile,v 1.42 2012/04/28 14:08:53 ajacoutot Exp $

COMMENT=	GTK-based LDAP client

DISTNAME=	gq-1.3.4
REVISION=	1

CATEGORIES=	databases sysutils

HOMEPAGE=	http://www.gq-project.org/

# GPLv2
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM=	Yes
PERMIT_DISTFILES_FTP=	Yes

WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto expat fontconfig
WANTLIB += freetype gcrypt gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glade-2.0 glib-2.0 gnome-keyring gobject-2.0 gpg-error
WANTLIB += gtk-x11-2.0 krb5 lber ldap m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pixman-1 png pthread pthread-stubs ssl
WANTLIB += xcb xcb-render xcb-shm xml2 z

# tarball from Fedora SRPM
MASTER_SITES=	http://distfiles.bsdfrog.org/

MODULES=	devel/gettext \
		x11/gnome

LIB_DEPENDS=	databases/openldap \
		devel/libglade2 \
		x11/gnome/libgnome-keyring

RUN_DEPENDS=	misc/shared-mime-info

USE_LIBTOOL=	No
MODGNOME_TOOLS=	yelp
MODGNOME_DESKTOP_FILE=Yes

CONFIGURE_STYLE=gnu
CONFIGURE_ARGS=	--with-kerberos-prefix=/usr \
		--disable-update-mimedb \
		--enable-browser-dnd

.include <bsd.port.mk>
