diff options
Diffstat (limited to 'textproc/hevea')
-rw-r--r-- | textproc/hevea/Makefile | 7 | ||||
-rw-r--r-- | textproc/hevea/PLIST | 17 | ||||
-rw-r--r-- | textproc/hevea/distinfo | 8 | ||||
-rw-r--r-- | textproc/hevea/patches/patch-aa | 66 |
4 files changed, 66 insertions, 32 deletions
diff --git a/textproc/hevea/Makefile b/textproc/hevea/Makefile index cf2c3871547..e369b1a0560 100644 --- a/textproc/hevea/Makefile +++ b/textproc/hevea/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2003/06/25 21:01:47 jmc Exp $ +# $NetBSD: Makefile,v 1.5 2003/06/29 22:57:14 jtb Exp $ -DISTNAME= hevea-1.05 -PKGREVISION= 1 +DISTNAME= hevea-1.06 CATEGORIES= textproc -MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/para/hevea/ +MASTER_SITES= http://para.inria.fr/~maranget/hevea/distri/ MAINTAINER= tech-pkg@netbsd.org HOMEPAGE= http://para.inria.fr/~maranget/hevea/ diff --git a/textproc/hevea/PLIST b/textproc/hevea/PLIST index 25409e34829..5d13c6d039e 100644 --- a/textproc/hevea/PLIST +++ b/textproc/hevea/PLIST @@ -1,7 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:56:50 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/06/29 22:57:14 jtb Exp $ bin/hacha bin/hevea +bin/esponja bin/imagen +share/hevea/alltt.hva share/hevea/amsmath.hva share/hevea/articlecommon.hva share/hevea/babel.hva @@ -16,11 +18,14 @@ share/hevea/hevea.sty share/hevea/html/article.hva share/hevea/html/book.hva share/hevea/html/color.hva +share/hevea/html/colortbl.hva share/hevea/html/commongraphic.hva share/hevea/html/fancysection.hva +share/hevea/html/fancyvrb.hva share/hevea/html/graphics.hva share/hevea/html/graphicx.hva share/hevea/html/hevea.hva +share/hevea/html/png.hva share/hevea/html/report.hva share/hevea/html/seminar.hva share/hevea/html/sword.hva @@ -37,6 +42,7 @@ share/hevea/index.hva share/hevea/info/article.hva share/hevea/info/book.hva share/hevea/info/color.hva +share/hevea/info/colortbl.hva share/hevea/info/fancysection.hva share/hevea/info/hevea.hva share/hevea/info/report.hva @@ -44,22 +50,31 @@ share/hevea/info/seminar.hva share/hevea/iso-symb.hva share/hevea/keyval.hva share/hevea/latexcommon.hva +share/hevea/listings.hva +share/hevea/lstlang1.hva +share/hevea/lstlang2.hva +share/hevea/lstlang3.hva share/hevea/makeidx.hva share/hevea/mathaccents.hva +share/hevea/mathop.hva share/hevea/moreverb.hva share/hevea/multind.hva share/hevea/next_motif.gif share/hevea/packages.hva +share/hevea/plain.hva share/hevea/previous_motif.gif +share/hevea/program.hva share/hevea/spaces.hva share/hevea/text/article.hva share/hevea/text/book.hva share/hevea/text/color.hva +share/hevea/text/colortbl.hva share/hevea/text/fancysection.hva share/hevea/text/hevea.hva share/hevea/text/report.hva share/hevea/text/seminar.hva share/hevea/text/symb.hva +share/hevea/underscore.hva share/hevea/url.hva share/hevea/verbatim.hva share/hevea/xxdate.exe diff --git a/textproc/hevea/distinfo b/textproc/hevea/distinfo index 70d50678fd3..166b95155d0 100644 --- a/textproc/hevea/distinfo +++ b/textproc/hevea/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2003/06/23 20:36:15 jtb Exp $ +$NetBSD: distinfo,v 1.3 2003/06/29 22:57:15 jtb Exp $ -SHA1 (hevea-1.05.tar.gz) = 1e4236491717cbdbb9fa9c01ecf5d21e892513ba -Size (hevea-1.05.tar.gz) = 148837 bytes -SHA1 (patch-aa) = fee12ad55489bd252be8456abe002bde2e733c66 +SHA1 (hevea-1.06.tar.gz) = e973ed329287adbf64703c578401ad0287c895f7 +Size (hevea-1.06.tar.gz) = 231094 bytes +SHA1 (patch-aa) = 55e5ea6f48e434c162d7c08a47ef3903346ac6ec diff --git a/textproc/hevea/patches/patch-aa b/textproc/hevea/patches/patch-aa index 45927d6b593..7d66a9f1a19 100644 --- a/textproc/hevea/patches/patch-aa +++ b/textproc/hevea/patches/patch-aa @@ -1,12 +1,10 @@ -$NetBSD: patch-aa,v 1.2 2003/06/23 20:36:15 jtb Exp $ +$NetBSD: patch-aa,v 1.3 2003/06/29 22:57:15 jtb Exp $ --- Makefile.orig +++ Makefile -@@ -1,12 +1,12 @@ - ################## Configuration parameters +@@ -2,11 +2,11 @@ # Compile using ocamlopt, to use ocamlc set TARGET=byte --TARGET=opt -+#TARGET=opt + TARGET=opt # Library directory of hevea -LIBDIR=/usr/local/lib/hevea +LIBDIR=${PREFIX}/share/hevea @@ -14,37 +12,37 @@ $NetBSD: patch-aa,v 1.2 2003/06/23 20:36:15 jtb Exp $ -BINDIR=/usr/local/bin +BINDIR=${PREFIX}/bin # A replacement for /lib/cpp --CPP=gcc -E -P -x c -+#CPP=gcc -E -P -x c +-CPP=gcc -E -P -x c ++#CPP=gcc -E -P -x c ############### End of configuration parameters - - HEVEA=./hevea.$(TARGET) -@@ -14,7 +14,7 @@ - OCAMLCI=ocamlc - OCAMLOPT=ocamlopt - OCAMLLEX=ocamllex + SUF= + #DIR=/usr/bin/ +@@ -18,7 +18,7 @@ + OCAMLCI=${DIR}ocamlc$(SUF) + OCAMLOPT=${DIR}ocamlopt$(SUF) + OCAMLLEX=${DIR}ocamllex$(SUF) -INSTALL=cp -+INSTALL=$(BSD_INSTALL_DATA) - OBJS=version.cmo stack.cmo location.cmo misc.cmo out.cmo table.cmo parse_opts.cmo mylib.cmo myfiles.cmo symb.cmo save.cmo auxx.cmo lexstate.cmo subst.cmo latexmacros.cmo counter.cmo noimage.cmo image.cmo length.cmo get.cmo tabular.cmo htmlCommon.cmo htmlMath.cmo mathML.cmo html.cmo text.cmo infoRef.cmo info.cmo section.cmo foot.cmo entry.cmo index.cmo colscan.cmo color.cmo hot.cmo package.cmo videoc.cmo verb.cmo latexscan.cmo zyva.cmo latexmain.cmo - OBJSCUT=version.cmo stack.cmo location.cmo misc.cmo out.cmo thread.cmo cross.cmo mylib.cmo section.cmo length.cmo save.cmo cut.cmo cutmain.cmo - GENSRC=colscan.ml cut.ml entry.ml get.ml latexscan.ml length.ml save.ml tabular.ml videoc.ml verb.ml infoRef.ml subst.ml -@@ -36,28 +36,28 @@ - $(MAKE) $(MFLAGS) TARGET=byte hevea.byte hacha.byte cutfoot-fra.html cutfoot-eng.html ++INSTALL=${BSD_INSTALL_DATA} + + ONLYESPONJA=emisc.cmo buff.cmo htmllex.cmo htmlparse.cmo htmltext.cmo pp.cmo util.cmo explode.cmo ultra.cmo esponja.cmo + +@@ -46,30 +46,30 @@ + $(MAKE) $(MFLAGS) TARGET=byte hevea.byte hacha.byte esponja.byte cutfoot-fra.html cutfoot-eng.html install-lib: - -mkdir $(LIBDIR) - $(INSTALL) hevea.sty cutfoot-fra.html cutfoot-eng.html footer.tex ${LIBDIR} - $(INSTALL) contents_motif.gif next_motif.gif previous_motif.gif ${LIBDIR} - $(INSTALL) $(ALLLIB) $(LIBDIR) -- -mkdir $(LIBDIR)/html +- -mkdir $(LIBDIR)/html - cd html ; $(INSTALL) $(HTMLLIB) $(LIBDIR)/html -- -mkdir $(LIBDIR)/text +- -mkdir $(LIBDIR)/text - cd text ; $(INSTALL) $(TEXTLIB) $(LIBDIR)/text - -mkdir $(LIBDIR)/info - cd info ; $(INSTALL) $(INFOLIB) $(LIBDIR)/info + $(BSD_INSTALL_DATA_DIR) $(LIBDIR) -+ $(BSD_INSTALL_DATA) hevea.sty cutfoot-fra.html cutfoot-eng.html footer.tex ${LIBDIR} -+ $(BSD_INSTALL_DATA) contents_motif.gif next_motif.gif previous_motif.gif ${LIBDIR} ++ $(BSD_INSTALL_DATA) hevea.sty cutfoot-fra.html cutfoot-eng.html footer.tex $(LIBDIR) ++ $(BSD_INSTALL_DATA) contents_motif.gif next_motif.gif previous_motif.gif $(LIBDIR) + $(BSD_INSTALL_DATA) $(ALLLIB) $(LIBDIR) + $(BSD_INSTALL_DATA_DIR) $(LIBDIR)/html + cd html ; $(BSD_INSTALL_DATA) $(HTMLLIB) $(LIBDIR)/html @@ -58,18 +56,40 @@ $NetBSD: patch-aa,v 1.2 2003/06/23 20:36:15 jtb Exp $ install-opt: install-lib - $(INSTALL) hevea.opt $(BINDIR)/hevea - $(INSTALL) hacha.opt $(BINDIR)/hacha +- $(INSTALL) esponja.opt $(BINDIR)/esponja - $(INSTALL) imagen $(BINDIR) + $(BSD_INSTALL_PROGRAM) hevea.opt $(BINDIR)/hevea + $(BSD_INSTALL_PROGRAM) hacha.opt $(BINDIR)/hacha ++ $(BSD_INSTALL_PROGRAM) esponja.opt $(BINDIR)/esponja + $(BSD_INSTALL_SCRIPT) imagen $(BINDIR) install-byte: install-lib - $(INSTALL) hevea.byte $(BINDIR)/hevea - $(INSTALL) hacha.byte $(BINDIR)/hacha +- $(INSTALL) esponja.byte $(BINDIR)/esponja - $(INSTALL) imagen $(BINDIR) + $(BSD_INSTALL_SCRIPT) hevea.byte $(BINDIR)/hevea + $(BSD_INSTALL_SCRIPT) hacha.byte $(BINDIR)/hacha ++ $(BSD_INSTALL_SCRIPT) esponja.byte $(BINDIR)/esponja + $(BSD_INSTALL_SCRIPT) imagen $(BINDIR) hevea.byte: ${OBJS} +@@ -103,7 +103,7 @@ + HEVEADIR=. ; export HEVEADIR ; ${HEVEA} < cutfoot.tex | ${ESPONJA}> $@ + + .SUFFIXES: +-.SUFFIXES: .ml .cmo .mli .cmi .c .mll .cmx ++.SUFFIXES: .ml .cmo .mli .cmi .c .mll .cmx + + .mll.ml: + ${OCAMLLEX} $< +@@ -128,7 +128,7 @@ + rm -f *.byte *.opt + rm -f $(GENSRC) + rm -f *.o *.cmi *.cmo *.cmx *.o *.ppo *.ppi +- rm -f *~ #*# html/*~ html/#*# text/*~ text/#*# info/*~ info/#*# ++ rm -f *~ #*# html/*~ html/#*# text/*~ text/#*# info/*~ info/#*# + rm -f cutfoot-fra.html cutfoot-eng.html + + depend: $(GENSRC) |