diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-01-20 18:37:32 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-01-20 18:37:32 +0000 |
commit | 2bc83f0c84a816542bad0b7972af1f2f90cbd31e (patch) | |
tree | 4d2141f0cafd778ce492514a168016fb54ab1631 /textproc | |
parent | 858184bdde6f3de9a1971f1ed0a45836b9c2e77a (diff) | |
download | FreeBSD-ports-2bc83f0c84a816542bad0b7972af1f2f90cbd31e.zip FreeBSD-ports-2bc83f0c84a816542bad0b7972af1f2f90cbd31e.tar.gz |
add htmltolatex 1
HTML to LaTeX to PDF Converter
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/htmltolatex/Makefile | 33 | ||||
-rw-r--r-- | textproc/htmltolatex/distinfo | 1 | ||||
-rw-r--r-- | textproc/htmltolatex/files/patch-h2l.l | 11 | ||||
-rw-r--r-- | textproc/htmltolatex/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/htmltolatex/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/htmltolatex/pkg-plist | 3 |
7 files changed, 54 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 0f24635..00b0cfb 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -67,6 +67,7 @@ SUBDIR += html2fo SUBDIR += htmldoc SUBDIR += htmlsection + SUBDIR += htmltolatex SUBDIR += info2html SUBDIR += info_to_html SUBDIR += intltool diff --git a/textproc/htmltolatex/Makefile b/textproc/htmltolatex/Makefile new file mode 100644 index 0000000..b6b9b52 --- /dev/null +++ b/textproc/htmltolatex/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# New ports collection makefile for: htmltolatex +# Date created: Jan 19, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= htmltolatex +PORTVERSION= 1 +CATEGORIES= textproc +MASTER_SITES= http://66.108.152.41/~nradisch/docgen/ +DISTNAME= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= Magick:${PORTSDIR}/graphics/ImageMagick + +USE_BISON= yes +MAKEFILE= GNUmakefile +CXXFLAGS+= -I${LOCALBASE}/include -DUNIX +USE_GMAKE= yes + +post-patch: + @${PERL} -pi -e "s,^CXXFLAGS,#CXXFLAGS,g ; \ + s,^CXX,#CXX,g" ${WRKSRC}/${MAKEFILE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/h2l ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/nmr.tex ${DATADIR} + +.include <bsd.port.mk> diff --git a/textproc/htmltolatex/distinfo b/textproc/htmltolatex/distinfo new file mode 100644 index 0000000..c820cbb --- /dev/null +++ b/textproc/htmltolatex/distinfo @@ -0,0 +1 @@ +MD5 (htmltolatex.tar.gz) = aec7a4682c97b42481af9b4321a8600e diff --git a/textproc/htmltolatex/files/patch-h2l.l b/textproc/htmltolatex/files/patch-h2l.l new file mode 100644 index 0000000..c37e6e0 --- /dev/null +++ b/textproc/htmltolatex/files/patch-h2l.l @@ -0,0 +1,11 @@ +--- h2l.l.orig Sun Jan 20 14:47:49 2002 ++++ h2l.l Sun Jan 20 14:47:56 2002 +@@ -2,7 +2,7 @@ + #include "CLexData.h" + #define YYSTYPE CLexDataPtr + +-#include "h2l.tab.cpp.h" ++#include "h2l.tab.hpp" + #include "CH2L.h" + #include "util.h" + #include <assert.h> diff --git a/textproc/htmltolatex/pkg-comment b/textproc/htmltolatex/pkg-comment new file mode 100644 index 0000000..a9125ca --- /dev/null +++ b/textproc/htmltolatex/pkg-comment @@ -0,0 +1 @@ +HTML to LaTeX to PDF Converter diff --git a/textproc/htmltolatex/pkg-descr b/textproc/htmltolatex/pkg-descr new file mode 100644 index 0000000..851fdb9 --- /dev/null +++ b/textproc/htmltolatex/pkg-descr @@ -0,0 +1,4 @@ +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/ diff --git a/textproc/htmltolatex/pkg-plist b/textproc/htmltolatex/pkg-plist new file mode 100644 index 0000000..4ab29a6 --- /dev/null +++ b/textproc/htmltolatex/pkg-plist @@ -0,0 +1,3 @@ +bin/h2l +share/htmltolatex/nmr.tex +@dirrm share/htmltolatex |