[csw-devel] SF.net SVN: gar:[18328] csw/mgar/pkg
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Mon Jun 11 15:59:33 CEST 2012
Revision: 18328
http://gar.svn.sourceforge.net/gar/?rev=18328&view=rev
Author: pfelecan
Date: 2012-06-11 13:59:32 +0000 (Mon, 11 Jun 2012)
Log Message:
-----------
migrated from a private recipe to a GAR based one.
Added Paths:
-----------
csw/mgar/pkg/hevea/
csw/mgar/pkg/hevea/Makefile
csw/mgar/pkg/hevea/branches/
csw/mgar/pkg/hevea/tags/
csw/mgar/pkg/hevea/trunk/
csw/mgar/pkg/hevea/trunk/Makefile
csw/mgar/pkg/hevea/trunk/checksums
csw/mgar/pkg/hevea/trunk/files/
csw/mgar/pkg/hevea/trunk/files/0001-Fix-installation-paths.patch
csw/mgar/pkg/hevea/trunk/files/CSWhevea.postinstall
Added: csw/mgar/pkg/hevea/Makefile
===================================================================
--- csw/mgar/pkg/hevea/Makefile (rev 0)
+++ csw/mgar/pkg/hevea/Makefile 2012-06-11 13:59:32 UTC (rev 18328)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/hevea/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/hevea/trunk/Makefile
===================================================================
--- csw/mgar/pkg/hevea/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/hevea/trunk/Makefile 2012-06-11 13:59:32 UTC (rev 18328)
@@ -0,0 +1,61 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = hevea
+VERSION = 1.10
+GARTYPE = v2
+CATEGORIES = apps
+
+DESCRIPTION = A fast LaTeX to HTML translator
+define BLURB
+ HEVEA is a LaTeX to HTML translator. The input language is a fairly
+ complete subset of LaTeX2e (old LaTeX style is also accepted) and the
+ output language is HTML that is (hopefully) correct with respect to
+ version 4.0 (transitional)
+
+ Exotic symbols are translated into the so-called HTML 'entities',
+ in other words into references to UNICODE chararacters.
+
+ HEVEA understands LaTeX macro definitions. Simple user style
+ files are understood with little or no modifications.
+ Furthermore, HEVEA customization is done by writing LaTeX code.
+
+ HEVEA is written in Objective Caml, as many lexers. It is quite fast
+ and flexible. Using HEVEA it is possible to translate large documents
+ such as manuals, books, etc. very quickly. All documents are
+ translated as one single HTML file. Then, the output file can be cut
+ into smaller files, using the companion program HACHA.
+endef
+
+MASTER_SITES = http://hevea.inria.fr/distri/
+DISTFILES = $(DISTNAME).tar.gz
+DISTFILES += CSWhevea.postinstall
+
+LICENSE = LICENSE
+
+BUILD_DEP_PKGS = CSWocaml
+BUILD_DEP_PKGS += CSWtetex
+
+RUNTIME_DEP_PKGS = CSWtetex
+RUNTIME_DEP_PKGS += CSWnetpbm
+
+PATCHFILES = 0001-Fix-installation-paths.patch
+
+CONFIGURE_SCRIPTS =
+
+SKIPTEST = 1
+
+# these are overrides for binaries called internally:
+CHECKPKG_OVERRIDES_CSWhevea += missing-dependency|CSWtetex
+CHECKPKG_OVERRIDES_CSWhevea += surplus-dependency|CSWnetpbm
+
+include gar/category.mk
+
+pre-install-modulated:
+ cd $(WORKSRC) && gsed -i 's:^DESTDIR=$$:DESTDIR=$(DESTDIR):' config.sh
+ $(MAKECOOKIE)
+
+post-install-modulated:
+ cd $(WORKSRC) && ginstall -d $(DESTDIR)$(docdir)/$(NAME)
+ cd $(WORKSRC) && ginstall README $(DESTDIR)$(docdir)/$(NAME)
+ $(MAKECOOKIE)
Property changes on: csw/mgar/pkg/hevea/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/hevea/trunk/checksums
===================================================================
--- csw/mgar/pkg/hevea/trunk/checksums (rev 0)
+++ csw/mgar/pkg/hevea/trunk/checksums 2012-06-11 13:59:32 UTC (rev 18328)
@@ -0,0 +1 @@
+24a631570bee3cc4b8350e9db39be62b hevea-1.10.tar.gz
Added: csw/mgar/pkg/hevea/trunk/files/0001-Fix-installation-paths.patch
===================================================================
--- csw/mgar/pkg/hevea/trunk/files/0001-Fix-installation-paths.patch (rev 0)
+++ csw/mgar/pkg/hevea/trunk/files/0001-Fix-installation-paths.patch 2012-06-11 13:59:32 UTC (rev 18328)
@@ -0,0 +1,34 @@
+From ba2ad3d8fe7ba4fadfaccfa708e38cc541702bd0 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Mon, 11 Jun 2012 15:37:21 +0200
+Subject: [PATCH] Fix installation paths
+
+---
+ Makefile | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index dd90bcb..fc69107 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,15 +2,14 @@
+ # Compile using ocamlopt, to use ocamlc set TARGET=byte
+ TARGET=opt
+ # Install prefix
+-PREFIX=/usr/local
++PREFIX=$(prefix)
+ # Library directory of hevea
+ LIBDIR=$(PREFIX)/lib/hevea
+ # Where to install programms
+ BINDIR=$(PREFIX)/bin
+ # Install prefix prefix
+-DESTDIR=
+ #Where to install hevea.sty
+-LATEXLIBDIR=$(PREFIX)/lib/hevea
++LATEXLIBDIR=$(PREFIX)/share/texmf-local/tex/latex/hevea
+ ##### Advanced configuration parameters
+ SUF=
+ DIR=
+--
+1.7.10.3
+
Added: csw/mgar/pkg/hevea/trunk/files/CSWhevea.postinstall
===================================================================
--- csw/mgar/pkg/hevea/trunk/files/CSWhevea.postinstall (rev 0)
+++ csw/mgar/pkg/hevea/trunk/files/CSWhevea.postinstall 2012-06-11 13:59:32 UTC (rev 18328)
@@ -0,0 +1,32 @@
+# $Id$
+
+Error()
+{
+ echo "postinstall: anomaly : $1" >&2
+ exit 1
+}
+
+Warning()
+{
+ echo "warning:" "$1" >&2
+}
+
+if [ -x /opt/csw/bin/mktexlsr ]
+then
+{
+ echo "Running mktexlsr. This may take some time..."
+ bash /opt/csw/bin/mktexlsr ||
+ Warning "mktexlsr failed! You need to run mktexlsr again"
+}
+else
+{
+ Warning "cannot update TeX hash: /opt/csw/bin/mktexlsr is not an executable!"
+}
+fi
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# mode: font-lock
+# End:
Property changes on: csw/mgar/pkg/hevea/trunk/files/CSWhevea.postinstall
___________________________________________________________________
Added: svn:keywords
+ Author Date HeadURL Id Revision
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list