From fa14953a8aba8b469fe7667014056584ea849a8a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 28 Feb 2014 06:56:21 +0000 Subject: [PATCH] Support stage --- x11/xpyb/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/x11/xpyb/Makefile b/x11/xpyb/Makefile index 93c896dd6f6b..e1c9a22a6501 100644 --- a/x11/xpyb/Makefile +++ b/x11/xpyb/Makefile @@ -11,6 +11,8 @@ 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 @@ -24,13 +26,4 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include - -.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 +.include