1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix packaging with pkg-install

This commit is contained in:
Antoine Brodin 2014-06-17 19:39:23 +00:00
parent 9ec7a8dd9b
commit 330002caa4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358169

View File

@ -35,6 +35,8 @@ OPTIONS_DEFAULT=SUITESPARSE
ATLAS_DESC= Use optimized blas library
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse
PORTDOCS= scipy-ref.pdf
post-patch:
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s@malloc\.h@stdlib.h@"
@ -66,8 +68,6 @@ 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>