From 2a46f8afcc338f5bc9a256f3b7a3da96171ab2ce Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 8 Aug 2014 03:44:02 +0000 Subject: [PATCH] Stagify. --- math/sdpara/Makefile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/math/sdpara/Makefile b/math/sdpara/Makefile index b00bc433e17a..3d9ccbe4c084 100644 --- a/math/sdpara/Makefile +++ b/math/sdpara/Makefile @@ -54,7 +54,6 @@ SCALAPACK= -L/usr/local/lib -lscalapack -lblacs -lblacsc FORTRAN_LIBS= -lgfortran GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%MPICC%%|${LOCALBASE}/bin/mpicc|g ; \ s|%%MPICXX%%|${LOCALBASE}/bin/mpicxx|g ; \ @@ -84,15 +83,13 @@ do-build: cd ${WRKSRC} ; ${MAKE_CMD} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sdpara ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${DATADIR} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/example* ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${EXAMPLESDIR} -#.if !defined(NOPORTDOCS) -# @${MKDIR} ${DOCSDIR} -# ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MANUALFILE} ${DOCSDIR} -#.endif + ${INSTALL_PROGRAM} ${WRKSRC}/sdpara ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/example* ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${STAGEDIR}${EXAMPLESDIR} +# @${MKDIR} ${STAGEDIR}${DOCSDIR} +# ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MANUALFILE} ${STAGEDIR}${DOCSDIR} .include