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
|
2011-06-18 16:13:31 +00:00
|
|
|
PORTREVISION= 6
|
2002-10-10 10:26:55 +00:00
|
|
|
CATEGORIES= math
|
2009-08-22 00:28:34 +00:00
|
|
|
MASTER_SITES= SF/blitz/blitz/Blitz%2B%2B%20${PORTVERSION}
|
2005-02-22 23:35:04 +00:00
|
|
|
DISTNAME= blitz-${PORTVERSION}
|
2002-10-10 10:26:55 +00:00
|
|
|
|
2007-06-11 09:08:12 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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
|
2011-06-18 16:13:31 +00:00
|
|
|
BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
|
|
|
|
texi2dvi:${PORTSDIR}/print/texinfo
|
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
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
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}"
|
2009-11-19 22:07:43 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2002-10-10 10:26:55 +00:00
|
|
|
|
2003-11-08 22:37:27 +00: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 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2005-02-22 23:35:04 +00:00
|
|
|
|
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>
|