Index: head/math/superlu/Makefile =================================================================== --- head/math/superlu/Makefile (revision 118455) +++ head/math/superlu/Makefile (revision 118456) @@ -1,60 +1,61 @@ # New ports collection makefile for: SuperLU # Date created: 31 Oct 97 # Whom: Pedro Giffuni # # $FreeBSD$ # PORTNAME= superlu PORTVERSION= 3.0.20040410 CATEGORIES= math MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/ \ http://crd.lbl.gov/~xiaoye/ DISTNAME= ${PORTNAME}_3.0 .ifndef NOPORTDOCS DISTFILES= ${DISTNAME}${EXTRACT_SUFX} superlu_ug.ps.gz SLU_general.ps.gz simax95.ps.gz .endif DIST_SUBDIR= superlu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= maho@FreeBSD.org COMMENT= A library of routines for performing sparse factorization BUILD_DEPENDS= ${LOCALBASE}/lib/libf77blas.a:${PORTSDIR}/math/atlas USE_REINPLACE= yes WRKSRC= ${WRKDIR}/SuperLU_3.0 ALL_TARGET= superlulib BLAS_LIBS= ${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a -.include +ARCH2FIX= SRC/Makefile TESTING/MATGEN/Makefile CBLAS/Makefile make.inc \ + MAKE_INC/make.alpha MAKE_INC/make.inc -.if ${OSVERSION} >= 502126 -BROKEN= "Broken by changes to make(1) on FreeBSD >= 5.x" -.endif - post-patch: @${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+${BLAS_LIBS}+' \ ${WRKSRC}/make.inc @${REINPLACE_CMD} -e 's+%%CC%%+${CC}+' \ ${WRKSRC}/make.inc @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+' \ ${WRKSRC}/make.inc @${REINPLACE_CMD} -e 's+%%CFLAGS%%+${CFLAGS}+' \ ${WRKSRC}/make.inc @${REINPLACE_CMD} -e 's+%%FFLAGS%%+${FFLAGS}+' \ ${WRKSRC}/make.inc +.for fmk in ${ARCH2FIX} + @${REINPLACE_CMD} -e 's|^ARCH *.= ar|ARCMD = ar| ; \ + s|\$$(ARCH)|$$(ARCMD)|' ${WRKSRC}/${fmk} +.endfor do-install: ${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib @${MKDIR} ${PREFIX}/include/superlu ${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${PREFIX}/include/superlu .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/SLU_general.ps.gz ${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/simax95.ps.gz ${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/superlu_ug.ps.gz ${DOCSDIR} .endif -.include +.include Property changes on: head/math/superlu/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.26 \ No newline at end of property +1.27 \ No newline at end of property Index: head/math/superlu/pkg-plist =================================================================== --- head/math/superlu/pkg-plist (revision 118455) +++ head/math/superlu/pkg-plist (revision 118456) @@ -1,16 +1,16 @@ include/superlu/Cnames.h include/superlu/colamd.h include/superlu/csp_defs.h include/superlu/dcomplex.h include/superlu/dsp_defs.h include/superlu/scomplex.h include/superlu/ssp_defs.h include/superlu/supermatrix.h include/superlu/util.h include/superlu/zsp_defs.h lib/libsuperlu.a @dirrm include/superlu -%%PORTDOCS%%share/doc/superlu/SLU_general.ps.gz -%%PORTDOCS%%share/doc/superlu/simax95.ps.gz -%%PORTDOCS%%share/doc/superlu/superlu_ug.ps.gz -%%PORTDOCS%%@dirrm share/doc/superlu +%%PORTDOCS%%%%DOCSDIR%%/SLU_general.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/simax95.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/superlu_ug.ps.gz +%%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/math/superlu/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/math/superlu_mt/Makefile =================================================================== --- head/math/superlu_mt/Makefile (revision 118455) +++ head/math/superlu_mt/Makefile (revision 118456) @@ -1,54 +1,55 @@ # New ports collection makefile for: SuperLU_MT # Date created: 31 Apr 2003 # Whom: Pedro Giffuni # # $FreeBSD$ # PORTNAME= superlu_mt PORTVERSION= 1.0 CATEGORIES= math MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/ \ http://crd.lbl.gov/~xiaoye/ DISTNAME= ${PORTNAME}_${PORTVERSION} .ifndef NOPORTDOCS DISTFILES= ${DISTNAME}${EXTRACT_SUFX} simax97.ps.gz .endif DIST_SUBDIR= superlu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Routines for performing multithreaded sparse factorization BUILD_DEPENDS= ${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/blas USE_REINPLACE= yes WRKSRC= ${WRKDIR}/SuperLU_MT ALL_TARGET= superlulib BLAS_LIBS= ${LOCALBASE}/lib/libblas.a -.include +ARCH2FIX= CBLAS/Makefile make.alpha make.exemplar TESTING/MATGEN/Makefile \ + make.origin make.inc make.pthreads SRC/Makefile -.if ${OSVERSION} >= 502126 -BROKEN= "Broken by changes to make(1) on FreeBSD >= 5.x" -.endif - post-patch: @${REINPLACE_CMD} -e 's+%%BLAS_LIBS%%+${BLAS_LIBS}+ ; \ s+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+ ; \ s+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+ ' \ ${WRKSRC}/make.inc +.for fmk in ${ARCH2FIX} + @${REINPLACE_CMD} -e 's|^ARCH *.= ar|ARCMD = ar| ; \ + s|\$$(ARCH)|$$(ARCMD)|' ${WRKSRC}/${fmk} +.endfor do-install: ${INSTALL_DATA} ${WRKSRC}/libsuperlu_mt.* ${PREFIX}/lib ${MKDIR} ${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${PREFIX}/include/${PORTNAME} .ifndef NOPORTDOCS @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${DOCSDIR} ${GZIP_CMD} ${DOCSDIR}/*.ps ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/simax97.ps.gz ${DOCSDIR} .endif -.include +.include Property changes on: head/math/superlu_mt/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/math/superlu_mt/pkg-plist =================================================================== --- head/math/superlu_mt/pkg-plist (revision 118455) +++ head/math/superlu_mt/pkg-plist (revision 118456) @@ -1,12 +1,12 @@ include/superlu_mt/Cnames.h include/superlu_mt/colamd.h include/superlu_mt/machines.h include/superlu_mt/pdsp_defs.h include/superlu_mt/pxgstrf_synch.h include/superlu_mt/supermatrix.h include/superlu_mt/util.h lib/libsuperlu_mt.a @dirrm include/superlu_mt -%%PORTDOCS%%share/doc/superlu_mt/simax97.ps.gz -%%PORTDOCS%%share/doc/superlu_mt/ug.ps.gz -%%PORTDOCS%%@dirrm share/doc/superlu_mt +%%PORTDOCS%%%%DOCSDIR%%/simax97.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/ug.ps.gz +%%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/math/superlu_mt/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property