Hi!

fix 1:
for rmaxima need misc/rlwrap

fix 2:
for xmaxima shell should be MODTK_BIN and for build not need x11/tk
(also switched to Tk 8.5)

fix 3:
for !no_x11 need math/gnuplot

-- 
Alexandr Shadchin

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/maxima/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile    4 Dec 2010 14:37:19 -0000       1.16
+++ Makefile    6 Jan 2011 11:12:20 -0000
@@ -4,6 +4,7 @@ COMMENT=                GPL computer algebra system ba
 
 VERSION=               5.22.1
 DISTNAME=              maxima-${VERSION}
+REVISION=              0
 CATEGORIES=            math
 
 HOMEPAGE=              http://maxima.sourceforge.net/
@@ -18,6 +19,7 @@ MASTER_SITES=         ${MASTER_SITE_SOURCEFORGE
 
 USE_GMAKE=             yes
 
+RUN_DEPENDS=           misc/rlwrap
 LIB_DEPENDS=           lang/ecl
 WANTLIB +=             c gc gmp m pthread ecl
 
@@ -31,12 +33,10 @@ FLAVORS=            no_x11
 FLAVOR?=
 
 .if !${FLAVOR:L:Mno_x11}
-MODTK_VERSION=         8.4
 MODULES+=              x11/tk
-RUN_DEPENDS+=          ${MODTK_RUN_DEPENDS}
-BUILD_DEPENDS=         ${RUN_DEPENDS}
-CONFIGURE_ARGS+=       --with-wish=${MODTCL_BIN}
+RUN_DEPENDS+=          ${MODTK_RUN_DEPENDS} \
+                       math/gnuplot
+CONFIGURE_ARGS+=       --with-wish=${MODTK_BIN}
 .endif
-
 
 .include <bsd.port.mk>

Reply via email to