Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 07:51:28 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357112 - head/science/py-scipy
Message-ID:  <201406090751.s597pS2R056969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@malloc\.h@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406090751.s597pS2R056969>