aboutsummaryrefslogtreecommitdiff
path: root/devel/py-sip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-sip/Makefile')
-rw-r--r--devel/py-sip/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile
index 93a3127aff03..01abaea1b310 100644
--- a/devel/py-sip/Makefile
+++ b/devel/py-sip/Makefile
@@ -25,6 +25,8 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
ARGS= -b ${PREFIX}/bin -d ${PYTHONPREFIX_SITELIBDIR}\
-e ${PYTHONPREFIX_INCLUDEDIR} -v ${DATADIR}
+PORTDOCS= *
+
.include "files/bsd.pyqt.mk"
.include <bsd.port.pre.mk>
@@ -45,9 +47,8 @@ post-configure:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR} && cd ${WRKSRC} && ${INSTALL_DATA}\
- doc/sipref.txt doc/sipref.html\
- NEWS LICENSE ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/doc/html && \
+ ${COPYTREE_SHARE} \. ${DOCSDIR}
.endif
${MKDIR} ${DATADIR} &&\
cd ${PYTHONPREFIX_SITELIBDIR} &&\