Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/text
In directory vz-cvs-3.sog:/tmp/cvs-serv28280

Modified Files:
        psutils.info psutils.patch 
Removed Files:
        psutils-a4.info psutils-a4.patch 
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8


--- psutils-a4.patch DELETED ---

--- psutils-a4.info DELETED ---

Index: psutils.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/text/psutils.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- psutils.patch       11 Jul 2011 04:08:35 -0000      1.1
+++ psutils.patch       23 Nov 2011 00:26:40 -0000      1.2
@@ -1,13 +1,6 @@
 --- psutils/Makefile.unix.orig Sun Oct  7 21:54:37 2001
-+++ psutils/Makefile.unix      Sun Oct  7 22:09:07 2001
-@@ -19,16 +19,17 @@
- # psnup puts multiple logical pages on one physical page
- # psresize scales and moves pages to fit on different paper sizes
- 
--PAPER=a4
-+PAPER=letter
- 
- # Makefile for PSUtils under Unix
++++ psutils/Makefile.unix      Sun Oct  7 22:18:10 2001
+@@ -25,10 +25,11 @@
  
  OS = UNIX
  
@@ -22,18 +15,14 @@
  
  BINMODE = 0755
  MANMODE = 0644
-@@ -36,9 +37,9 @@
+@@ -36,6 +37,6 @@
  INSTALL = install -c -m $(BINMODE)
  INSTALLMAN = install -c -m $(MANMODE)
  MANEXT = 1
 -MANDIR = /usr/local/share/man/man$(MANEXT)
 +MANDIR = $(prefix)/share/man/man$(MANEXT)
  
--CC = gcc
-+CC = cc
- CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
- 
- BIN = psbook psselect pstops epsffit psnup \
+ CC = gcc
 @@ -219,28 +220,28 @@
  install: install.bin install.script install.man install.include
  

Index: psutils.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/text/psutils.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- psutils.info        11 Jul 2011 04:08:35 -0000      1.1
+++ psutils.info        23 Nov 2011 00:26:40 -0000      1.2
@@ -1,23 +1,32 @@
-Package: psutils
+Info2:<<
+Package: psutils-%type_pkg[paper]
 Version: 1.17
-Revision: 2
+Revision: 3
 Maintainer: Matthias Neeracher <neerac...@mac.com>
-Conflicts: psutils-a4
-Replaces: psutils-a4
+Type: paper (a4 letter)
+Conflicts: psutils-a4, psutils-letter
+Replaces: psutils, psutils-a4, psutils-letter
+Provides: psutils
 Source: http://ftp.debian.org/debian/pool/main/p/psutils/psutils_%v.orig.tar.gz
 Source-MD5: 76e4a2e2eb16194f6cb891b41cf55a71
-SourceDirectory: %n-%v.orig
+SourceDirectory: psutils-%v.orig
 BuildDepends: fink (>= 0.24.12-1)
-PatchFile: %n.patch
-PatchFile-MD5: 73044b2596820699b5926c8758488b1b
+PatchFile: psutils.patch
+PatchFile-MD5: 6d3933587d9cc68afb5573c42b6c84a5
+PatchScript: <<
+patch -p1 < %{PatchFile}
+ruby -i -pe '$_.sub!(/(PAPER=)a4/, "\\1%type_pkg[paper]")' Makefile.unix
+ruby -i -pe '$_.sub!(/void main/, "int main")' *.c
+<<
 CompileScript: make prefix=%p -f Makefile.unix
 InstallScript: make prefix=%i -f Makefile.unix install
 DocFiles: README LICENSE
-Description: Useful tools to manipulate postscript files, "letter" size
+Description: Postscript tools, %type_pkg[paper] size
 DescDetail: <<
 PSUtils is a collection of programs and scripts to manipulate 
 PostScript files in various ways. This package sets the default 
-paper format to US Letter.
+paper format to %type_pkg[paper]
 <<
 License: BSD
 Homepage: http://knackered.knackered.org/angus/psutils/
+<<
\ No newline at end of file


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to