5a2ee9e80c
PR: 113557 Submitted by: Olivier Saut<olivier.saut@gmail.com> (maintainer)
44 lines
947 B
Makefile
44 lines
947 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: blitz++
|
|
# Date created: Jul 25, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= blitz++
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= blitz
|
|
DISTNAME= blitz-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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>
|