From c19fd1cebe162cf8edbbc74956d67bd0dde70e44 Mon Sep 17 00:00:00 2001 From: kevlo Date: Thu, 28 Dec 2000 13:55:13 +0000 Subject: [PATCH] Initial import of abs 0.8. abs is a free spreadsheet with graphical user interface. --- math/abs/Makefile | 24 +++++++++++++ math/abs/files/md5 | 3 ++ math/abs/patches/patch-Makefile | 47 ++++++++++++++++++++++++++ math/abs/patches/patch-X11_button_h | 11 ++++++ math/abs/patches/patch-X11_popnindex_h | 11 ++++++ math/abs/pkg/COMMENT | 1 + math/abs/pkg/DESCR | 5 +++ math/abs/pkg/PLIST | 19 +++++++++++ 8 files changed, 121 insertions(+) create mode 100644 math/abs/Makefile create mode 100644 math/abs/files/md5 create mode 100644 math/abs/patches/patch-Makefile create mode 100644 math/abs/patches/patch-X11_button_h create mode 100644 math/abs/patches/patch-X11_popnindex_h create mode 100644 math/abs/pkg/COMMENT create mode 100644 math/abs/pkg/DESCR create mode 100644 math/abs/pkg/PLIST diff --git a/math/abs/Makefile b/math/abs/Makefile new file mode 100644 index 00000000000..e0a7bbea8a2 --- /dev/null +++ b/math/abs/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/12/28 13:55:13 kevlo Exp $ + +DISTNAME= abs-src-0.8 +PKGNAME= abs-0.8 +CATEGORIES= math +NEED_VERSION= 1.348 + +HOMEPAGE= http://www.ping.be/bertin/abs.shtml + +MAINTAINER= Kevin Lo + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://www.ping.be/bertin/ + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abs + ${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/Examples/* ${PREFIX}/share/examples/abs + +.include diff --git a/math/abs/files/md5 b/math/abs/files/md5 new file mode 100644 index 00000000000..ba3b565baa0 --- /dev/null +++ b/math/abs/files/md5 @@ -0,0 +1,3 @@ +MD5 (abs-src-0.8.tar.gz) = 421faf4cc2f3a82907cfe012e35e3d37 +RMD160 (abs-src-0.8.tar.gz) = 923e158d317b9495c78320d2df4dd7bb18124fa7 +SHA1 (abs-src-0.8.tar.gz) = 2123f3c80981a9fe7535645ed8b9726d81751157 diff --git a/math/abs/patches/patch-Makefile b/math/abs/patches/patch-Makefile new file mode 100644 index 00000000000..e587b23c498 --- /dev/null +++ b/math/abs/patches/patch-Makefile @@ -0,0 +1,47 @@ +--- Makefile.orig Thu Dec 28 20:27:29 2000 ++++ Makefile Thu Dec 28 21:10:28 2000 +@@ -1,7 +1,7 @@ + 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 +@@ -10,7 +10,7 @@ + #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 + #for netBSD LIBS = -L /usr/lib -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext +-LIBS = -L /lib/X11 -L /usr/X11R6/lib -L /usr/contrib/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext ++LIBS = -L${X11BASE}/lib -lXaw -lXpm -lX11 -lm -lXt -lXmu -lXext + + #for hp DEFINE = -D_HPUX_SOURCE + DEFINE = +@@ -19,10 +19,10 @@ + + #for hp IncludeDir = /usr/contrib/X11R6/include + #for net-BSD IncludeDir = /usr/X11R6/include +-IncludeDir = . ++IncludeDir = ${X11BASE}/include + + #for hp Ccompiler = c89 +-Ccompiler = cc ++Ccompiler = ${CC} + + all:: + rm -f ./abs;\ +@@ -34,10 +34,10 @@ + $(MAKE) TOPCFLAGS=$(CFLAGS) IncludeDir=$(IncludeDir) Ccompiler=$(Ccompiler) DEFINE=$(DEFINE) all); \ + fi \ + done +- cc -o abs ./Plot/*.o ./ABV/*.o \ ++ ${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 \ ++ ${LIBS} ${DEFINE} + + + diff --git a/math/abs/patches/patch-X11_button_h b/math/abs/patches/patch-X11_button_h new file mode 100644 index 00000000000..930a3c55737 --- /dev/null +++ b/math/abs/patches/patch-X11_button_h @@ -0,0 +1,11 @@ +--- X11/button.h.orig Thu Dec 28 20:40:57 2000 ++++ X11/button.h Thu Dec 28 20:41:10 2000 +@@ -28,7 +28,7 @@ + #define WIDGET_BUTTON_H + + #include "param.h" +-#include "xpm.h" ++#include + extern int make_pixmap_from_data (Widget parent, char **bits, Pixmap * bm); + + extern Widget diff --git a/math/abs/patches/patch-X11_popnindex_h b/math/abs/patches/patch-X11_popnindex_h new file mode 100644 index 00000000000..a08ef29f719 --- /dev/null +++ b/math/abs/patches/patch-X11_popnindex_h @@ -0,0 +1,11 @@ +--- X11/popnindex.h.orig Thu Dec 28 20:41:57 2000 ++++ X11/popnindex.h Thu Dec 28 20:42:09 2000 +@@ -29,7 +29,7 @@ + + #include + #include "param.h" +-#include "xpm.h" ++#include + + extern void m_paste (); + extern void m_cut (); diff --git a/math/abs/pkg/COMMENT b/math/abs/pkg/COMMENT new file mode 100644 index 00000000000..b7760ccdfcd --- /dev/null +++ b/math/abs/pkg/COMMENT @@ -0,0 +1 @@ +free spreadsheet with graphical user interface diff --git a/math/abs/pkg/DESCR b/math/abs/pkg/DESCR new file mode 100644 index 00000000000..0762c2157a2 --- /dev/null +++ b/math/abs/pkg/DESCR @@ -0,0 +1,5 @@ +Abs is a free spreadsheet with graphical user interface. +It has a programming language with the same +syntax as Microsoft Visual Basic. + +WWW: {HOMEPAGE} diff --git a/math/abs/pkg/PLIST b/math/abs/pkg/PLIST new file mode 100644 index 00000000000..b0fdc83aefb --- /dev/null +++ b/math/abs/pkg/PLIST @@ -0,0 +1,19 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/28 13:55:13 kevlo Exp $ +bin/abs +share/examples/abs/benchmarck.abs +share/examples/abs/call.abs +share/examples/abs/case.abs +share/examples/abs/charts.abs +share/examples/abs/color.abs +share/examples/abs/data +share/examples/abs/example.abs +share/examples/abs/file.abs +share/examples/abs/font.abs +share/examples/abs/fractal.abs +share/examples/abs/graphics.abs +share/examples/abs/if.abs +share/examples/abs/life.abs +share/examples/abs/loop.abs +share/examples/abs/project.abs +share/examples/abs/system.abs +@dirrm share/examples/abs