aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-dbus
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2007-08-19 02:45:29 +0800
committermarcus <marcus@FreeBSD.org>2007-08-19 02:45:29 +0800
commit60867a9798aa4ba0226386f73feab96d6d5d221a (patch)
tree22cfb11256de67ec962cd9428474a1e9316f3802 /devel/py-dbus
parent0bebccbb2d0c2b585345208bb5304d208f789dde (diff)
downloadfreebsd-ports-gnome-60867a9798aa4ba0226386f73feab96d6d5d221a.tar.gz
freebsd-ports-gnome-60867a9798aa4ba0226386f73feab96d6d5d221a.tar.zst
freebsd-ports-gnome-60867a9798aa4ba0226386f73feab96d6d5d221a.zip
Cleanup doc installation to prevent potential installation failures.
Diffstat (limited to 'devel/py-dbus')
-rw-r--r--devel/py-dbus/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile
index bccf4d4bb0f3..8627128433d2 100644
--- a/devel/py-dbus/Makefile
+++ b/devel/py-dbus/Makefile
@@ -22,16 +22,16 @@ USE_PYTHON= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${PYTHON_INCLUDEDIR}"
+CONFIGURE_ARGS= --docdir=${DOCSDIR}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if defined(NOPORTDOCS)
- @${RM} -rf ${PREFIX}/share/doc/dbus-python
+ @${RM} -rf ${DOCSDIR}
.else
- @${MV} ${PREFIX}/share/doc/dbus-python ${DOCSDIR} && \
- ${MKDIR} ${EXAMPLESDIR} && \
+ ${MKDIR} ${EXAMPLESDIR} && \
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
.endif