aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xpyb/Makefile
blob: 695285f12437f09ff55026fcc74326ec73d13ac3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD$

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

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

OPTIONS_DEFINE= DOCS

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

USE_BZIP2=  yes
USE_PYTHON= yes
USE_XORG=   xcb
USES=   pathfix pkgconfig
PORTDOCS=   README COPYING INSTALL NEWS XcbPythonBinding.txt

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

.include <bsd.port.mk>