2002-10-10 10:26:55 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: blitz++
|
|
|
|
# Date created: Jul 25, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= blitz++
|
2006-01-22 18:47:39 +00:00
|
|
|
PORTVERSION= 0.9
|
2006-02-23 10:40:44 +00:00
|
|
|
PORTREVISION= 1
|
2002-10-10 10:26:55 +00:00
|
|
|
CATEGORIES= math
|
2003-11-08 22:37:27 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= blitz
|
2005-02-22 23:35:04 +00:00
|
|
|
DISTNAME= blitz-${PORTVERSION}
|
2002-10-10 10:26:55 +00:00
|
|
|
|
2005-02-22 23:35:04 +00:00
|
|
|
MAINTAINER= olivier.saut@gmail.com
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= A C++ class library for scientific computing
|
2002-10-10 10:26:55 +00:00
|
|
|
|
2005-02-22 23:35:04 +00:00
|
|
|
.ifndef NOPORTDOCS
|
2006-01-22 18:47:39 +00:00
|
|
|
BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex
|
2005-02-22 23:35:04 +00:00
|
|
|
INFO= blitz
|
|
|
|
.else
|
|
|
|
MAKE_ARGS= NOPORTDOCS=yes
|
|
|
|
.endif
|
|
|
|
|
2002-12-22 18:08:11 +00:00
|
|
|
USE_GMAKE= yes
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2006-01-22 18:47:39 +00:00
|
|
|
USE_GNOME= gnometarget gnomehack
|
2005-03-23 20:32:28 +00:00
|
|
|
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen
|
2005-02-22 23:35:04 +00:00
|
|
|
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
2002-12-22 18:08:11 +00:00
|
|
|
AUTOHEADER="${TRUE}"
|
2002-10-10 10:26:55 +00:00
|
|
|
|
2003-11-08 22:37:27 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/blitz
|
|
|
|
|
2005-02-22 23:35:04 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-10-10 10:26:55 +00:00
|
|
|
post-patch:
|
2002-12-22 18:08:11 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
|
|
|
|
s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \
|
|
|
|
s|-O2||g' ${WRKSRC}/configure
|
2002-10-10 10:26:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|