diff options
Diffstat (limited to 'math/mathomatic')
-rw-r--r-- | math/mathomatic/Makefile | 21 | ||||
-rw-r--r-- | math/mathomatic/PLIST | 89 | ||||
-rw-r--r-- | math/mathomatic/distinfo | 10 | ||||
-rw-r--r-- | math/mathomatic/patches/patch-aa | 49 |
4 files changed, 123 insertions, 46 deletions
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile index 03441aea13e..8960e64ebd2 100644 --- a/math/mathomatic/Makefile +++ b/math/mathomatic/Makefile @@ -1,34 +1,29 @@ -# $NetBSD: Makefile,v 1.91 2009/09/22 02:05:50 minskim Exp $ +# $NetBSD: Makefile,v 1.92 2010/08/30 02:48:40 asau Exp $ # -DISTNAME= mathomatic-14.5.5 +DISTNAME= mathomatic-15.2.0 CATEGORIES= math -MASTER_SITES= http://www.panix.com/~gesslein/ +MASTER_SITES= http://mathomatic.org/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://www.mathomatic.org/ COMMENT= Small portable symbolic math program +LICENSE= gnu-lgpl-v2.1 PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= yes MAKE_FILE= makefile +USE_TOOLS+= gmake CFLAGS.SunOS+= -DSOLARIS -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +TEST_TARGET= test BUILDLINK_API_DEPENDS.readline+= readline>=5.1pl1nb1 .include "../../devel/readline/buildlink3.mk" - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${DESTDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/mathomatic.1 \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${WRKSRC}/README.txt \ - ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} - +#.include "../../devel/ncurses/buildlink3.mk" +#.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" diff --git a/math/mathomatic/PLIST b/math/mathomatic/PLIST index c1757661429..e50d035a415 100644 --- a/math/mathomatic/PLIST +++ b/math/mathomatic/PLIST @@ -1,17 +1,78 @@ -@comment $NetBSD: PLIST,v 1.13 2009/06/14 18:05:45 joerg Exp $ +@comment $NetBSD: PLIST,v 1.14 2010/08/30 02:48:40 asau Exp $ bin/mathomatic man/man1/mathomatic.1 +share/applications/mathomatic.desktop +share/doc/mathomatic/AUTHORS +share/doc/mathomatic/COPYING share/doc/mathomatic/README.txt -share/doc/mathomatic/am.html -share/doc/mathomatic/doc.css -share/doc/mathomatic/favicon.ico -share/doc/mathomatic/greenfade.png -share/doc/mathomatic/index.html -share/doc/mathomatic/led_circle_green.png -share/doc/mathomatic/manual.html -share/doc/mathomatic/matho-pascal.1.html -share/doc/mathomatic/matho-primes.1.html -share/doc/mathomatic/matho-sumsq.1.html -share/doc/mathomatic/mathomatic.1.html -share/doc/mathomatic/mathomatic16x16.png -share/doc/mathomatic/open_book_nae_02.png +share/doc/mathomatic/VERSION +share/doc/mathomatic/changes.txt +share/doc/mathomatic/factorial/README.txt +share/doc/mathomatic/factorial/fact.c +share/doc/mathomatic/factorial/fact.py +share/doc/mathomatic/factorial/factorial +share/doc/mathomatic/factorial/intfact.c +share/doc/mathomatic/html/README.txt +share/doc/mathomatic/html/am.html +share/doc/mathomatic/html/doc.css +share/doc/mathomatic/html/favicon.ico +share/doc/mathomatic/html/greenfade.png +share/doc/mathomatic/html/index.html +share/doc/mathomatic/html/led_circle_green.png +share/doc/mathomatic/html/manual.html +share/doc/mathomatic/html/matho-mult.1.html +share/doc/mathomatic/html/matho-pascal.1.html +share/doc/mathomatic/html/matho-primes.1.html +share/doc/mathomatic/html/matho-sum.1.html +share/doc/mathomatic/html/matho-sumsq.1.html +share/doc/mathomatic/html/mathomatic.1.html +share/doc/mathomatic/html/mathomatic16x16.png +share/doc/mathomatic/html/open_book_nae_02.png +share/doc/mathomatic/html/primorial.1.html +share/doc/mathomatic/m4/README.txt +share/doc/mathomatic/m4/functions.m4 +share/doc/mathomatic/m4/matho +share/doc/mathomatic/m4/matho-install +share/doc/mathomatic/m4/matho-uninstall +share/doc/mathomatic/m4/rmath +share/doc/mathomatic/tests/README.txt +share/doc/mathomatic/tests/all.in +share/doc/mathomatic/tests/all.out +share/doc/mathomatic/tests/circles.in +share/doc/mathomatic/tests/collatz.in +share/doc/mathomatic/tests/conversions.in +share/doc/mathomatic/tests/cubic.in +share/doc/mathomatic/tests/david.in +share/doc/mathomatic/tests/demo.in +share/doc/mathomatic/tests/distance.in +share/doc/mathomatic/tests/electronics.in +share/doc/mathomatic/tests/ellipse.in +share/doc/mathomatic/tests/examples.in +share/doc/mathomatic/tests/fibonacci.in +share/doc/mathomatic/tests/finance.in +share/doc/mathomatic/tests/fix1.in +share/doc/mathomatic/tests/fix2.in +share/doc/mathomatic/tests/fix5.in +share/doc/mathomatic/tests/fix7.in +share/doc/mathomatic/tests/fix8.in +share/doc/mathomatic/tests/fix9.in +share/doc/mathomatic/tests/fraction.in +share/doc/mathomatic/tests/geometry.in +share/doc/mathomatic/tests/heron.in +share/doc/mathomatic/tests/how_limit_works.in +share/doc/mathomatic/tests/hypertrig.in +share/doc/mathomatic/tests/limits.in +share/doc/mathomatic/tests/linear.in +share/doc/mathomatic/tests/pie.in +share/doc/mathomatic/tests/points.in +share/doc/mathomatic/tests/poly.in +share/doc/mathomatic/tests/pyth3d.in +share/doc/mathomatic/tests/radius.in +share/doc/mathomatic/tests/simplify.in +share/doc/mathomatic/tests/t +share/doc/mathomatic/tests/test.in +share/doc/mathomatic/tests/test1.in +share/doc/mathomatic/tests/test2.in +share/doc/mathomatic/tests/test6.in +share/doc/mathomatic/tests/trig.in +share/pixmaps/mathomatic.png diff --git a/math/mathomatic/distinfo b/math/mathomatic/distinfo index d6b985ce176..5b41b24aeb8 100644 --- a/math/mathomatic/distinfo +++ b/math/mathomatic/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.80 2009/09/22 02:05:50 minskim Exp $ +$NetBSD: distinfo,v 1.81 2010/08/30 02:48:40 asau Exp $ -SHA1 (mathomatic-14.5.5.tar.bz2) = 728b028dfc5a9324daaecf8c46f5baed353adcc4 -RMD160 (mathomatic-14.5.5.tar.bz2) = 132b8dfbf10f0cb058ea69f04580d0e787d4e555 -Size (mathomatic-14.5.5.tar.bz2) = 170610 bytes -SHA1 (patch-aa) = a9fd4cf2672e901d234e15511779663f7f8a9a59 +SHA1 (mathomatic-15.2.0.tar.bz2) = 88ca0a5dd53077b23e3d86c4b37f3ed5cefb4c60 +RMD160 (mathomatic-15.2.0.tar.bz2) = 7f5514c9f2f3a4302800a01d0054eced1a501c42 +Size (mathomatic-15.2.0.tar.bz2) = 179777 bytes +SHA1 (patch-aa) = a72a4bead52cad86cbd8313a180dac0fcbb895f7 diff --git a/math/mathomatic/patches/patch-aa b/math/mathomatic/patches/patch-aa index 8fb08e89b53..84dbed3892a 100644 --- a/math/mathomatic/patches/patch-aa +++ b/math/mathomatic/patches/patch-aa @@ -1,15 +1,36 @@ -$NetBSD: patch-aa,v 1.22 2009/09/22 02:05:50 minskim Exp $ +$NetBSD: patch-aa,v 1.23 2010/08/30 02:48:41 asau Exp $ ---- makefile.orig 2009-09-05 08:12:42.000000000 -0700 -+++ makefile -@@ -10,8 +10,8 @@ CFLAGS += -O -DUNIX -DVERSION=\"$(VERSI - LDLIBS += -lm # libraries to link - - # "make READLINE=1" to include readline support: --CFLAGS += $(READLINE:1=-DREADLINE) --LDLIBS += $(READLINE:1=-lreadline -lncurses) -+CFLAGS += -DREADLINE -+LDLIBS += -lreadline - - # Uncomment the following to generate 64bit x86-64 code: - #CFLAGS += -m64 +--- makefile.orig 2010-08-09 00:45:21.000000000 +0000 ++++ makefile 2010-08-10 22:40:20.000000000 +0000 +@@ -27,10 +27,11 @@ + #LDFLAGS += -m64 + + # Install directories follow; installs everything in /usr/local by default: +-prefix ?= /usr/local +-bindir ?= $(prefix)/bin +-mandir ?= $(prefix)/share/man +-docdir ?= $(prefix)/share/doc ++DESTDIR= ++prefix ?= /usr/pkg ++bindir ?= $(DESTDIR)$(prefix)/bin ++mandir ?= $(DESTDIR)$(prefix)/man ++docdir ?= $(DESTDIR)$(prefix)/share/doc + mathdocdir ?= $(docdir)/mathomatic + + # Mathomatic program names (can be changed): +@@ -137,11 +138,11 @@ + + bininstall: + $(INSTALL) -d $(bindir) +- $(INSTALL) -d $(prefix)/share/applications +- $(INSTALL) -d $(prefix)/share/pixmaps ++ $(INSTALL) -d $(DESTDIR)$(prefix)/share/applications ++ $(INSTALL) -d $(DESTDIR)$(prefix)/share/pixmaps + $(INSTALL_PROGRAM) $(AOUT) $(bindir) +- $(INSTALL_DATA) icons/mathomatic.desktop $(prefix)/share/applications +- $(INSTALL_DATA) icons/mathomatic.png $(prefix)/share/pixmaps ++ $(INSTALL_DATA) icons/mathomatic.desktop $(DESTDIR)$(prefix)/share/applications ++ $(INSTALL_DATA) icons/mathomatic.png $(DESTDIR)$(prefix)/share/pixmaps + + docinstall: + $(INSTALL) -d $(mandir)/man1 |