aboutsummaryrefslogtreecommitdiff
path: root/math/blitz++/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-10 10:26:55 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-10 10:26:55 +0000
commit318b021265ccbb64b1eaf29a56f6beadc1b91e2c (patch)
tree7024e00bd0d36fc3d99a0189b69163c062e2aea7 /math/blitz++/Makefile
parent9b1467ed351017e4800f6b327d89ffd9cda63b5e (diff)
Notes
Diffstat (limited to 'math/blitz++/Makefile')
-rw-r--r--math/blitz++/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile
new file mode 100644
index 000000000000..2366a9c01442
--- /dev/null
+++ b/math/blitz++/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# Ports collection makefile for: blitz++
+# Date created: Jul 25, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= blitz++
+PORTVERSION= 0.6
+CATEGORIES= math
+MASTER_SITES= http://www.oonumerics.org/blitz/download/releases/
+DISTNAME= blitz-${PORTVERSION:S/b/beta/}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= blas:${PORTSDIR}/math/blas
+
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="-lg2c"
+CONFIGURE_ARGS= --with-cxx=gcc --with-blas=${LOCALBASE}/lib \
+ --enable-optimize --disable-debug
+USE_GMAKE= yes
+
+post-patch:
+ @${FIND} ${WRKSRC}/manual -name "Makefile.in" | ${XARGS} \
+ ${REINPLACE_CMD} -e "s,[$$][(]prefix[)],\$$(datadir),"
+
+.include <bsd.port.mk>