2013-09-20 22:55:04 +02:00
|
|
|
# Created by: ijliao
|
2002-10-10 12:26:55 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= blitz++
|
2006-01-22 19:47:39 +01:00
|
|
|
PORTVERSION= 0.9
|
2016-12-08 17:07:33 +01:00
|
|
|
PORTREVISION= 9
|
2002-10-10 12:26:55 +02:00
|
|
|
CATEGORIES= math
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/blitz/blitz/Blitz%2B%2B%20${PORTVERSION}
|
2005-02-23 00:35:04 +01:00
|
|
|
DISTNAME= blitz-${PORTVERSION}
|
2002-10-10 12:26:55 +02:00
|
|
|
|
2016-06-27 23:30:34 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= C++ class library for scientific computing
|
2002-10-10 12:26:55 +02:00
|
|
|
|
2014-07-22 00:30:39 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
DOCS_USE= TEX=dvipsk,formats
|
|
|
|
DOCS_USES= makeinfo
|
|
|
|
DOCS_INFO= blitz
|
2016-04-01 16:16:16 +02:00
|
|
|
DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo \
|
|
|
|
texi2html:textproc/texi2html
|
2014-07-22 00:30:39 +02:00
|
|
|
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USES= libtool pathfix gmake
|
|
|
|
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen --enable-shared
|
2005-02-23 00:35:04 +01:00
|
|
|
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
2002-12-22 19:08:11 +01:00
|
|
|
AUTOHEADER="${TRUE}"
|
2009-11-19 23:07:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2014-07-22 00:30:39 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2002-10-10 12:26:55 +02:00
|
|
|
|
2003-11-08 23:37:27 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/blitz
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-02-23 00:35:04 +01:00
|
|
|
|
2002-10-10 12:26:55 +02:00
|
|
|
post-patch:
|
2002-12-22 19:08:11 +01: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 12:26:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|