[csw-devel] SF.net SVN: gar:[18253] csw/mgar/pkg

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Thu Jun 7 16:54:17 CEST 2012


Revision: 18253
          http://gar.svn.sourceforge.net/gar/?rev=18253&view=rev
Author:   pfelecan
Date:     2012-06-07 14:54:17 +0000 (Thu, 07 Jun 2012)
Log Message:
-----------
migrated from a private recipe to a GAR based one

Added Paths:
-----------
    csw/mgar/pkg/bibtex2html/
    csw/mgar/pkg/bibtex2html/Makefile
    csw/mgar/pkg/bibtex2html/branches/
    csw/mgar/pkg/bibtex2html/tags/
    csw/mgar/pkg/bibtex2html/trunk/
    csw/mgar/pkg/bibtex2html/trunk/Makefile
    csw/mgar/pkg/bibtex2html/trunk/checksums
    csw/mgar/pkg/bibtex2html/trunk/files/
    csw/mgar/pkg/bibtex2html/trunk/files/0001-installation-desination-directories.patch

Added: csw/mgar/pkg/bibtex2html/Makefile
===================================================================
--- csw/mgar/pkg/bibtex2html/Makefile	                        (rev 0)
+++ csw/mgar/pkg/bibtex2html/Makefile	2012-06-07 14:54:17 UTC (rev 18253)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/bibtex2html/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/bibtex2html/trunk/Makefile
===================================================================
--- csw/mgar/pkg/bibtex2html/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/bibtex2html/trunk/Makefile	2012-06-07 14:54:17 UTC (rev 18253)
@@ -0,0 +1,71 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = bibtex2html
+VERSION = 1.97
+GARTYPE = v2
+CATEGORIES = apps
+
+DESCRIPTION = a collection of tools for translating from BibTeX to HTML
+define BLURB
+  bibtex2html is a collection of tools for translating from BibTeX to
+  HTML. They allow to produce, from a set of bibliography files in
+  BibTeX format, a bibliography in HTML format. Here are some
+  features:
+
+  - Handle any BibTeX style (even those producing multiple bibliographies);
+  - Use additional fields like abstract, url, ps, etc. to insert web links;
+  - Crossrefs are also replaced by links;
+  - Sort by dates or authors, in increasing or decreasing order;
+  - Read simple macros in TeX or LaTeX files;
+  - Show syntax errors in BibTeX files;
+  - Extract from one or several BibTeX files the set of entries
+    satisfying a given criterion.
+endef
+
+MASTER_SITES = http://www.lri.fr/~filliatr/ftp/bibtex2html/
+DISTFILES  = $(DISTNAME).tar.gz
+
+BUILD_DEP_PKGS		=	CSWocaml
+BUILD_DEP_PKGS		+=	CSWtetex
+BUILD_DEP_PKGS		+=	CSWhevea
+
+RUNTIME_DEP_PKGS	=	CSWtetex
+RUNTIME_DEP_PKGS	+=	CSWperl
+
+PATCHFILES			+=	0001-installation-desination-directories.patch
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+BUILD_SCRIPTS	=	nominal
+BUILD_SCRIPTS	+=	doc
+
+INSTALL_SCRIPTS	=	nominal
+INSTALL_SCRIPTS	+=	doc
+
+# there is no check:
+SKIPTEST		=	1
+
+include gar/category.mk
+
+build-nominal:
+	PATH="/opt/csw/gnu:$$PATH" $(MAKE) -C $(WORKSRC)
+	$(MAKECOOKIE)
+
+build-doc:
+	PATH="/opt/csw/gnu:$$PATH" $(MAKE) -C $(WORKSRC) $(subst build-,,$@)
+	$(MAKECOOKIE)
+
+install-nominal:
+	PATH="/opt/csw/gnu:$$PATH" $(MAKE) -C $(WORKSRC) DESTDIR="$(DESTDIR)" install
+	rm -rf "$(DESTDIR)$(datadir)/$(NAME)/"*.tar.gz
+	$(MAKECOOKIE)
+
+install-doc:
+	ginstall -d "$(DESTDIR)$(docdir)/$(NAME)"
+	PATH="/opt/csw/gnu:$$PATH" $(MAKE) -C $(WORKSRC) DESTDIR="$(DESTDIR)" $@
+	$(MAKECOOKIE)
+
+# this is private and not available publicly
+mydependencies:
+	$(HOME)/bin/ocswdeplist --package $(NAME)


Property changes on: csw/mgar/pkg/bibtex2html/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/bibtex2html/trunk/checksums
===================================================================
--- csw/mgar/pkg/bibtex2html/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/bibtex2html/trunk/checksums	2012-06-07 14:54:17 UTC (rev 18253)
@@ -0,0 +1 @@
+d20d0d607be3f6aa770554f3eee0dde1  bibtex2html-1.97.tar.gz

Added: csw/mgar/pkg/bibtex2html/trunk/files/0001-installation-desination-directories.patch
===================================================================
--- csw/mgar/pkg/bibtex2html/trunk/files/0001-installation-desination-directories.patch	                        (rev 0)
+++ csw/mgar/pkg/bibtex2html/trunk/files/0001-installation-desination-directories.patch	2012-06-07 14:54:17 UTC (rev 18253)
@@ -0,0 +1,34 @@
+From d8ce9faee3770b4e3cca9fe6e2af4b29a287c5c2 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Thu, 7 Jun 2012 16:43:26 +0200
+Subject: [PATCH] installation desination directories
+
+---
+ Makefile.in |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 7679ad8..a8e00a8 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -21,14 +21,14 @@
+ # where to put executable files
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-BINDIR=@bindir@
++BINDIR=$(DESTDIR)@bindir@
+ EXE=@EXE@
+ 
+ # where to install the man pages
+-MANDIR = @mandir@
++MANDIR = $(DESTDIR)@mandir@
+ 
+ # where to install the doc
+-DOCDIR = $(prefix)/doc/bibtex2html
++DOCDIR = $(DESTDIR)$(prefix)/doc/bibtex2html
+ 
+ #########################################
+ # End of configuration part
+-- 
+1.7.10.3
+

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