PageRenderTime 46ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/math/blitz++/Makefile

https://github.com/johnnywalker/freebsd-ports
Makefile | 44 lines | 29 code | 8 blank | 7 comment | 1 complexity | 5172afcec7d9f01467bc0e38a8e87e30 MD5 | raw file
  1. # ex:ts=8
  2. # Ports collection makefile for: blitz++
  3. # Date created: Jul 25, 2002
  4. # Whom: ijliao
  5. #
  6. # $FreeBSD$
  7. #
  8. PORTNAME= blitz++
  9. PORTVERSION= 0.9
  10. PORTREVISION= 6
  11. CATEGORIES= math
  12. MASTER_SITES= SF/blitz/blitz/Blitz%2B%2B%20${PORTVERSION}
  13. DISTNAME= blitz-${PORTVERSION}
  14. MAINTAINER= bf@FreeBSD.org
  15. COMMENT= A C++ class library for scientific computing
  16. .ifndef NOPORTDOCS
  17. BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
  18. texi2dvi:${PORTSDIR}/print/texinfo
  19. INFO= blitz
  20. .else
  21. MAKE_ARGS= NOPORTDOCS=yes
  22. .endif
  23. USE_GMAKE= yes
  24. USE_AUTOTOOLS= libtool
  25. USE_GNOME= gnomehack
  26. CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen
  27. MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
  28. AUTOHEADER="${TRUE}"
  29. MAKE_JOBS_UNSAFE= yes
  30. DOCSDIR= ${PREFIX}/share/doc/blitz
  31. USE_LDCONFIG= yes
  32. post-patch:
  33. @${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
  34. s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \
  35. s|-O2||g' ${WRKSRC}/configure
  36. .include <bsd.port.mk>