From bcd43e5e2bb7e757ca5507395fd177b7ce2d07e0 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 29 May 2003 02:38:32 +0000 Subject: Add gcalctool and update to 4.2.86. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@823 df743ca5-7f9a-e211-a948-0013205c9059 --- math/gcalctool/Makefile | 34 ++++++++++++++++++++++++++++++++++ math/gcalctool/distinfo | 1 + math/gcalctool/pkg-descr | 5 +++++ math/gcalctool/pkg-plist | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 math/gcalctool/Makefile create mode 100644 math/gcalctool/distinfo create mode 100644 math/gcalctool/pkg-descr create mode 100644 math/gcalctool/pkg-plist (limited to 'math') 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 +# +# $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 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 -- cgit v1.2.3