# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD: tags/RELEASE_10_3_0/x11/xpyb/Makefile 386312 2015-05-14 10:15:04Z mat $

PORTNAME=	xpyb
PORTVERSION=	1.3.1
PORTREVISION=	2
CATEGORIES=	x11 python
MASTER_SITES=	http://xcb.freedesktop.org/dist/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	Python bindings to access X Window System protocol via libxcb

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/xcb-proto.pc:${PORTSDIR}/x11/xcb-proto \
		xcb-proto>=1.7.1:${PORTSDIR}/x11/xcb-proto

USES=		libtool pathfix pkgconfig python tar:bzip2
USE_XORG=	xcb
PORTDOCS=	README COPYING INSTALL NEWS XcbPythonBinding.txt

GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>
