Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

22
math/abs/DESCR Normal file
View File

@@ -0,0 +1,22 @@
Abs is a free spreadsheet with graphical user interface running
under NetBSD, Linux, and Aix. Basic functions are:
* a clear and easy to use graphical user interface
* macro language a la Visual Basic
Programming language with the same syntax as Microsoft Visual Basic.
* XY, pie and bar charts
* Printing of selected areas to files
The file format used is Fig.
This file format can be sent to printer through the fig2dev
and gs programs or edited and printed with the Xfig drawing tool.
* multi-documents management
20 documents open simultaneously.
Copy, Cut and Paste between documents
* Excel exportable file format through VBA macro file.
The file format used to save abs worksheets is directly importable
to Excel with the Excel macro editor.

26
math/abs/Makefile Normal file
View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.23 2012/09/11 23:04:16 asau Exp $
#
DISTNAME= abs-src-0.8
PKGNAME= abs-0.8
PKGREVISION= 2
CATEGORIES= math x11
MASTER_SITES= http://home.scarlet.be/~pin01858/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.scarlet.be/~pin01858/abs.html
COMMENT= Free spreadsheet with graphical user interface
LICENSE= gnu-gpl-v2
USE_X11BASE= YES
MAKE_FILE= Makefile.netBSD
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abs ${DESTDIR}${PREFIX}/bin
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

2
math/abs/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:12:03 zuntum Exp $
bin/abs

8
math/abs/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.5 2005/02/23 12:06:53 agc Exp $
SHA1 (abs-src-0.8.tar.gz) = 2123f3c80981a9fe7535645ed8b9726d81751157
RMD160 (abs-src-0.8.tar.gz) = 923e158d317b9495c78320d2df4dd7bb18124fa7
Size (abs-src-0.8.tar.gz) = 287965 bytes
SHA1 (patch-aa) = 06f3adca298ebba3ce5ffe801342e870ceaf9a58
SHA1 (patch-ab) = 89e02f62b116d49a87011ff5a7aac304e8a980f4
SHA1 (patch-ac) = cb7f9c99a58ac1705e0f7d63e84089a98f810160

51
math/abs/patches/patch-aa Normal file
View File

@@ -0,0 +1,51 @@
$NetBSD: patch-aa,v 1.5 2002/09/26 15:46:47 jschauma Exp $
--- Makefile.netBSD.orig Wed Nov 15 14:59:20 2000
+++ Makefile.netBSD Thu Sep 26 11:42:57 2002
@@ -1,24 +1,24 @@
CURRENT_DIR = .
-SUBDIRS = Xpm ABV X11 Kernel Plot Database Fig Interface X11/xedit SAMCEF
+SUBDIRS = ABV X11 Kernel Plot Database Fig Interface X11/xedit SAMCEF
SUBDIRS2 = ABV X11 Kernel Plot Database Fig Interface
-MAKE = make
+#MAKE?= make
#for linux and aix LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
#for silicon: LIBS = -lXaw -lX11 -lm -lXt -lXmu -lXext
#for hp LIBS = -L /lib/X11 -L /usr/X11R6/lib -L /usr/contrib/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
-LIBS = -L /usr/lib -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
+LIBS = -lXaw -lXpm -lX11 -lm -lXt -lXmu -lXext
#LIBS = -L /lib/X11 -L /usr/X11R6/lib -L /usr/contrib/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
#for hp DEFINE = -D_HPUX_SOURCE
DEFINE =
-CFLAGS =
+#CFLAGS =
#for hp IncludeDir = /usr/contrib/X11R6/include
-IncludeDir = /usr/X11R6/include
+IncludeDir = ${X11BASE}/include
#for hp Ccompiler = c89
Ccompiler = cc
@@ -30,13 +30,13 @@
if [ -d $$i ] ; \
then \
(cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
- $(MAKE) TOPCFLAGS=$(CFLAGS) IncludeDir=$(IncludeDir) Ccompiler=$(Ccompiler) DEFINE=$(DEFINE) all); \
+ $(MAKE) TOPCFLAGS="$(CFLAGS)" IncludeDir="$(IncludeDir)" Ccompiler="$(Ccompiler)" DEFINE="$(DEFINE)" all); \
fi \
done
cc -o abs ./Plot/*.o ./ABV/*.o \
Fig/*.o Interface/*.o X11/xedit/*.o \
- ./Kernel/*.o ./X11/*.o ./Database/*.o ./Xpm/libxpm.a\
- $(LIBS) $(DEFINE)
+ ./Kernel/*.o ./X11/*.o ./Database/*.o \
+ ${LDFLAGS} ${LIBS} ${DEFINE}

13
math/abs/patches/patch-ab Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.3 2000/11/17 07:36:34 rh Exp $
--- X11/xedit/xedit.h.orig Fri Nov 17 08:27:10 2000
+++ X11/xedit/xedit.h
@@ -37,6 +37,8 @@
#include <X11/Xaw/Viewport.h>
#include <X11/Xaw/Cardinals.h>
+#include <stdio.h>
+
#ifndef BUFSIZ
#define BUFSIZ 2048
#endif

40
math/abs/patches/patch-ac Normal file
View File

@@ -0,0 +1,40 @@
$NetBSD: patch-ac,v 1.1 2004/08/04 20:44:34 agc Exp $
--- Database/cell.c 2004/08/04 19:39:39 1.1
+++ Database/cell.c 2004/08/04 20:40:59
@@ -1319,7 +1319,7 @@
}
char *
-strcasestr (char *str1, char *str2)
+abs_strcasestr (char *str1, char *str2)
{
char *s1;
char *s2;
@@ -1367,7 +1367,7 @@
return -1;
if (!strcmp (oldname, newname))
return 0;
- if (strcasestr (cell->formula, oldname) == NULL)
+ if (abs_strcasestr (cell->formula, oldname) == NULL)
return 0;
diffsize = strlen (oldname) - strlen (newname);
@@ -1375,7 +1375,7 @@
absmalloc ((strlen (oldname) + 2) * sizeof (char), "cell_chgwksname:old");
sprintf (old, "%s!", oldname);
- pos = strcasestr (cell->formula, old);
+ pos = abs_strcasestr (cell->formula, old);
while (pos != NULL)
{
len = strlen (cell->formula);
@@ -1388,7 +1388,7 @@
sprintf (newformula, "%s%s%s", cell->formula, newname, end);
absfree (cell->formula, "cell_chgwksname:cell->formula");
cell->formula = newformula;
- end = strcasestr (cell->formula, old);
+ end = abs_strcasestr (cell->formula, old);
if (end > cell->formula + i)
pos = end;
else