aboutsummaryrefslogtreecommitdiffstats
path: root/math/atlas/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-15 11:53:15 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-15 11:53:15 +0800
commitba8932e912e1ce85b7cd98a529d6ee429963aa87 (patch)
tree97ac485cc61140138ad7d9257710f7f9fb391194 /math/atlas/Makefile
parent6c40b38759b96994fde8bd2e9584c346afce073b (diff)
downloadfreebsd-ports-gnome-ba8932e912e1ce85b7cd98a529d6ee429963aa87.tar.gz
freebsd-ports-gnome-ba8932e912e1ce85b7cd98a529d6ee429963aa87.tar.zst
freebsd-ports-gnome-ba8932e912e1ce85b7cd98a529d6ee429963aa87.zip
add atlas 3.3.14
Automatically Tuned Linear Algebra Software (ATLAS) PR: 35908 Submitted by: Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
Diffstat (limited to 'math/atlas/Makefile')
-rw-r--r--math/atlas/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/math/atlas/Makefile b/math/atlas/Makefile
new file mode 100644
index 000000000000..0c0edae86ec8
--- /dev/null
+++ b/math/atlas/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: atlas
+# Date created: 12 February 2001
+# Whom: Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= atlas
+PORTVERSION= 3.3.14
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= math-atlas
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= chat95@mbox.kyoto-inet.or.jp
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/liblapack.a:${PORTSDIR}/math/lapack
+
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/ATLAS
+NO_PACKAGE= "It is better to compile at the target machine."
+NO_CDROM= "It is better to compile at the target machine."
+
+do-configure:
+ @(cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} config < ${FILESDIR}/answer)
+
+do-build:
+ (cd ${WRKSRC}; ${MAKE_ENV} ${MAKE} install arch=FreeBSD_GENERIC)
+ (cd ${WRKSRC}; ${MKDIR} tmp ; \
+ ${CP} ${LOCALBASE}/lib/liblapack.a tmp ;\
+ cd tmp ;\
+ ar x liblapack.a ;\
+ ar x ../lib/FreeBSD_GENERIC/liblapack.a ;\
+ ar r ../lib/FreeBSD_GENERIC/libalapack.a *.o ;\
+ ranlib ../lib/FreeBSD_GENERIC/libalapack.a )
+do-install:
+ @${MKDIR} ${PREFIX}/share/doc/atlas
+ ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libatlas.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libcblas.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libf77blas.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libtstatlas.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/FreeBSD_GENERIC/libalapack.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/atlas
+.include <bsd.port.mk>