diff options
author | marcus <marcus@FreeBSD.org> | 2007-08-19 02:45:29 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2007-08-19 02:45:29 +0800 |
commit | 60867a9798aa4ba0226386f73feab96d6d5d221a (patch) | |
tree | 22cfb11256de67ec962cd9428474a1e9316f3802 /devel/py-dbus | |
parent | 0bebccbb2d0c2b585345208bb5304d208f789dde (diff) | |
download | freebsd-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/Makefile | 6 |
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 |