summaryrefslogtreecommitdiff
path: root/math/gcalctool
diff options
context:
space:
mode:
authorrh <rh>2002-11-02 10:26:00 +0000
committerrh <rh>2002-11-02 10:26:00 +0000
commit61429a0818318460f38bf95c167dc08dc10c7394 (patch)
treedd4a30357a9aa031356b631c9943fcb44125d9bb /math/gcalctool
parent389af1078c253d0a233d3f6acd7c90aa896957a7 (diff)
downloadpkgsrc-61429a0818318460f38bf95c167dc08dc10c7394.tar.gz
Initial import of gcalctool-4.1.0, a gtk2+ version of calctool, a versatile
calculator tool. This version was provided by Scott Aaron Bamford in PR pkg/18660 with some buildlink2 changes by me.
Diffstat (limited to 'math/gcalctool')
-rw-r--r--math/gcalctool/DESCR13
-rw-r--r--math/gcalctool/Makefile25
-rw-r--r--math/gcalctool/PLIST5
-rw-r--r--math/gcalctool/distinfo5
-rw-r--r--math/gcalctool/patches/patch-aa13
5 files changed, 61 insertions, 0 deletions
diff --git a/math/gcalctool/DESCR b/math/gcalctool/DESCR
new file mode 100644
index 00000000000..11c58e51f7c
--- /dev/null
+++ b/math/gcalctool/DESCR
@@ -0,0 +1,13 @@
+From the README:
+
+This is v4.1.0 of calctool, the calculator application that was in the
+OpenWindows Deskset of the Solaris 8 operating system. Sun Microsystems Inc.
+have kindly given me permission to release it.
+
+It incorporates a multiple precision arithmetic packages based on the work
+of Professor Richard Brent, who has also kindly given me permission to make
+it available.
+
+There is a single graphics driver for Gtk2 included with this release, but
+the code is written in a portable abstracted way, so it should not be very
+difficult to add others over time.
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile
new file mode 100644
index 00000000000..b783a90a236
--- /dev/null
+++ b/math/gcalctool/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/02 10:26:00 rh Exp $
+#
+
+DISTNAME= gcalctool-4.1.0
+CATEGORIES= math gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gcalctool/4.1/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= sab@posix.org.uk
+HOMEPAGE= http://www.gnome.org/
+COMMENT= gtk2+ version of calctool
+
+BUILD_USES_MSGFMT= YES
+
+#USE_PERL5= build
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+USE_X11= YES
+#USE_LIBTOOL= YES
+#LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../x11/gtk2/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/gcalctool/PLIST b/math/gcalctool/PLIST
new file mode 100644
index 00000000000..b1d8a4ceaa9
--- /dev/null
+++ b/math/gcalctool/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/02 10:26:00 rh Exp $
+bin/gcalctool
+man/man1/calctool.1
+share/gcalctool/calctool.gif
+@dirrm share/gcalctool
diff --git a/math/gcalctool/distinfo b/math/gcalctool/distinfo
new file mode 100644
index 00000000000..29bf09afef8
--- /dev/null
+++ b/math/gcalctool/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/02 10:26:00 rh Exp $
+
+SHA1 (gcalctool-4.1.0.tar.bz2) = 957615606c365a1f9c5bba97ee03ad83a5de2e0e
+Size (gcalctool-4.1.0.tar.bz2) = 152000 bytes
+SHA1 (patch-aa) = 053efbe4098cb38eaec108f9762daf8bcee4778e
diff --git a/math/gcalctool/patches/patch-aa b/math/gcalctool/patches/patch-aa
new file mode 100644
index 00000000000..da107b21bcd
--- /dev/null
+++ b/math/gcalctool/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/11/02 10:26:00 rh Exp $
+
+--- gcalctool/Makefile.in.orig Wed Jun 5 18:04:50 2002
++++ gcalctool/Makefile.in
+@@ -114,7 +114,7 @@ gcalctool_SOURCES = \
+ extern.h
+
+
+-gcalctool_LDADD = @PACKAGE_LIBS@ -lX11 -lsocket -lnsl
++gcalctool_LDADD = @PACKAGE_LIBS@ -lX11
+
+ pkgdata_DATA = calctool.gif
+