aboutsummaryrefslogtreecommitdiff
path: root/devel/py-dbus
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-07-27 17:40:24 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-07-27 17:40:24 +0000
commita1d56f0ca7cc6023be6c629d88e4ec078c606160 (patch)
tree715fa2aa141016e145925377047147ffb0b75a3e /devel/py-dbus
parentda4fac2d2e2c570436616c35648ef04ea3eae1fc (diff)
downloadports-a1d56f0ca7cc6023be6c629d88e4ec078c606160.tar.gz
ports-a1d56f0ca7cc6023be6c629d88e4ec078c606160.zip
Fix the plist when NOPORTDOCS is defined, bump the PORTREVISION.
Reported by: QA Tindy
Notes
Notes: svn path=/head/; revision=217683
Diffstat (limited to 'devel/py-dbus')
-rw-r--r--devel/py-dbus/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile
index 9596ccdbb774..06ab780d8902 100644
--- a/devel/py-dbus/Makefile
+++ b/devel/py-dbus/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dbus
PORTVERSION= 0.83.0
+PORTREVISION= 1
CATEGORIES= devel gnome python
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -37,6 +38,13 @@ CONFIGURE_ARGS+=--disable-html-docs
PLIST_SUB+= HTML="@comment "
.endif
+post-patch:
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's|HEADERS install-dist_docDATA|HEADERS|g ; \
+ s|PYTHON install-nodist_docDATA|PYTHON|g' \
+ ${WRKSRC}/Makefile.in
+.endif
+
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR} && \