2006-10-08 16:14:52 +00:00
|
|
|
# New ports collection makefile for: libxcb
|
|
|
|
# Date Created: 2006-08-23
|
|
|
|
# Whom: Ashish Shukla <wahjava@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libxcb
|
2010-09-15 06:46:52 +00:00
|
|
|
PORTVERSION= 1.7
|
2008-09-07 22:20:18 +00:00
|
|
|
CATEGORIES= x11 python
|
2008-05-07 14:23:17 +00:00
|
|
|
MASTER_SITES= http://xcb.freedesktop.org/dist/
|
2006-10-08 16:14:52 +00:00
|
|
|
|
2011-10-27 02:02:15 +00:00
|
|
|
MAINTAINER= x11@FreeBSD.org
|
2006-10-08 16:14:52 +00:00
|
|
|
COMMENT= The X protocol C-language Binding (XCB) library
|
|
|
|
|
2007-06-22 06:11:39 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck \
|
2007-01-29 11:18:46 +00:00
|
|
|
xsltproc:${PORTSDIR}/textproc/libxslt \
|
2012-04-21 17:03:32 +00:00
|
|
|
xcb-proto>=1.7:${PORTSDIR}/x11/xcb-proto \
|
2007-06-22 06:11:39 +00:00
|
|
|
${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
|
2009-12-12 23:32:21 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs
|
2007-06-22 06:11:39 +00:00
|
|
|
|
2010-05-13 06:28:35 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-build-docs --without-doxygen --enable-xinput
|
2006-10-08 16:14:52 +00:00
|
|
|
|
2010-09-15 06:46:52 +00:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2006-10-08 16:14:52 +00:00
|
|
|
USE_BZIP2= yes
|
2007-05-19 20:36:56 +00:00
|
|
|
USE_GNOME= gnomehack
|
2006-10-08 16:14:52 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2007-05-19 20:36:56 +00:00
|
|
|
USE_XORG= xau xdmcp
|
2011-02-22 05:25:57 +00:00
|
|
|
USE_PYTHON_BUILD= 2.5-2.7
|
2006-10-08 16:14:52 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2007-01-29 11:18:46 +00:00
|
|
|
.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS
|
2006-10-08 16:14:52 +00:00
|
|
|
CONFIGURE_ARGS+=${f}="${${f}}"
|
|
|
|
.endfor
|
2007-01-31 22:41:17 +00:00
|
|
|
CONFIGURE_ENV= LIBS="`pkg-config --libs pthread-stubs`"
|
2006-10-08 16:14:52 +00:00
|
|
|
|
2007-06-22 06:11:39 +00:00
|
|
|
NEEDED_CFLAGS= -I${LOCALBASE}/include
|
|
|
|
NEEDED_LIBS= -L${LOCALBASE}/lib -lXau ${PTHREAD_STUBS_LIBS}
|
2006-10-08 16:14:52 +00:00
|
|
|
|
2007-06-22 06:11:39 +00:00
|
|
|
XDMCP_CFLAGS= -I${LOCALBASE}/include
|
|
|
|
XDMCP_LIBS= -L${LOCALBASE}/lib -lXdmcp
|
2006-10-08 16:14:52 +00:00
|
|
|
|
2007-06-22 06:11:39 +00:00
|
|
|
XPROTO_CFLAGS= -I${LOCALBASE}/include
|
|
|
|
XPROTO_LIBS= -L${LOCALBASE}/lib
|
2006-11-05 15:49:16 +00:00
|
|
|
|
2008-05-07 14:23:17 +00:00
|
|
|
post-install:
|
2009-06-28 12:52:33 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MAKE} -C ${WRKSRC}/doc ${INSTALL_TARGET}
|
|
|
|
.endif
|
2008-05-07 14:23:17 +00:00
|
|
|
|
2007-06-22 06:11:39 +00:00
|
|
|
.include <bsd.port.mk>
|