summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-05-29 10:38:32 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-05-29 10:38:32 +0800
commitbcd43e5e2bb7e757ca5507395fd177b7ce2d07e0 (patch)
tree28c758d9a560468984d25a293e13568533f7c69c /math
parent7e5fe36d12684e8f454caf4e09915dc4b3dce5ee (diff)
downloadmarcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.tar
marcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.tar.gz
marcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.tar.bz2
marcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.tar.lz
marcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.tar.xz
marcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.tar.zst
marcuscom-ports-bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0.zip
Add gcalctool and update to 4.2.86.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@823 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..aa92fdf0a
--- /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.11 2003/04/29 17:09:36 marcus Exp $
+#
+
+PORTNAME= gcalctool
+PORTVERSION= 4.2.86
+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" \
+ LDFLAGS="-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..50deae741
--- /dev/null
+++ b/math/gcalctool/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/gcalctool-4.2.86.tar.bz2) = e9e11b46a3ff83da25a782ce4fd5d3f7
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..a7a3dd936
--- /dev/null
+++ b/math/gcalctool/pkg-plist
@@ -0,0 +1,38 @@
+bin/gcalctool
+bin/gnome-calculator
+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_financial_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/de/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/sr/LC_MESSAGES/gcalctool.mo
+share/locale/sr@Latn/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