SF.net SVN: gar:[22549] csw/mgar/pkg
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Mon Nov 18 12:02:34 CET 2013
Revision: 22549
http://gar.svn.sourceforge.net/gar/?rev=22549&view=rev
Author: pfelecan
Date: 2013-11-18 11:02:29 +0000 (Mon, 18 Nov 2013)
Log Message:
-----------
lgrind/trunk: instantiation
Added Paths:
-----------
csw/mgar/pkg/lgrind/
csw/mgar/pkg/lgrind/Makefile
csw/mgar/pkg/lgrind/branches/
csw/mgar/pkg/lgrind/tags/
csw/mgar/pkg/lgrind/trunk/
csw/mgar/pkg/lgrind/trunk/Makefile
csw/mgar/pkg/lgrind/trunk/checksums
csw/mgar/pkg/lgrind/trunk/files/
csw/mgar/pkg/lgrind/trunk/files/0001-adapt-to-OCSW-file-tree.patch
csw/mgar/pkg/lgrind/trunk/files/COPYING
Added: csw/mgar/pkg/lgrind/Makefile
===================================================================
--- csw/mgar/pkg/lgrind/Makefile (rev 0)
+++ csw/mgar/pkg/lgrind/Makefile 2013-11-18 11:02:29 UTC (rev 22549)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/lgrind/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/lgrind/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lgrind/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/lgrind/trunk/Makefile 2013-11-18 11:02:29 UTC (rev 22549)
@@ -0,0 +1,42 @@
+# $Id$
+
+NAME = lgrind
+VERSION = 3.67
+GARTYPE = v2
+
+DESCRIPTION = Produce beautiful listings of source code with LaTeX
+define BLURB
+ LGrind is a descendant of the Unix utility vgrind. It prepares
+ various programming language source code (e.g., C, C++, Pascal,
+ BASIC, Modula2, Fortran, RATFOR Yacc, PostScript, Prolog, MLisp,
+ Icon, LaTeX, Perl, CSH Bourne Shell, assembler, 68000 assembler,
+ asm68, VMS assembler, ISP, LDL, Linda, MODEL, MatLab, Russell) for
+ pretty-printing within LaTeX. Options for producing includable files
+ and processing embedded listings in LaTeX texts are provided.
+endef
+
+DISTNAME = lgrind
+MASTER_SITES = http://mirror.ctan.org/support/
+DISTFILES = $(DISTNAME).zip
+DISTFILES += COPYING
+PATCHFILES += 0001-adapt-to-OCSW-file-tree.patch
+
+BUILD_DEP_PKGS = CSWtexlive
+
+GARCOMPILER = GNU
+
+LINKER_MAP_RELEASE =
+LINKER_MAPS =
+LINKER_DIRECT =
+LINKER_IGNORE =
+
+CONFIGURE_SCRIPTS =
+TEST_SCRIPTS =
+
+RUNTIME_DEP_PKGS_CSWlgrind = CSWtexlive
+CHECKPKG_OVERRIDES_CSWlgrind += surplus-dependency|CSWtexlive
+
+include gar/category.mk
+
+PATH := /opt/csw/gnu:$(PATH)
+
Property changes on: csw/mgar/pkg/lgrind/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/lgrind/trunk/checksums
===================================================================
--- csw/mgar/pkg/lgrind/trunk/checksums (rev 0)
+++ csw/mgar/pkg/lgrind/trunk/checksums 2013-11-18 11:02:29 UTC (rev 22549)
@@ -0,0 +1 @@
+467e7d1b4b697df55f851fc3bc31e978 lgrind.zip
Added: csw/mgar/pkg/lgrind/trunk/files/0001-adapt-to-OCSW-file-tree.patch
===================================================================
--- csw/mgar/pkg/lgrind/trunk/files/0001-adapt-to-OCSW-file-tree.patch (rev 0)
+++ csw/mgar/pkg/lgrind/trunk/files/0001-adapt-to-OCSW-file-tree.patch 2013-11-18 11:02:29 UTC (rev 22549)
@@ -0,0 +1,82 @@
+From 823936598c0bd41f63b0e6ce5d096532c27b0a77 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Mon, 18 Nov 2013 11:58:51 +0100
+Subject: [PATCH] adapt to OCSW file tree
+
+---
+ Makefile | 22 +++++++++++-----------
+ source/Makefile | 5 ++++-
+ 2 files changed, 15 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 01f4c7e..a70ec8f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,17 +2,17 @@
+
+ # $Id: Makefile,v 1.10 2000/12/27 21:42:37 mike Exp $
+
+-BASEDIR=/usr
++BASEDIR=$(prefix)
+ #DEFSFILE=${HOME}/Work/lgrind/lgrindef
+-DEFSFILE=$(BASEDIR)/share/texmf/tex/latex/lgrind/lgrindef
+-TEXFILEDIR=$(BASEDIR)/share/texmf/tex/latex/lgrind
++TEXFILEDIR=$(BASEDIR)/share/texmf-local/tex/latex/lgrind
++DEFSFILE=$(TEXFILEDIR)/lgrindef
+ DOCDIR=$(BASEDIR)/doc/lgrind
+
+-INSTALL=install
++INSTALL=ginstall
+ SOURCES=lgrind.c lgutil.c regexp.c regexp.h lgrindef.c lgrindef.h retest.c v2lg.c
+ TEXFILES=lgrind.dtx lgrind.sty lgrind.ins
+
+-VERSION=3.66
++VERSION=3.67
+ DISTVERSION=lgrind-$(VERSION)
+
+ .PHONY: all install clean distribution lgrind
+@@ -54,10 +54,10 @@ distribution: clean
+ rm -r $(DISTVERSION)
+
+ install: all
+- $(INSTALL) -m 755 -d $(TEXFILEDIR)
+- $(INSTALL) -m 644 lgrind.sty $(TEXFILEDIR)
+- $(INSTALL) -m 755 -d $(DOCDIR)
+- $(INSTALL) -m 644 lgrind.dvi $(DOCDIR)
+- $(INSTALL) -m 644 lgrindef $(DEFSFILE)
++ $(INSTALL) -m 755 -d $(DESTDIR)$(TEXFILEDIR)
++ $(INSTALL) -m 644 lgrind.sty $(DESTDIR)$(TEXFILEDIR)
++ $(INSTALL) -m 755 -d $(DESTDIR)$(DOCDIR)
++ $(INSTALL) -m 644 lgrind.dvi $(DESTDIR)$(DOCDIR)
++ $(INSTALL) -m 644 lgrindef $(DESTDIR)$(DEFSFILE)
+ cd source; \
+- make install BASEDIR=$(BASEDIR) INSTALL=$(INSTALL)
++ make install BASEDIR=$(DESTDIR)$(BASEDIR) INSTALL=$(INSTALL)
+diff --git a/source/Makefile b/source/Makefile
+index b785122..83d4343 100644
+--- a/source/Makefile
++++ b/source/Makefile
+@@ -3,7 +3,7 @@
+ # $Id: Makefile,v 1.4 1999/12/18 21:54:29 mike Exp $
+
+ BINDIR=$(BASEDIR)/bin
+-MANDIR=$(BASEDIR)/man
++MANDIR=$(BASEDIR)/share/man
+
+ CC=gcc
+ MANPAGES1=lgrind.1
+@@ -31,8 +31,11 @@ retest: retest.o regexp.o
+ $(CC) $(CFLAGS) -o retest retest.o regexp.o
+
+ install: all
++ $(INSTALL) -m 755 -d $(BINDIR)
+ $(INSTALL) -s lgrind $(BINDIR)/lgrind
++ $(INSTALL) -m 755 -d $(MANDIR)/man1
+ $(INSTALL) -m 644 $(MANPAGES1) $(MANDIR)/man1
++ $(INSTALL) -m 755 -d $(MANDIR)/man1
+ $(INSTALL) -m 644 $(MANPAGES5) $(MANDIR)/man5
+
+ clean:
+--
+1.8.4.1
+
Added: csw/mgar/pkg/lgrind/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/lgrind/trunk/files/COPYING (rev 0)
+++ csw/mgar/pkg/lgrind/trunk/files/COPYING 2013-11-18 11:02:29 UTC (rev 22549)
@@ -0,0 +1,3 @@
+LGrind contains non-free code written by Van Jacobson, who does not answer
+to any request for changing his licence. This software is therefore not
+maintained. I also do not accept any cheques anymore.
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