Sat Sep 8 22:35:13 2012 UTC ()
Set LICENSE; Fix pkglint warnings


(cheusov)
diff -r1.13 -r1.14 pkgsrc/math/statist/Makefile
diff -r1.3 -r1.4 pkgsrc/math/statist/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/math/statist/patches/patch-aa
diff -r1.1 -r1.2 pkgsrc/math/statist/patches/patch-ab
diff -r1.1 -r1.2 pkgsrc/math/statist/patches/patch-ac

cvs diff -r1.13 -r1.14 pkgsrc/math/statist/Makefile (expand / switch to unified diff)

--- pkgsrc/math/statist/Makefile 2009/06/30 00:07:20 1.13
+++ pkgsrc/math/statist/Makefile 2012/09/08 22:35:13 1.14
@@ -1,34 +1,36 @@ @@ -1,34 +1,36 @@
1# $NetBSD: Makefile,v 1.13 2009/06/30 00:07:20 joerg Exp $ 1# $NetBSD: Makefile,v 1.14 2012/09/08 22:35:13 cheusov Exp $
2# 2#
3 3
4DISTNAME= statist-1.0.1 4DISTNAME= statist-1.0.1
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= math 6CATEGORIES= math
7MASTER_SITES= http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/v${PKGVERSION}/ 7MASTER_SITES= http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/v${PKGVERSION}/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/index.en.html 10HOMEPAGE= http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/index.en.html
11COMMENT= Small and portable statistics program 11COMMENT= Small and portable statistics program
 12LICENSE= gnu-gpl-v2
12 13
13DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot 14DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
14 15
15PKG_DESTDIR_SUPPORT= user-destdir 16PKG_DESTDIR_SUPPORT= user-destdir
16 17
17MAKE_JOBS_SAFE= no 18MAKE_JOBS_SAFE= no
18 19
19WRKSRC= ${WRKDIR}/${DISTNAME}/src 20CONFIGURE_DIRS= src
 21BUILD_DIRS= src
 22
