summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-08-18 18:45:29 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-08-18 18:45:29 +0000
commit357be55d32c58315576dc1212fdde5988bb744fe (patch)
treea99f6fef7e70a0244bc0d1900b04bbadbd271220 /devel
parent- Update to 0.10.4 (diff)
Cleanup doc installation to prevent potential installation failures.
Notes
Notes: svn path=/head/; revision=197881
Diffstat (limited to 'devel')
-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