1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build with texlive

Fix build on head without makeinfo
Support stage
USES=libtool
Use options helpers
This commit is contained in:
Baptiste Daroussin 2014-07-21 22:30:39 +00:00
parent b7dc121707
commit 1ca645eebe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362511
2 changed files with 14 additions and 13 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= blitz++
PORTVERSION= 0.9
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= math
MASTER_SITES= SF/blitz/blitz/Blitz%2B%2B%20${PORTVERSION}
DISTNAME= blitz-${PORTVERSION}
@ -11,26 +11,27 @@ DISTNAME= blitz-${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= C++ class library for scientific computing
.ifndef NOPORTDOCS
BUILD_DEPENDS= dvips:${PORTSDIR}/print/dvipsk-tetex \
texi2dvi:${PORTSDIR}/print/texinfo
INFO= blitz
.else
MAKE_ARGS= NOPORTDOCS=yes
.endif
OPTIONS_DEFINE= DOCS
USE_AUTOTOOLS= libtool
USES= pathfix gmake
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen
DOCS_USE= TEX=dvipsk,formats
DOCS_USES= makeinfo
DOCS_INFO= blitz
DOCS_BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo \
texi2html:${PORTSDIR}/textproc/texi2html
DOCS_MAKE_ARGS_OFF= NOPORTDOCS=yes
GNU_CONFIGURE= yes
USES= libtool pathfix gmake
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen --enable-shared
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
DOCSDIR= ${PREFIX}/share/doc/blitz
USE_LDCONFIG= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \

View File

@ -161,9 +161,9 @@ include/random/mt.h
include/random/normal.h
include/random/uniform.h
lib/libblitz.a
lib/libblitz.la
lib/libblitz.so
lib/libblitz.so.0
lib/libblitz.so.0.0.0
libdata/pkgconfig/blitz.pc
libdata/pkgconfig/blitz-uninstalled.pc
%%PORTDOCS%%%%DOCSDIR%%/blitz.gif