xplot stable port information

Package: xplot
Version: 0.90.7.1
Revision: 1

Source: http://www.xplot.org/xplot/%n-%v.tar.gz
Source-MD5: 755e32f8ae429f1c546fdeee7c28c92e
Source2: http://www.xplot.org/xplot/xplot-0.90.tar.gz
Source2-MD5: 21740da782b0c80e523bfbde69198dcb

Depends: x11
BuildDepends: fink (>= 0.24.12-1), x11-dev

PatchFile: %n.patch
PatchFile-MD5: b26e8c77a86530ea1130a72465e1fab8
PatchScript: <<
sed 's|@PREFIX@|%p|' < %{PatchFile} | patch -p1
head -n 32 xplot.c > LICENSE
<<

ConfigureParams: --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

InstallScript: <<
make install prefix=%i
mkdir -p %i/share/doc/%n/demos
install -m644 ../xplot-0.90/demo.* %i/share/doc/%n/demos
<<
DocFiles: ANNOUNCE LICENSE README*

DescPackaging: <<
Version 0.90.7.1 omited demos, so import them from an older version.
<<

Description: Graphical analysis of TCP packet traces
DescDetail: <<
<<
License: BSD
Maintainer: Daniel Macks
Homepage: http://www.xplot.org/

xplot stable port .patch

diff -Nurd -x'*~' xplot-0.90.7.1.orig/Makefile.in xplot-0.90.7.1/Makefile.in
--- xplot-0.90.7.1.orig/Makefile.in 2000-05-04 17:04:20.000000000 -0400
+++ xplot-0.90.7.1/Makefile.in 2006-06-27 01:37:17.000000000 -0400
@@ -50,7 +50,7 @@
exec_prefix = @exec_prefix@

bindir = $(exec_prefix)/bin
-mandir = $(exec_prefix)/man/man1
+mandir = $(exec_prefix)/share/man/man1

CFILES= xplot.c version_string.c coord.c unsigned.c signed.c timeval.c double.c dtime.c
OFILES= xplot.o version_string.o coord.o unsigned.o signed.o timeval.o double.o dtime.o
@@ -62,9 +62,7 @@
all: ${PROG}

${PROG}: ${OFILES}
- ${CC} ${CFLAGS} -o $@.new ${OFILES} ${LIBS}
- -mv -f $@ $@.old
- mv -f $@.new $@
+ ${CC} ${CFLAGS} -o $@ ${OFILES} ${LIBS}

version_string.c: version
echo 'char *version_string = "'`cat version`'";' >version_string.c
diff -Nurd -x'*~' xplot-0.90.7.1.orig/version_string.c xplot-0.90.7.1/version_string.c
--- xplot-0.90.7.1.orig/version_string.c 1969-12-31 19:00:00.000000000 -0500
+++ xplot-0.90.7.1/version_string.c 2006-06-27 01:38:18.000000000 -0400
@@ -0,0 +1 @@
+char *version_string = "0.90.7.1";
diff -Nurd -x'*~' xplot-0.90.7.1.orig/xplot.1 xplot-0.90.7.1/xplot.1
--- xplot-0.90.7.1.orig/xplot.1 1999-02-04 12:49:57.000000000 -0500
+++ xplot-0.90.7.1/xplot.1 2006-06-27 01:46:32.000000000 -0400
@@ -103,9 +103,9 @@
.Pa demo.1,
.Pa demo.2,
etc.,
-stored with the
-.Nm xplot
-sources.
+available in
+.Pa @PREFIX@/share/doc/xplot
+For your perusal.
.Pa demo.0
lists all the commands.
.Dl xplot demo.0

xplot _unstable_ port .patch