freebsd-ports/math/blitz++/Makefile
Kris Kennaway 58f5309790 Remove dependency on blas, and unbreak the build.
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
PR;		ports/53352
2003-06-19 08:06:00 +00:00

33 lines
919 B
Makefile

# 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}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ class library for scientific computing
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-cxx=gcc --enable-optimize --disable-debug
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
post-patch:
@${FIND} ${WRKSRC}/manual -name "Makefile.in" | ${XARGS} \
${REINPLACE_CMD} -e 's|[(]prefix[)]|(datadir)|g'
@${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \
s|-O2||g' ${WRKSRC}/configure
.include <bsd.port.mk>