summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-20 23:02:19 +0800
committeradamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-20 23:02:19 +0800
commita33e3ddcd0c7d11a4775c33559a30f32ae9ab90a (patch)
tree151e5e32a7ba96a2ac67201e9fd693e6e9f0885b
parent89ed269d0c9a16f52de5e6e1dd57aa22719184b5 (diff)
downloadmarcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.tar
marcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.tar.gz
marcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.tar.bz2
marcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.tar.lz
marcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.tar.xz
marcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.tar.zst
marcuscom-ports-a33e3ddcd0c7d11a4775c33559a30f32ae9ab90a.zip
Import genius-0.7.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2698 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--deskutils/genius/Makefile39
-rw-r--r--deskutils/genius/distinfo2
-rw-r--r--deskutils/genius/files/patch-Makefile.in14
-rw-r--r--deskutils/genius/files/patch-src::Makefile.in11
-rw-r--r--deskutils/genius/pkg-descr19
-rw-r--r--deskutils/genius/pkg-plist102
6 files changed, 187 insertions, 0 deletions
diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile
new file mode 100644
index 000000000..83e602636
--- /dev/null
+++ b/deskutils/genius/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: genius
+# Date created: 1 May 1999
+# Whom: Andrey Zakhvatov
+#
+# $FreeBSD: ports/deskutils/genius/Makefile,v 1.31 2004/06/27 18:03:28 krion Exp $
+#
+
+PORTNAME= genius
+PORTVERSION= 0.7.1
+CATEGORIES= deskutils gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.7
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Arbitrary precision calculator for Gnome Desktop Environment
+
+LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
+
+USE_BZIP2= yes
+USE_PERL5_BUILD=yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget gtksourceview libgnomeui \
+ vte
+USE_LIBTOOL_VER=15
+USE_GMAKE= yes
+USE_REINPLACE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-O3||" ${WRKSRC}/configure
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500018
+IGNORE= "Requires readline 4.2 or newer"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/genius/distinfo b/deskutils/genius/distinfo
new file mode 100644
index 000000000..b53a9b48f
--- /dev/null
+++ b/deskutils/genius/distinfo
@@ -0,0 +1,2 @@
+MD5 (genius-0.7.1.tar.bz2) = f6595351975739225727c0f8e0e8fb72
+SIZE (genius-0.7.1.tar.bz2) = 1065674
diff --git a/deskutils/genius/files/patch-Makefile.in b/deskutils/genius/files/patch-Makefile.in
new file mode 100644
index 000000000..f8d8c3758
--- /dev/null
+++ b/deskutils/genius/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+--- Makefile.in.bak Tue Jun 15 02:58:05 2004
++++ Makefile.in Wed Jun 16 11:45:48 2004
+@@ -450,10 +450,7 @@
+ install-exec-am:
+ install-exec: install-exec-recursive
+
+-install-data-am: install-appregDATA install-mimeinfoDATA \
+- install-packagesDATA
+- @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
++install-data-am: install-appregDATA install-mimeinfoDATA
+ install-data: install-data-recursive
+
+ install-am: all-am
diff --git a/deskutils/genius/files/patch-src::Makefile.in b/deskutils/genius/files/patch-src::Makefile.in
new file mode 100644
index 000000000..8f8408040
--- /dev/null
+++ b/deskutils/genius/files/patch-src::Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.bak Fri Oct 17 02:22:23 2003
++++ src/Makefile.in Fri Oct 17 12:11:07 2003
+@@ -213,7 +213,7 @@
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+ LIBS = @LIBS@
+-libtestplugin_la_LDFLAGS =
++libtestplugin_la_LDFLAGS = -module -avoid-version
+ libtestplugin_la_LIBADD =
+ libtestplugin_la_OBJECTS = testplugin.lo
+ bin_PROGRAMS = gnome-genius$(EXEEXT) genius$(EXEEXT)
diff --git a/deskutils/genius/pkg-descr b/deskutils/genius/pkg-descr
new file mode 100644
index 000000000..b3e749ff0
--- /dev/null
+++ b/deskutils/genius/pkg-descr
@@ -0,0 +1,19 @@
+Genius Calculator is a precision calculator for Gnome Desktop Environment.
+
+Features of Genius:
+
+ * arbitrary precision integers (2-36), multiple precision floats
+ * uses rationals when possible
+ * will calculate and show half calculated expressions if the calculation
+ could not be completed
+ * variables
+ * user functions
+ * variable and function references with C like syntax
+ * anonymous functions
+ * it will add missing parenthesis on the ends of expressions (only in
+ the GUI version)
+ * matrix support
+ * complex numbers
+ * more ...
+
+WWW: http://www.5z.com/jirka/genius.html
diff --git a/deskutils/genius/pkg-plist b/deskutils/genius/pkg-plist
new file mode 100644
index 000000000..a8b096df7
--- /dev/null
+++ b/deskutils/genius/pkg-plist
@@ -0,0 +1,102 @@
+bin/genius
+bin/gnome-genius
+include/genius/compil.h
+include/genius/dict.h
+include/genius/eval.h
+include/genius/geloutput.h
+include/genius/genius-i18n.h
+include/genius/lexer.h
+include/genius/matop.h
+include/genius/matrix.h
+include/genius/matrixw.h
+include/genius/mpwrap.h
+include/genius/mpzextra.h
+include/genius/plug_api.h
+include/genius/structs.h
+include/genius/utype.h
+lib/genius/libtestplugin.so
+libexec/genius-readline-helper-fifo
+share/gnome/application-registry/genius.applications
+share/gnome/applications/gnome-genius.desktop
+share/gnome/genius/gel/calculus/differentiation.gel
+share/gnome/genius/gel/calculus/integration.gel
+share/gnome/genius/gel/calculus/limits.gel
+share/gnome/genius/gel/calculus/loader.gel
+share/gnome/genius/gel/calculus/sums_products.gel
+share/gnome/genius/gel/combinatorics/factorial.gel
+share/gnome/genius/gel/combinatorics/loader.gel
+share/gnome/genius/gel/combinatorics/misc.gel
+share/gnome/genius/gel/combinatorics/recursive_sequences.gel
+share/gnome/genius/gel/equation_solving/find_root.gel
+share/gnome/genius/gel/equation_solving/loader.gel
+share/gnome/genius/gel/functions/complex_numbers.gel
+share/gnome/genius/gel/functions/delta.gel
+share/gnome/genius/gel/functions/elementary.gel
+share/gnome/genius/gel/functions/kernels.gel
+share/gnome/genius/gel/functions/loader.gel
+share/gnome/genius/gel/functions/numerical.gel
+share/gnome/genius/gel/functions/orthogonal_polynomials.gel
+share/gnome/genius/gel/lib.cgel
+share/gnome/genius/gel/linear_algebra/bilinear_forms.gel
+share/gnome/genius/gel/linear_algebra/linear_algebra.gel
+share/gnome/genius/gel/linear_algebra/loader.gel
+share/gnome/genius/gel/linear_algebra/misc.gel
+share/gnome/genius/gel/linear_algebra/special_matrices.gel
+share/gnome/genius/gel/linear_algebra/subspaces.gel
+share/gnome/genius/gel/loader.gel
+share/gnome/genius/gel/misc/loader.gel
+share/gnome/genius/gel/misc/misc.gel
+share/gnome/genius/gel/number_theory/factoring.gel
+share/gnome/genius/gel/number_theory/loader.gel
+share/gnome/genius/gel/number_theory/misc.gel
+share/gnome/genius/gel/number_theory/modulus.gel
+share/gnome/genius/gel/number_theory/primes.gel
+share/gnome/genius/gel/number_theory/quadratic.gel
+share/gnome/genius/gel/sets/basic.gel
+share/gnome/genius/gel/sets/loader.gel
+share/gnome/genius/gel/statistics/basic.gel
+share/gnome/genius/gel/statistics/loader.gel
+share/gnome/genius/gtksourceview/genius.lang
+share/gnome/genius/manual.txt
+share/gnome/genius/plugins/test.plugin
+share/gnome/mime-info/genius.keys
+share/gnome/mime-info/genius.mime
+share/locale/az/LC_MESSAGES/genius.mo
+share/locale/ca/LC_MESSAGES/genius.mo
+share/locale/cs/LC_MESSAGES/genius.mo
+share/locale/de/LC_MESSAGES/genius.mo
+share/locale/el/LC_MESSAGES/genius.mo
+share/locale/en_CA/LC_MESSAGES/genius.mo
+share/locale/en_GB/LC_MESSAGES/genius.mo
+share/locale/es/LC_MESSAGES/genius.mo
+share/locale/fr/LC_MESSAGES/genius.mo
+share/locale/ga/LC_MESSAGES/genius.mo
+share/locale/hi/LC_MESSAGES/genius.mo
+share/locale/hr/LC_MESSAGES/genius.mo
+share/locale/it/LC_MESSAGES/genius.mo
+share/locale/ko/LC_MESSAGES/genius.mo
+share/locale/nl/LC_MESSAGES/genius.mo
+share/locale/no/LC_MESSAGES/genius.mo
+share/locale/pl/LC_MESSAGES/genius.mo
+share/locale/pt/LC_MESSAGES/genius.mo
+share/locale/pt_BR/LC_MESSAGES/genius.mo
+share/locale/sq/LC_MESSAGES/genius.mo
+share/locale/sr/LC_MESSAGES/genius.mo
+share/locale/sr@Latn/LC_MESSAGES/genius.mo
+share/locale/sv/LC_MESSAGES/genius.mo
+share/locale/zh_CN/LC_MESSAGES/genius.mo
+@dirrm share/gnome/genius/gtksourceview
+@dirrm share/gnome/genius/plugins
+@dirrm share/gnome/genius/gel/statistics
+@dirrm share/gnome/genius/gel/sets
+@dirrm share/gnome/genius/gel/number_theory
+@dirrm share/gnome/genius/gel/misc
+@dirrm share/gnome/genius/gel/linear_algebra
+@dirrm share/gnome/genius/gel/functions
+@dirrm share/gnome/genius/gel/equation_solving
+@dirrm share/gnome/genius/gel/combinatorics
+@dirrm share/gnome/genius/gel/calculus
+@dirrm share/gnome/genius/gel
+@dirrm share/gnome/genius
+@dirrm lib/genius
+@dirrm include/genius