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

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Wed Jun 20 13:58:10 CEST 2012


Revision: 18469
          http://gar.svn.sourceforge.net/gar/?rev=18469&view=rev
Author:   pfelecan
Date:     2012-06-20 11:58:10 +0000 (Wed, 20 Jun 2012)
Log Message:
-----------
migrated from private recipe to a GAR based one; not release ready as
I have an issue with the license file.

Added Paths:
-----------
    csw/mgar/pkg/ps2eps/
    csw/mgar/pkg/ps2eps/Makefile
    csw/mgar/pkg/ps2eps/branches/
    csw/mgar/pkg/ps2eps/tags/
    csw/mgar/pkg/ps2eps/trunk/
    csw/mgar/pkg/ps2eps/trunk/Makefile
    csw/mgar/pkg/ps2eps/trunk/checksums
    csw/mgar/pkg/ps2eps/trunk/files/
    csw/mgar/pkg/ps2eps/trunk/files/0001-Fix-shebang-perl.patch

Added: csw/mgar/pkg/ps2eps/Makefile
===================================================================
--- csw/mgar/pkg/ps2eps/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ps2eps/Makefile	2012-06-20 11:58:10 UTC (rev 18469)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


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


Added: csw/mgar/pkg/ps2eps/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ps2eps/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/ps2eps/trunk/Makefile	2012-06-20 11:58:10 UTC (rev 18469)
@@ -0,0 +1,63 @@
+# $Id$
+
+NAME = ps2eps
+VERSION = 1.68
+GARTYPE = v2
+CATEGORIES = apps
+
+DESCRIPTION = Tool for generating Encapsulated Postscript Format files from one-page Postscript documents
+define BLURB
+  ps2eps is a tool (written in Perl) to produce Encapsulated PostScript
+  Files (EPS/EPSF) from usual one-paged Postscript documents. It calculates
+  correct Bounding Boxes for those EPS files and filters some special
+  postscript command sequences that can produce erroneous results on printers.
+  EPS files are often needed for including (scalable) graphics of high quality
+  into TeX/LaTeX (or even Word) documents. 
+endef
+
+MASTER_SITES = http://www.tm.uka.de/~bless/
+DISTFILES  = $(DISTNAME).tar.gz
+
+RUNTIME_DEP_PKGS	=	CSWperl
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+CONFIGURE_SCRIPTS	=
+GARCOMPILER			=	GNU
+WORKSRC				=	$(WORKDIR)/$(NAME)
+PATCHDIR			=	$(WORKSRC)
+PATCHFILE			=	0001-Fix-shebang-perl.patch
+BUILD_SCRIPTS		=	custom
+TEST_SCRIPTS		=
+INSTALL_SCRIPTS		=	custom
+LICENSE				=	LICENSE.txt
+
+include gar/category.mk
+
+build-custom:	\
+				$(WORKSRC)/bbox
+	$(MAKECOOKIE)
+
+$(WORKSRC)/bbox:	\
+					$(WORKSRC)/bbox.o
+	$(CC) $(LDFLAGS) $< -o $@
+
+$(WORKSRC)/bbox.o:	\
+					$(WORKSRC)/src/C/bbox.c
+	$(CC) -c $(CFLAGS) $< -o $@
+
+
+install-custom:
+	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(bindir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rwx,go=rx bbox $(DESTDIR)$(bindir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rwx,go=rx bin/ps2eps $(DESTDIR)$(bindir)
+	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(docdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/pdf/bbox.pdf $(DESTDIR)$(docdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/pdf/ps2eps.pdf $(DESTDIR)$(docdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/html/bbox.html $(DESTDIR)$(docdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/html/ps2eps.html $(DESTDIR)$(docdir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r Changes.txt $(DESTDIR)$(docdir)
+	cd $(WORKSRC) && ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(mandir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/man/man1/bbox.1 $(DESTDIR)$(mandir)
+	cd $(WORKSRC) && ginstall --preserve-timestamps --mode=u=rw,go=r doc/man/man1/ps2eps.1 $(DESTDIR)$(mandir)
+	$(MAKECOOKIE)


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

Added: csw/mgar/pkg/ps2eps/trunk/checksums
===================================================================
--- csw/mgar/pkg/ps2eps/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/ps2eps/trunk/checksums	2012-06-20 11:58:10 UTC (rev 18469)
@@ -0,0 +1 @@
+d6d2932b9d0399317a7382c94c108c44  ps2eps-1.68.tar.gz

Added: csw/mgar/pkg/ps2eps/trunk/files/0001-Fix-shebang-perl.patch
===================================================================
--- csw/mgar/pkg/ps2eps/trunk/files/0001-Fix-shebang-perl.patch	                        (rev 0)
+++ csw/mgar/pkg/ps2eps/trunk/files/0001-Fix-shebang-perl.patch	2012-06-20 11:58:10 UTC (rev 18469)
@@ -0,0 +1,23 @@
+From cb2f6976156d04bc2329bac9dca53b03a94c25f1 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Wed, 20 Jun 2012 10:12:40 +0200
+Subject: [PATCH] Fix shebang perl
+
+---
+ bin/ps2eps |    3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/bin/ps2eps b/bin/ps2eps
+index f02e5a2..c8898e6 100755
+--- a/bin/ps2eps
++++ b/bin/ps2eps
+@@ -1,5 +1,4 @@
+-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' # -*-perl-*-
+-        if 0;
++#! /usr/bin/env perl
+ # The expression in the previous line replaces the unix specific line 
+ # {#!/usr/bin/perl}.   
+ # ps2eps - convert PostScript to EPS (Encapsulated PostScript) files
+-- 
+1.7.10.3
+


Property changes on: csw/mgar/pkg/ps2eps/trunk/files/0001-Fix-shebang-perl.patch
___________________________________________________________________
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