svn commit: r357112 - head/science/py-scipy
Wen Heping
wen at FreeBSD.org
Mon Jun 9 07:51:28 UTC 2014
Author: wen
Date: Mon Jun 9 07:51:28 2014
New Revision: 357112
URL: http://svnweb.freebsd.org/changeset/ports/357112
QAT: https://qat.redports.org/buildarchive/r357112/
Log:
- Fix plist when define DOCS=off
PR: 190642
Reported by: john at saltant.com
Modified:
head/science/py-scipy/Makefile
Modified: head/science/py-scipy/Makefile
==============================================================================
--- head/science/py-scipy/Makefile Mon Jun 9 07:49:58 2014 (r357111)
+++ head/science/py-scipy/Makefile Mon Jun 9 07:51:28 2014 (r357112)
@@ -35,9 +35,6 @@ OPTIONS_DEFAULT=SUITESPARSE
ATLAS_DESC= Use optimized blas library
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse
-PLIST_FILES= %%PORTDOCS%%%%DOCSDIR%%/scipy-ref.pdf
-PLIST_DIRSTRY= %%PORTDOCS%%%%DOCSDIR%%
-
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s at malloc\.h at stdlib.h@"
@@ -69,6 +66,8 @@ post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/scipy-ref.pdf ${STAGEDIR}${DOCSDIR}
+ ${ECHO_CMD} "${DOCSDIR}/scipy-ref.pdf" >> ${TMPPLIST}
+ ${ECHO_CMD} "@dirrm ${DOCSDIR}" >> ${TMPPLIST}
.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list