Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors
In directory sc8-pr-cvs17:/tmp/cvs-serv25730

Added Files:
        sam-10.5.info sam-10.5.patch 
Log Message:
version for 10.5


--- NEW FILE: sam-10.5.patch ---
diff -ur sam.bak/include/libc.h sam/include/libc.h
--- sam.bak/include/libc.h      2005-06-05 21:37:51.000000000 -0700
+++ sam/include/libc.h  2005-06-13 16:17:30.000000000 -0700
@@ -5,6 +5,7 @@
 
 typedef unsigned char          uchar;
 typedef        unsigned short          Rune;
+typedef unsigned long          ulong;
 
 #define        sprint                          sprintf
 #define        dup(a,b)                        dup2(a,b)
diff -ur sam.bak/libXg/Makefile sam/libXg/Makefile
--- sam.bak/libXg/Makefile      2005-06-05 21:37:59.000000000 -0700
+++ sam/libXg/Makefile  2005-06-13 16:14:15.000000000 -0700
@@ -8,7 +8,7 @@
 #      
 #      Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
 #      if your compiler supports posix-compatible compilation
-OS=-DIRIX -ansiposix
+OS=-DIRIX
 
 #      add -Iincludedir for any include directories that need to be searched
 INCS=-I../include
diff -ur sam.bak/libframe/Makefile sam/libframe/Makefile
--- sam.bak/libframe/Makefile   2005-06-05 21:37:59.000000000 -0700
+++ sam/libframe/Makefile       2005-06-13 16:14:09.000000000 -0700
@@ -8,7 +8,7 @@
 #      
 #      Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
 #      if your compiler supports posix-compatible compilation
-OS=-DIRIX -ansiposix
+OS=-DIRIX
 
 #      add -Iincludedir for any include directories that need to be searched
 #      for posix header files (for UMIPS, add -I/usr/include/posix)
diff -ur sam.bak/sam/Makefile sam/sam/Makefile
--- sam.bak/sam/Makefile        2005-06-05 21:37:59.000000000 -0700
+++ sam/sam/Makefile    2005-06-13 16:14:24.000000000 -0700
@@ -8,7 +8,7 @@
 #      
 #      Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
 #      if your compiler supports posix-compatible compilation
-OS=-DIRIX -ansiposix
+OS=-DIRIX
 
 #      add -Iincludedir for any include directories that need to be searched
 #      for posix header files (for UMIPS, add -I/usr/include/posix)
diff -ur sam.bak/samterm/Makefile sam/samterm/Makefile
--- sam.bak/samterm/Makefile    2005-06-05 21:37:59.000000000 -0700
+++ sam/samterm/Makefile        2005-06-13 16:14:27.000000000 -0700
@@ -8,7 +8,7 @@
 #      
 #      Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
 #      if your compiler supports posix-compatible compilation
-OS=-DIRIX -ansiposix
+OS=-DIRIX
 
 #      add -Iincludedir for any include directories that need to be searched
 #      for posix header files (for UMIPS, add -I/usr/include/posix)
--- sam/samterm/Makefile        2007-08-04 15:04:06.000000000 -0700
+++ sam/samterm-patched/Makefile        2007-08-04 15:02:47.000000000 -0700
@@ -21,7 +21,7 @@
 
 #      set this if your X libraries are in different locations
 #      or if you need extra libraries to load with X11 applications
-XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
+XLIBS=/usr/X11/lib/libXt.dylib /usr/X11/lib/libX11.dylib 
/usr/X11/lib/libSM.dylib /usr/X11/lib/libICE.dylib
 
 CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
 

--- NEW FILE: sam-10.5.info ---
Package: sam
Version: 4.3
Revision: 1002
Distribution: 10.5
Maintainer: Matthias Neeracher <[EMAIL PROTECTED]>
Depends: x11, x11-shlibs, app-defaults
BuildDepends: ghostscript | ghostscript6, x11-dev
Source: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/%n.msg.gz
NoSourceDirectory: true
Source-MD5: c7e1e2f262ae7a9d08c7b7553d80595a
PatchScript: <<
zcat %n.msg.gz | sh
rm %n.msg.gz
perl -i -pe 's|^RANLIB=:|RANLIB=ranlib|;s{/usr/bin|/v/bin}{\$(prefix)/bin}' 
*/Makefile
perl -i -pe 's|/bsd|/bin|;s|rsh|ssh|;s|/usr/tmp|/var/tmp|;s|\$\(INCS\)|\$(INCS) 
\$(CPPFLAGS)|' sam/Makefile
perl -i -ne 'print unless 1../delete above/' doc/sam.1
patch -p1 < %a/%n-10.5.patch
<<
SetCPPFLAGS: -I/usr/X11/include
CompileScript: <<
make prefix=%p
<<
InstallScript: <<
mkdir -p %i/bin
make install prefix=%i
mkdir -p %i/etc/app-defaults
cp doc/Sam.ad %i/etc/app-defaults/Sam
mkdir -p %i/share/man/man1
cp doc/sam.1 %i/share/man/man1
mkdir -p %i/share/doc/%n
ps2pdf doc/sam.ps %i/share/doc/%n/sam.pdf
ps2pdf doc/se.ps %i/share/doc/%n/se.pdf
groff -ms doc/sam.tut.ms | ps2pdf - %i/share/doc/%n/sam.tut.pdf
<<
DocFiles: README
Description: Unorthodox but powerful X11 text editor
DescDetail: <<
This is an X11 version of Rob Pike's editor, sam. Sam is composed of 
two programs: sam itself, which does the command processing and file 
manipulation; and samterm, which controls the display and  interacts 
with the user.  You can run sam on one machine and samterm on another
connected via remote execution through ssh.

The files sam.pdf and se.pdf are postscript versions of published 
papers describing sam and structural regular expressions.  These papers 
reflect sam's capabilities at the time of publication several years ago; 
while the general description remains accurate, some functions may have 
changed or been removed. sam.tut.pdf is a tutorial.
<<
DescPort: <<
<<
License: BSD
Homepage: http://www.freshports.org/editors/sam/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to