freebsd-ports/math/blitz++/Makefile
2003-05-06 06:57:29 +00:00

38 lines
1 KiB
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
BROKEN= "Does not compile"
LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-lg2c"
CONFIGURE_ARGS= --with-cxx=gcc --disable-debug --with-blas=${LOCALBASE}/lib
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>