1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/x11/xcb-proto/Makefile
Ruslan Makhmatkhanov 32d61e3e2b Allow build libxcb and xcb-proto with python3
Since version 1.11 libxcb successfully builds with pytnon3, so we don't
need to limit python version anymore.

PR:		194748 194749
Submitted by:	rm (myself)
Approved by:	maintainer timeout (6 months+)
2015-07-04 22:14:14 +00:00

27 lines
543 B
Makefile

# Created by: Ashish Shukla <wahjava@gmail.com>
# $FreeBSD$
PORTNAME= xcb-proto
PORTVERSION= 1.11
CATEGORIES= x11 python
MASTER_SITES= http://xcb.freedesktop.org/dist/
MAINTAINER= x11@FreeBSD.org
COMMENT= The X protocol C-language Binding (XCB) protocol
USE_GNOME= libxml2:build
XORG_CAT= proto
USES= python
DATADIR= ${PREFIX}/share/xcb
.include <bsd.port.pre.mk>
.if ${PYTHON_MAJOR_VER} == 3
PLIST_SUB+= PYTHON_SUFFIX=${PYTHON_SUFFIX} PY3="" PY2="@comment "
.else
PLIST_SUB+= PY2="" PY3="@comment "
.endif
.include <bsd.port.post.mk>