summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 14:45:11 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 14:45:11 +0800
commit1cba425ea862591333bae972dd635b41cc8b4a11 (patch)
tree613f2baa0638960b0648ab41129ba726a84b47ce /math
parentcd16f98206bc15fadc25b5e5940e49c736da4800 (diff)
downloadmarcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.tar
marcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.tar.gz
marcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.tar.bz2
marcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.tar.lz
marcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.tar.xz
marcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.tar.zst
marcuscom-ports-1cba425ea862591333bae972dd635b41cc8b4a11.zip
Add gcalctool.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@594 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math')
-rw-r--r--math/gcalctool/Makefile34
-rw-r--r--math/gcalctool/distinfo1
-rw-r--r--math/gcalctool/pkg-descr5
-rw-r--r--math/gcalctool/pkg-plist38
4 files changed, 78 insertions, 0 deletions
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile
new file mode 100644
index 000000000..73acae287
--- /dev/null
+++ b/math/gcalctool/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: gcalctool
+# Date created: 12 Jun 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/math/gcalctool/Makefile,v 1.8 2003/04/04 07:34:35 marcus Exp $
+#
+
+PORTNAME= gcalctool
+PORTVERSION= 4.2.77
+PORTREVISION= 1
+CATEGORIES= math gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/4.2
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A GNOME 2 calculator tool based on the old calctool for OpenWindows
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|g'
+
+.include <bsd.port.mk>
diff --git a/math/gcalctool/distinfo b/math/gcalctool/distinfo
new file mode 100644
index 000000000..9c0990d38
--- /dev/null
+++ b/math/gcalctool/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/gcalctool-4.2.77.tar.bz2) = 853eac3c7e7b3e1925e3cb1f857f8e36
diff --git a/math/gcalctool/pkg-descr b/math/gcalctool/pkg-descr
new file mode 100644
index 000000000..30e69fa21
--- /dev/null
+++ b/math/gcalctool/pkg-descr
@@ -0,0 +1,5 @@
+Gcalctool is a powerful graphical calulator with financial, logical and
+scientific modes. It uses a multiple precision package to do its arithmetic to
+give a high degree of accuracy.
+
+WWW: http://calctool.sourceforge.net/
diff --git a/math/gcalctool/pkg-plist b/math/gcalctool/pkg-plist
new file mode 100644
index 000000000..b5ec9b03a
--- /dev/null
+++ b/math/gcalctool/pkg-plist
@@ -0,0 +1,38 @@
+bin/gcalctool
+etc/gconf/gconf.xml.defaults/apps/gcalctool/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/gcalctool/%gconf.xml
+etc/gconf/schemas/gcalctool.schemas
+share/gnome/applications/gcalctool.desktop
+share/gnome/help/gcalctool/C/figures/gcalctool_basic_window.png
+share/gnome/help/gcalctool/C/figures/gcalctool_edit_const_window.png
+share/gnome/help/gcalctool/C/figures/gcalctool_edit_func_window.png
+share/gnome/help/gcalctool/C/figures/gcalctool_financial_window.png
+share/gnome/help/gcalctool/C/figures/gcalctool_ins_ascii_window.png
+share/gnome/help/gcalctool/C/figures/gcalctool_mem_reg_window.png
+share/gnome/help/gcalctool/C/figures/gcalctool_menu_symbol.png
+share/gnome/help/gcalctool/C/figures/gcalctool_scientific_window.png
+share/gnome/help/gcalctool/C/gcalctool.xml
+share/gnome/help/gcalctool/C/legal.xml
+share/gnome/omf/gcalctool/gcalctool-C.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/gcalctool/gcalctool-C.omf 2>/dev/null || /usr/bin/true
+share/gnome/pixmaps/gcalctool.png
+share/locale/am/LC_MESSAGES/gcalctool.mo
+share/locale/ca/LC_MESSAGES/gcalctool.mo
+share/locale/cs/LC_MESSAGES/gcalctool.mo
+share/locale/es/LC_MESSAGES/gcalctool.mo
+share/locale/fr/LC_MESSAGES/gcalctool.mo
+share/locale/ja/LC_MESSAGES/gcalctool.mo
+share/locale/nl/LC_MESSAGES/gcalctool.mo
+share/locale/no/LC_MESSAGES/gcalctool.mo
+share/locale/pt/LC_MESSAGES/gcalctool.mo
+share/locale/pt_BR/LC_MESSAGES/gcalctool.mo
+share/locale/sv/LC_MESSAGES/gcalctool.mo
+share/locale/uk/LC_MESSAGES/gcalctool.mo
+share/locale/zh_TW/LC_MESSAGES/gcalctool.mo
+@dirrm share/gnome/omf/gcalctool
+@dirrm share/gnome/help/gcalctool/C/figures
+@dirrm share/gnome/help/gcalctool/C
+@dirrm share/gnome/help/gcalctool
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gcalctool
+@dirrm etc/gconf/gconf.xml.defaults/apps/gcalctool
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/gcalctool/gcalctool-C.omf 2>/dev/null || /usr/bin/true