freebsd-ports/math/blitz++/Makefile
Pav Lucistnik 58b1743515 - Update to 0.9
PR:		ports/92048
Submitted by:	Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
Approved by:	Olivier Saut <olivier.saut@gmail.com> (maintainer)
2006-01-22 18:47:39 +00:00

42 lines
936 B
Makefile

# ex:ts=8
# Ports collection makefile for: blitz++
# Date created: Jul 25, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= blitz++
PORTVERSION= 0.9
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= blitz
DISTNAME= blitz-${PORTVERSION}
MAINTAINER= olivier.saut@gmail.com
COMMENT= A C++ class library for scientific computing
.ifndef NOPORTDOCS
BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
INFO= blitz
.else
MAKE_ARGS= NOPORTDOCS=yes
.endif
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnometarget gnomehack
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
DOCSDIR= ${PREFIX}/share/doc/blitz
INSTALLS_SHLIB= yes
post-patch:
@${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>