From 1a8a048bd57612010f5cf43278e7291c28049038 Mon Sep 17 00:00:00 2001 From: cheusov Date: Sat, 8 Sep 2012 22:35:13 +0000 Subject: Set LICENSE; Fix pkglint warnings --- math/statist/Makefile | 18 ++++++++++-------- math/statist/distinfo | 8 ++++---- math/statist/patches/patch-aa | 12 ++++++------ math/statist/patches/patch-ab | 6 +++--- math/statist/patches/patch-ac | 6 +++--- 5 files changed, 26 insertions(+), 24 deletions(-) (limited to 'math') diff --git a/math/statist/Makefile b/math/statist/Makefile index c6068b6e232..e9afe4f198a 100644 --- a/math/statist/Makefile +++ b/math/statist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/06/30 00:07:20 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2012/09/08 22:35:13 cheusov Exp $ # DISTNAME= statist-1.0.1 @@ -9,6 +9,7 @@ MASTER_SITES= http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/v${PKGVERS MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.usf.uni-osnabrueck.de/~breiter/tools/statist/index.en.html COMMENT= Small and portable statistics program +LICENSE= gnu-gpl-v2 DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot @@ -16,19 +17,20 @@ PKG_DESTDIR_SUPPORT= user-destdir MAKE_JOBS_SAFE= no -WRKSRC= ${WRKDIR}/${DISTNAME}/src +CONFIGURE_DIRS= src +BUILD_DIRS= src + USE_LIBTOOL= YES -INSTALLATION_DIRS= bin lib +AUTO_MKDIRS= yes do-install: - cd ${WRKSRC} && \ - ${LIBTOOL} --mode=install \ + cd ${WRKSRC}/src && \ + ${LIBTOOL} --tag=CC --mode=install \ ${INSTALL_DATA} libstatist.la ${DESTDIR}${PREFIX}/lib &&\ - ${LIBTOOL} --mode=install \ + ${LIBTOOL} --tag=CC --mode=install \ ${INSTALL_PROGRAM} statist ${DESTDIR}${PREFIX}/bin - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/statist - ${INSTALL_DATA} ${WRKSRC}/../doc/*.ps \ + ${INSTALL_DATA} ${WRKSRC}/doc/*.ps \ ${DESTDIR}${PREFIX}/share/doc/statist .include "../../mk/bsd.pkg.mk" diff --git a/math/statist/distinfo b/math/statist/distinfo index 0952efe7456..c3693a19550 100644 --- a/math/statist/distinfo +++ b/math/statist/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2009/03/11 12:42:41 hasso Exp $ +$NetBSD: distinfo,v 1.4 2012/09/08 22:35:13 cheusov Exp $ SHA1 (statist-1.0.1.tar.gz) = 2900c58e730ecf93dfa3e15a881a1afca0cfdf20 RMD160 (statist-1.0.1.tar.gz) = 1c6b16fe2dfe74ccb6fe2bd3cd6846a5e17f8025 Size (statist-1.0.1.tar.gz) = 214635 bytes -SHA1 (patch-aa) = 6cfe11d15d888d042b97ad1470db1405aa7bc489 -SHA1 (patch-ab) = ff6424b96aa62bb79d9c6c12f01117d272d59bcd -SHA1 (patch-ac) = 64ca31cb397cc5f732bdabec091279ec2ffd77a6 +SHA1 (patch-aa) = 7c12d13664b863a75b32ff1a2baae1fcc89231fc +SHA1 (patch-ab) = bc36a9055d8a5a3f3d899e897202c1592f79a47e +SHA1 (patch-ac) = 0c610d907c14f1ae5899b2af03b95ef361aba99a diff --git a/math/statist/patches/patch-aa b/math/statist/patches/patch-aa index 5d4d04ae024..021dd6da9d1 100644 --- a/math/statist/patches/patch-aa +++ b/math/statist/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1.1.1 2002/11/09 09:23:24 rh Exp $ +$NetBSD: patch-aa,v 1.2 2012/09/08 22:35:13 cheusov Exp $ ---- Makefile.orig Fri Nov 16 06:22:33 2001 -+++ Makefile +--- src/Makefile.orig 2001-11-15 20:22:33.000000000 +0000 ++++ src/Makefile @@ -16,11 +16,11 @@ # and now for the language setting, # you can add LANG=LANG_EN or LANG=LANG_DE to the make arguments @@ -55,7 +55,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/11/09 09:23:24 rh Exp $ LIB_OBJECTS = menue.o procs.o funcs.o data.o plot.o memory_handling.o +.c.o: -+ ${LIBTOOL} --mode=compile ${CC} ${GCFLAGS} -o ${.TARGET:.o=.lo} ${.IMPSRC} ++ ${LIBTOOL} --tag=CC --mode=compile ${CC} ${GCFLAGS} -o ${.TARGET:.o=.lo} ${.IMPSRC} + main: $(MAIN) @@ -65,7 +65,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/11/09 09:23:24 rh Exp $ $(MAIN) : $(OBJECTS) Makefile - $(CC) $(LFLAGS) $(MAIN) $(OBJECTS) $(LIBS) -+ ${LIBTOOL} --mode=link ${CC} ${LFLAGS} ${MAIN} ${OBJECTS:.o=.lo} ${LIBS} ++ ${LIBTOOL} --tag=CC --mode=link ${CC} ${LFLAGS} ${MAIN} ${OBJECTS:.o=.lo} ${LIBS} # change AB: $(SH_LIB): $(LIB_OBJECTS) Makefile @@ -73,7 +73,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/11/09 09:23:24 rh Exp $ $(STAT_LIB): $(LIB_OBJECTS) Makefile - $(LIBTOOL) $(STAT_LIB) $(LIB_OBJECTS) -+ ${LIBTOOL} --mode=link ${CC} -o ${STAT_LIB:.a=.la} ${LIB_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:0 ++ ${LIBTOOL} --tag=CC --mode=link ${CC} -o ${STAT_LIB:.a=.la} ${LIB_OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 1:0 statist.o : statist.c statist.h menue.h data.h funcs.h - $(CC) $(CFLAGS) statist.c diff --git a/math/statist/patches/patch-ab b/math/statist/patches/patch-ab index ee65e2658dd..0abe304e01a 100644 --- a/math/statist/patches/patch-ab +++ b/math/statist/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.1 2009/03/11 12:42:41 hasso Exp $ +$NetBSD: patch-ab,v 1.2 2012/09/08 22:35:13 cheusov Exp $ ---- iodefs.c.orig 2009-03-11 14:18:05 +0200 -+++ iodefs.c 2009-03-11 14:18:31 +0200 +--- src/iodefs.c.orig 2009-03-11 14:18:05 +0200 ++++ src/iodefs.c 2009-03-11 14:18:31 +0200 @@ -11,8 +11,7 @@ #include diff --git a/math/statist/patches/patch-ac b/math/statist/patches/patch-ac index a9fafec258f..3a28f976195 100644 --- a/math/statist/patches/patch-ac +++ b/math/statist/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.1 2009/03/11 12:42:41 hasso Exp $ +$NetBSD: patch-ac,v 1.2 2012/09/08 22:35:13 cheusov Exp $ ---- statist.h.orig 2009-03-11 14:17:03 +0200 -+++ statist.h 2009-03-11 14:17:45 +0200 +--- src/statist.h.orig 2009-03-11 14:17:03 +0200 ++++ src/statist.h 2009-03-11 14:17:45 +0200 @@ -13,6 +13,7 @@ ***************************************************************/ -- cgit v1.2.3