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