diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-04 23:51:38 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-04 23:51:38 +0800 |
commit | c82163474330a0f535e5aa329f40de50183eafbc (patch) | |
tree | ce3c5d3dbef519bcde9f1fceba65481f594df9e6 /math/gdcalc | |
parent | ad3f08091d7a06f5a02a9336542fc05f3a3a04b3 (diff) | |
download | marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.tar marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.tar.gz marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.tar.bz2 marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.tar.lz marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.tar.xz marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.tar.zst marcuscom-ports-c82163474330a0f535e5aa329f40de50183eafbc.zip |
- Don't remove gnome dirs
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7554 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math/gdcalc')
-rw-r--r-- | math/gdcalc/Makefile | 22 | ||||
-rw-r--r-- | math/gdcalc/distinfo | 3 | ||||
-rw-r--r-- | math/gdcalc/files/patch-src::dcalc.c | 20 | ||||
-rw-r--r-- | math/gdcalc/pkg-descr | 13 | ||||
-rw-r--r-- | math/gdcalc/pkg-plist | 11 |
5 files changed, 69 insertions, 0 deletions
diff --git a/math/gdcalc/Makefile b/math/gdcalc/Makefile new file mode 100644 index 000000000..b21cb9c01 --- /dev/null +++ b/math/gdcalc/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: gdcalc +# Date created: 2002-06-29 +# Whom: Jan Srocker <Jan.Stocker@t-online.de> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= gdcalc +PORTVERSION= 2.13 +PORTREVISION= 3 +CATEGORIES= math +MASTER_SITES= http://bhepple.freeshell.org/dcalc/unix/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Gnome-based scientific calculator + +RUN_DEPENDS= ${LOCALBASE}/bin/gunits:${PORTSDIR}/math/units + +USE_GNOME= gnomelibs gnomehier +GNU_CONFIGURE= yes + +.include <bsd.port.mk> diff --git a/math/gdcalc/distinfo b/math/gdcalc/distinfo new file mode 100644 index 000000000..730b791c4 --- /dev/null +++ b/math/gdcalc/distinfo @@ -0,0 +1,3 @@ +MD5 (gdcalc-2.13.tar.gz) = b810a64709d49f7ac5372f6dc63ed35d +SHA256 (gdcalc-2.13.tar.gz) = a6dc0b5fcf88484fc25eaf2bc4ed77a3486c159cf562d13493b03be8119ef526 +SIZE (gdcalc-2.13.tar.gz) = 194074 diff --git a/math/gdcalc/files/patch-src::dcalc.c b/math/gdcalc/files/patch-src::dcalc.c new file mode 100644 index 000000000..1d6a2c591 --- /dev/null +++ b/math/gdcalc/files/patch-src::dcalc.c @@ -0,0 +1,20 @@ +--- src/dcalc.c.orig Fri Jul 12 15:26:18 2002 ++++ src/dcalc.c Fri Jul 12 15:26:06 2002 +@@ -3247,7 +3247,7 @@ + oldX = 1.0; + + sprintf(fromarg, "%f %s", oldX, from); +- argv[0] = "units"; ++ argv[0] = "gunits"; + argv[1] = "-o %.20g"; + argv[2] = fromarg; + argv[3] = to; +@@ -3296,7 +3296,7 @@ + does not use stderr! */ + msg("Bad units"); + else +- msg("Can't find the units program - please install it!"); ++ msg("Can't find the gunits program - please install it!"); + + fclose(p); /* no need to close fd[1] too */ + } diff --git a/math/gdcalc/pkg-descr b/math/gdcalc/pkg-descr new file mode 100644 index 000000000..60adcb655 --- /dev/null +++ b/math/gdcalc/pkg-descr @@ -0,0 +1,13 @@ +gdcalc is a financial, statistics, scientific and programmers +calculator for Unix. The GUI was written with glade(1) and uses the +Gnome/Gtk+ toolkit - so it may well be compatible with themes and +other whiz-bang features of those systems. + +gdcalc has both Algebraic notation (ie. conventional, TI or Casio +style) and Reverse Polish Notation (RPN or Hewlett-Packard style). +If you've not heard of RPN before, you are probably familiar with +algebraic calculators. Very briefly, while simpler and more natural +to use, RPN calculators need some study eg. they have an Enter key +instead of the equals key. + +WWW: http://bhepple.freeshell.org/dcalc/unix/ diff --git a/math/gdcalc/pkg-plist b/math/gdcalc/pkg-plist new file mode 100644 index 000000000..adb73b1fd --- /dev/null +++ b/math/gdcalc/pkg-plist @@ -0,0 +1,11 @@ +bin/gdcalc +share/applnk/Applications/gdcalc.kdelnk +share/gnome/apps/Utilities/gdcalc.desktop +share/icons/HP-16C-48.xpm +share/icons/mini-HP-16C-48.xpm +share/pixmaps/HP-16C-48.xpm +share/pixmaps/mini-HP-16C-48.xpm +@dirrmtry share/pixmaps +@dirrmtry share/icons +@dirrmtry share/applnk/Applications +@dirrmtry share/applnk |