From 14f9adbea5e68f917ded09a363e007d3843aec27 Mon Sep 17 00:00:00 2001 From: ashish Date: Tue, 22 Jun 2010 11:51:41 +0000 Subject: - Update port to 1.2. PR: ports/146461 Submitted by: ashish Approved by: pgj (mentor) Feature safe: yes --- x11/xpyb/Makefile | 18 ++++++++++-------- x11/xpyb/distinfo | 6 +++--- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/x11/xpyb/Makefile b/x11/xpyb/Makefile index c5dbbe22b9a3..95f10b9cc077 100644 --- a/x11/xpyb/Makefile +++ b/x11/xpyb/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xpyb -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= x11 python MASTER_SITES= http://xcb.freedesktop.org/%SUBDIR%/ MASTER_SITE_SUBDIR= dist @@ -22,15 +22,17 @@ LIB_DEPENDS= xcb.2:${PORTSDIR}/x11/libxcb USE_BZIP2= yes USE_PYTHON= 2.5+ USE_GNOME= gnomehack -PORTDOCS= README +PORTDOCS= README COPYING INSTALL NEWS XcbPythonBinding.txt GNU_CONFIGURE=yes -CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-I${LOCALBASE}/lib" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-I${LOCALBASE}/lib" -.if !defined(NOPORTDOCS) -post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL} ${WRKSRC}/README ${DOCSDIR} +.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 diff --git a/x11/xpyb/distinfo b/x11/xpyb/distinfo index 3c41b7ca2fb1..1dc11c009cd8 100644 --- a/x11/xpyb/distinfo +++ b/x11/xpyb/distinfo @@ -1,3 +1,3 @@ -MD5 (xpyb-1.1.tar.bz2) = 0d82bbaa97f89e41aada9fab5630147a -SHA256 (xpyb-1.1.tar.bz2) = 259c9ff7e6eb458f57437dbdc0f1993b63e1f30bbe0e4272bfeb8df18ff45933 -SIZE (xpyb-1.1.tar.bz2) = 267408 +MD5 (xpyb-1.2.tar.bz2) = 953cd851d7ad3e59577062ca53c77f3d +SHA256 (xpyb-1.2.tar.bz2) = 3f2dbebd995ad57deb2af2baae78be8acdda8f08a141444ce0d084245d251ad2 +SIZE (xpyb-1.2.tar.bz2) = 272557 -- cgit