aboutsummaryrefslogtreecommitdiff
path: root/x11/xpyb
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2010-06-22 11:51:41 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2010-06-22 11:51:41 +0000
commiteb76aafafba90f9f169aa9c3451306991fd5be2d (patch)
treef4e1d24878ff5c807cf13308894c327bc56a3d12 /x11/xpyb
parent0aa78854298ebc02140d905a1e7bed1ded8ca890 (diff)
downloadports-eb76aafafba90f9f169aa9c3451306991fd5be2d.tar.gz
ports-eb76aafafba90f9f169aa9c3451306991fd5be2d.zip
Notes
Diffstat (limited to 'x11/xpyb')
-rw-r--r--x11/xpyb/Makefile18
-rw-r--r--x11/xpyb/distinfo6
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 <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.mk>
+.include <bsd.port.post.mk>
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