aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2010-06-22 19:51:41 +0800
committerashish <ashish@FreeBSD.org>2010-06-22 19:51:41 +0800
commit14f9adbea5e68f917ded09a363e007d3843aec27 (patch)
treed30b982933c4f0b7a6da3b955513db167daa2417
parent8949f5e8449c283595d692537124f348b59a7ea5 (diff)
downloadfreebsd-ports-gnome-14f9adbea5e68f917ded09a363e007d3843aec27.tar.gz
freebsd-ports-gnome-14f9adbea5e68f917ded09a363e007d3843aec27.tar.zst
freebsd-ports-gnome-14f9adbea5e68f917ded09a363e007d3843aec27.zip
- Update port to 1.2.
PR: ports/146461 Submitted by: ashish Approved by: pgj (mentor) Feature safe: yes
-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