20USE_LIBTOOL= YES 23USE_LIBTOOL= YES
21 24
22INSTALLATION_DIRS= bin lib 25AUTO_MKDIRS= yes
23 26
24do-install: 27do-install:
25 cd ${WRKSRC} && \ 28 cd ${WRKSRC}/src && \
26 ${LIBTOOL} --mode=install \ 29 ${LIBTOOL} --tag=CC --mode=install \
27 ${INSTALL_DATA} libstatist.la ${DESTDIR}${PREFIX}/lib &&\ 30 ${INSTALL_DATA} libstatist.la ${DESTDIR}${PREFIX}/lib &&\
28 ${LIBTOOL} --mode=install \ 31 ${LIBTOOL} --tag=CC --mode=install \
29 ${INSTALL_PROGRAM} statist ${DESTDIR}${PREFIX}/bin 32 ${INSTALL_PROGRAM} statist ${DESTDIR}${PREFIX}/bin
30 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/statist 33 ${INSTALL_DATA} ${WRKSRC}/doc/*.ps \
31 ${INSTALL_DATA} ${WRKSRC}/../doc/*.ps \ 
32 ${DESTDIR}${PREFIX}/share/doc/statist 34 ${DESTDIR}${PREFIX}/share/doc/statist
33 35
34.include "../../mk/bsd.pkg.mk" 36.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/math/statist/distinfo (expand / switch to unified diff)

--- pkgsrc/math/statist/distinfo 2009/03/11 12:42:41 1.3
+++ pkgsrc/math/statist/distinfo 2012/09/08 22:35:13 1.4
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.3 2009/03/11 12:42:41 hasso Exp $ 1$NetBSD: distinfo,v 1.4 2012/09/08 22:35:13 cheusov Exp $
2 2
3SHA1 (statist-1.0.1.tar.gz) = 2900c58e730ecf93dfa3e15a881a1afca0cfdf20 3SHA1 (statist-1.0.1.tar.gz) = 2900c58e730ecf93dfa3e15a881a1afca0cfdf20
4RMD160 (statist-1.0.1.tar.gz) = 1c6b16fe2dfe74ccb6fe2bd3cd6846a5e17f8025 4RMD160 (statist-1.0.1.tar.gz) = 1c6b16fe2dfe74ccb6fe2bd3cd6846a5e17f8025
5Size (statist-1.0.1.tar.gz) = 214635 bytes 5Size (statist-1.0.1.tar.gz) = 214635 bytes
6SHA1 (patch-aa) = 6cfe11d15d888d042b97ad1470db1405aa7bc489 6SHA1 (patch-aa) = 7c12d13664b863a75b32ff1a2baae1fcc89231fc
7SHA1 (patch-ab) = ff6424b96aa62bb79d9c6c12f01117d272d59bcd 7SHA1 (patch-ab) = bc36a9055d8a5a3f3d899e897202c1592f79a47e
8SHA1 (patch-ac) = 64ca31cb397cc5f732bdabec091279ec2ffd77a6 8SHA1 (patch-ac) = 0c610d907c14f1ae5899b2af03b95ef361aba99a

cvs diff -r1.1.1.1 -r1.2 pkgsrc/math/statist/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/math/statist/patches/patch-aa 2002/11/09 09:23:24 1.1.1.1
+++ pkgsrc/math/statist/patches/patch-aa 2012/09/08 22:35:13 1.2
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: patch-aa,v 1.1.1.1 2002/11/09 09:23:24 rh Exp $ 1$NetBSD: patch-aa,v 1.2 2012/09/08 22:35:13 cheusov Exp $
2 2
3--- Makefile.orig Fri Nov 16 06:22:33 2001 3--- src/Makefile.orig 2001-11-15 20:22:33.000000000 +0000
4+++ Makefile 4+++ src/Makefile
5@@ -16,11 +16,11 @@ 5@@ -16,11 +16,11 @@
6 # and now for the language setting, 6 # and now for the language setting,
7 # you can add LANG=LANG_EN or LANG=LANG_DE to the make arguments 7 # you can add LANG=LANG_EN or LANG=LANG_DE to the make arguments
8 # Command line arguments to make override the default (which is in here) 8 # Command line arguments to make override the default (which is in here)
9-LANG=LANG_DE 9-LANG=LANG_DE
10+LANG=LANG_EN 10+LANG=LANG_EN
11 LANGUAGE=-DLANG=$(LANG) 11 LANGUAGE=-DLANG=$(LANG)
12  12
13 #decide between "main", "shlib" and "lib" 13 #decide between "main", "shlib" and "lib"
14-all: main 14-all: main
15+all: lib main 15+all: lib main
16  16
17 #all: lib 17 #all: lib
@@ -45,45 +45,45 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/11/09 0 @@ -45,45 +45,45 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/11/09 0
45+GCFLAGS= $(COMPILERCFLAGS) $(EXTRACFLAGS) $(LANGUAGE) $(STATISTX) 45+GCFLAGS= $(COMPILERCFLAGS) $(EXTRACFLAGS) $(LANGUAGE) $(STATISTX)
46  46
47 #MAIN = $(HOME)/tools/statist 47 #MAIN = $(HOME)/tools/statist
48 MAIN=statist 48 MAIN=statist
49@@ -56,9 +55,12 @@ SH_LIB = libstatist.so.1.0.1 49@@ -56,9 +55,12 @@ SH_LIB = libstatist.so.1.0.1
50 STAT_LIB = libstatist.a 50 STAT_LIB = libstatist.a
51  51
52  52
53-OBJECTS = statist.o menue.o procs.o funcs.o data.o plot.o memory_handling.o 53-OBJECTS = statist.o menue.o procs.o funcs.o data.o plot.o memory_handling.o
54+OBJECTS = statist.o ${STAT_LIB:.a=.la} 54+OBJECTS = statist.o ${STAT_LIB:.a=.la}
55 LIB_OBJECTS = menue.o procs.o funcs.o data.o plot.o memory_handling.o 55 LIB_OBJECTS = menue.o procs.o funcs.o data.o plot.o memory_handling.o
56  56
57+.c.o: 57+.c.o:
58+ ${LIBTOOL} --mode=compile ${CC} ${GCFLAGS} -o ${.TARGET:.o=.lo} ${.IMPSRC} 58+ ${LIBTOOL} --tag=CC --mode=compile ${CC} ${GCFLAGS} -o ${.TARGET:.o=.lo} ${.IMPSRC}
59+ 59+
60 main: $(MAIN) 60 main: $(MAIN)
61  61
62 check: main 62 check: main
63@@ -73,32 +75,26 @@ lib: $(STAT_LIB) 63@@ -73,32 +75,26 @@ lib: $(STAT_LIB)
64  64
65  65
66 $(MAIN) : $(OBJECTS) Makefile 66 $(MAIN) : $(OBJECTS) Makefile
67- $(CC) $(LFLAGS) $(MAIN) $(OBJECTS) $(LIBS) 67- $(CC) $(LFLAGS) $(MAIN) $(OBJECTS) $(LIBS)
68+ ${LIBTOOL} --mode=link ${CC} ${LFLAGS} ${MAIN} ${OBJECTS:.o=.lo} ${LIBS} 68+ ${LIBTOOL} --tag=CC --mode=link ${CC} ${LFLAGS} ${MAIN} ${OBJECTS:.o=.lo} ${LIBS}
69  69
70 # change AB: 70 # change AB:
71 $(SH_LIB): $(LIB_OBJECTS) Makefile 71 $(SH_LIB): $(LIB_OBJECTS) Makefile
72 $(CC) -shared $(LIB_OBJECTS) -o $(SH_LIB) 72 $(CC) -shared $(LIB_OBJECTS) -o $(SH_LIB)
73  73
74 $(STAT_LIB): $(LIB_OBJECTS) Makefile 74 $(STAT_LIB): $(LIB_OBJECTS) Makefile
75- $(LIBTOOL) $(STAT_LIB) $(LIB_OBJECTS) 75- $(LIBTOOL) $(STAT_LIB) $(LIB_OBJECTS)
76+ ${LIBTOOL} --mode=link ${CC} -o ${STAT_LIB:.a=.la} ${LIB_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:0 76+ ${LIBTOOL} --tag=CC --mode=link ${CC} -o ${STAT_LIB:.a=.la} ${LIB_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:0
77  77
78 statist.o : statist.c statist.h menue.h data.h funcs.h  78 statist.o : statist.c statist.h menue.h data.h funcs.h
79- $(CC) $(CFLAGS) statist.c 79- $(CC) $(CFLAGS) statist.c
80  80
81 menue.o : menue.c menue.h procs.h data.h statist.h  81 menue.o : menue.c menue.h procs.h data.h statist.h
82- $(CC) $(CFLAGS) menue.c 82- $(CC) $(CFLAGS) menue.c
83  83
84 procs.o : procs.c procs.h funcs.h statist.h  84 procs.o : procs.c procs.h funcs.h statist.h
85- $(CC) $(CFLAGS) procs.c 85- $(CC) $(CFLAGS) procs.c
86  86
87 funcs.o : funcs.c funcs.h statist.h  87 funcs.o : funcs.c funcs.h statist.h
88- $(CC) $(CFLAGS) funcs.c 88- $(CC) $(CFLAGS) funcs.c
89  89

cvs diff -r1.1 -r1.2 pkgsrc/math/statist/patches/patch-ab (expand / switch to unified diff)

--- pkgsrc/math/statist/patches/patch-ab 2009/03/11 12:42:41 1.1
+++ pkgsrc/math/statist/patches/patch-ab 2012/09/08 22:35:13 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: patch-ab,v 1.1 2009/03/11 12:42:41 hasso Exp $ 1$NetBSD: patch-ab,v 1.2 2012/09/08 22:35:13 cheusov Exp $
2 2
3--- iodefs.c.orig 2009-03-11 14:18:05 +0200 3--- src/iodefs.c.orig 2009-03-11 14:18:05 +0200
4+++ iodefs.c 2009-03-11 14:18:31 +0200 4+++ src/iodefs.c 2009-03-11 14:18:31 +0200
5@@ -11,8 +11,7 @@ 5@@ -11,8 +11,7 @@
6  6
7 #include<stdio.h> 7 #include<stdio.h>
8 #include<string.h> 8 #include<string.h>
9- 9-
10-extern int errno; 10-extern int errno;
11+#include<errno.h> 11+#include<errno.h>
12  12
13 #define FOPEN(name, mode, fp) \ 13 #define FOPEN(name, mode, fp) \
14 if ((fp = fopen(name, mode))==NULL) { \ 14 if ((fp = fopen(name, mode))==NULL) { \

cvs diff -r1.1 -r1.2 pkgsrc/math/statist/patches/patch-ac (expand / switch to unified diff)

--- pkgsrc/math/statist/patches/patch-ac 2009/03/11 12:42:41 1.1
+++ pkgsrc/math/statist/patches/patch-ac 2012/09/08 22:35:13 1.2
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: patch-ac,v 1.1 2009/03/11 12:42:41 hasso Exp $ 1$NetBSD: patch-ac,v 1.2 2012/09/08 22:35:13 cheusov Exp $
2 2
3--- statist.h.orig 2009-03-11 14:17:03 +0200 3--- src/statist.h.orig 2009-03-11 14:17:03 +0200
4+++ statist.h 2009-03-11 14:17:45 +0200 4+++ src/statist.h 2009-03-11 14:17:45 +0200
5@@ -13,6 +13,7 @@ 5@@ -13,6 +13,7 @@
6 ***************************************************************/ 6 ***************************************************************/
7  7
8 #include <stdio.h> 8 #include <stdio.h>
9+#include <errno.h> 9+#include <errno.h>
10  10
11 #include "gettext.h" 11 #include "gettext.h"
12 #include "memory_handling.h" 12 #include "memory_handling.h"
13@@ -240,7 +241,6 @@ typedef struct { 13@@ -240,7 +241,6 @@ typedef struct {
14 } SORTREC; 14 } SORTREC;
15  15
16  16
17-extern int errno; 17-extern int errno;