diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2008-04-26 17:50:39 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2008-04-26 17:50:39 +0000 |
commit | ddf9542c6149197f770d55bee5275a370ae362bf (patch) | |
tree | 32664c01e6e9ac374ec1fdea0dc9e5b2d43f8b9f /textproc/htmltolatex | |
parent | fc84c73fbe0420ed4e5780d1f9c065ba72dcec14 (diff) |
Fix properly -- it never built after the earlier PORTREVISION dump.
Also:
* Switch to GraphicsMagick for future stability;
* enable parallelized building.
* remove explict linking with -lstdc++.
* fix the bundled-in tests and make them run post-build
* Remove the defunct WWW from pkg-descr
Notes
Notes:
svn path=/head/; revision=212034
Diffstat (limited to 'textproc/htmltolatex')
-rw-r--r-- | textproc/htmltolatex/Makefile | 19 | ||||
-rw-r--r-- | textproc/htmltolatex/pkg-descr | 2 |
2 files changed, 15 insertions, 6 deletions
diff --git a/textproc/htmltolatex/Makefile b/textproc/htmltolatex/Makefile index 605bd9e81f58..b5e716894ac5 100644 --- a/textproc/htmltolatex/Makefile +++ b/textproc/htmltolatex/Makefile @@ -8,7 +8,7 @@ PORTNAME= htmltolatex PORTVERSION= 1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= textproc MASTER_SITES= http://people.FreeBSD.org/~foxfair/distfiles/ DISTNAME= ${PORTNAME} @@ -16,13 +16,24 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= HTML to LaTeX to PDF Converter -LIB_DEPENDS= MagickWand.1:${PORTSDIR}/graphics/ImageMagick +LIB_DEPENDS= GraphicsMagick++:${PORTSDIR}/graphics/GraphicsMagick USE_BISON= build USE_GMAKE= yes MAKEFILE= GNUmakefile -MAKE_ARGS= CXX="${CXX}" \ - CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -DUNIX" +MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu` CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS} -DUNIX \ + `GraphicsMagick++-config --cppflags`" + +post-configure: + ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ + -e 's,-lMagick,-lGraphicsMagick,g' \ + -e 's,-lstdc++,,' \ + -e 's,{quote},{tightquote},' ${WRKSRC}/QA/test1*_baseline*.tex \ + ${WRKSRC}/${MAKEFILE} + +post-build test: + cd ${WRKSRC}/QA && ./run_tests do-install: ${INSTALL_PROGRAM} ${WRKSRC}/h2l ${PREFIX}/bin diff --git a/textproc/htmltolatex/pkg-descr b/textproc/htmltolatex/pkg-descr index 851fdb9a6a5a..459e28a8f3f6 100644 --- a/textproc/htmltolatex/pkg-descr +++ b/textproc/htmltolatex/pkg-descr @@ -1,4 +1,2 @@ This HTML to LaTeX converter attempts to handle all aspects of HTML and style sheets. It works with images, tables, alignments, fonts, etc. - -WWW: http://66.108.152.41/~nradisch/docgen/ |