diff options
author | jtb <jtb> | 2003-06-23 20:36:13 +0000 |
---|---|---|
committer | jtb <jtb> | 2003-06-23 20:36:13 +0000 |
commit | b7fe612047aed8fdffdcb3c945ed99e6ee800210 (patch) | |
tree | fc1a8ad97b33b712e9b33d4a0e975f32a135c971 /textproc/hevea | |
parent | 0c1324d1612d68ef1aadd7c7b6a782d004034118 (diff) | |
download | pkgsrc-b7fe612047aed8fdffdcb3c945ed99e6ee800210.tar.gz |
Build with native code compilers on systems where they're available,
which now includes powerpc and sparc.
Bump PKGREVISION.
Diffstat (limited to 'textproc/hevea')
-rw-r--r-- | textproc/hevea/Makefile | 9 | ||||
-rw-r--r-- | textproc/hevea/distinfo | 4 | ||||
-rw-r--r-- | textproc/hevea/patches/patch-aa | 17 |
3 files changed, 17 insertions, 13 deletions
diff --git a/textproc/hevea/Makefile b/textproc/hevea/Makefile index ca30f1961c5..660f9e5f6a4 100644 --- a/textproc/hevea/Makefile +++ b/textproc/hevea/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2003/06/02 01:16:41 jschauma Exp $ +# $NetBSD: Makefile,v 1.3 2003/06/23 20:36:14 jtb Exp $ DISTNAME= hevea-1.05 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/para/hevea/ @@ -10,4 +11,10 @@ COMMENT= LaTeX to HTML translator DEPENDS+= ocaml>=3.00:../../lang/ocaml +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc") +ALL_TARGET=opt +.else +ALL_TARGET=byte +.endif + .include "../../mk/bsd.pkg.mk" diff --git a/textproc/hevea/distinfo b/textproc/hevea/distinfo index 161ca7d6428..70d50678fd3 100644 --- a/textproc/hevea/distinfo +++ b/textproc/hevea/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/06/17 14:36:40 jtb Exp $ +$NetBSD: distinfo,v 1.2 2003/06/23 20:36:15 jtb Exp $ SHA1 (hevea-1.05.tar.gz) = 1e4236491717cbdbb9fa9c01ecf5d21e892513ba Size (hevea-1.05.tar.gz) = 148837 bytes -SHA1 (patch-aa) = 5ed03d085c086153ec949cfad12fc56106ad2b9e +SHA1 (patch-aa) = fee12ad55489bd252be8456abe002bde2e733c66 diff --git a/textproc/hevea/patches/patch-aa b/textproc/hevea/patches/patch-aa index 1143282316f..45927d6b593 100644 --- a/textproc/hevea/patches/patch-aa +++ b/textproc/hevea/patches/patch-aa @@ -1,15 +1,12 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/06/17 14:36:42 jtb Exp $ +$NetBSD: patch-aa,v 1.2 2003/06/23 20:36:15 jtb Exp $ ---- Makefile.orig Fri May 5 07:52:04 2000 +--- Makefile.orig +++ Makefile -@@ -1,12 +1,16 @@ +@@ -1,12 +1,12 @@ ################## Configuration parameters # Compile using ocamlopt, to use ocamlc set TARGET=byte -+.if (${MACHINE_ARCH} == "i386") - TARGET=opt -+.else -+TARGET=byte -+.endif +-TARGET=opt ++#TARGET=opt # Library directory of hevea -LIBDIR=/usr/local/lib/hevea +LIBDIR=${PREFIX}/share/hevea @@ -22,7 +19,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/06/17 14:36:42 jtb Exp $ ############### End of configuration parameters HEVEA=./hevea.$(TARGET) -@@ -14,7 +18,7 @@ +@@ -14,7 +14,7 @@ OCAMLCI=ocamlc OCAMLOPT=ocamlopt OCAMLLEX=ocamllex @@ -31,7 +28,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/06/17 14:36:42 jtb Exp $ 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 +40,28 @@ +@@ -36,28 +36,28 @@ $(MAKE) $(MFLAGS) TARGET=byte hevea.byte hacha.byte cutfoot-fra.html cutfoot-eng.html install-lib: |