1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/x11/xpyb/Makefile
Ashish SHUKLA eb76aafafb - Update port to 1.2.
PR:		ports/146461
Submitted by:	ashish
Approved by:	pgj (mentor)
Feature safe:	yes
2010-06-22 11:51:41 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: xpyb
# Date created: 2008-08-27
# Whom: Ashish Shukla <wahjava@gmail.com>
#
# $FreeBSD$
#
PORTNAME= xpyb
PORTVERSION= 1.2
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
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-proto.pc:${PORTSDIR}/x11/xcb-proto \
xcb-proto>=1.1:${PORTSDIR}/x11/xcb-proto
LIB_DEPENDS= xcb.2:${PORTSDIR}/x11/libxcb
USE_BZIP2= yes
USE_PYTHON= 2.5+
USE_GNOME= gnomehack
PORTDOCS= README COPYING INSTALL NEWS XcbPythonBinding.txt
GNU_CONFIGURE=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-I${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if defined(NOPORTDOCS)
post-patch:
@${REINPLACE_CMD} -e 's/^\(install-data-am:.*\)install-dist_docDATA\(.*\)$$/\1\2/' \
-e 's/^\(SUBDIRS =.*\)doc\(.*\)$$/\1\2/' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>