On Thu, May 25, 2023 at 12:28:21PM +0100, Stuart Henderson wrote:
> On 2023/05/25 13:21, Theo Buehler wrote:
> > > Index: pkg/PLIST
> > > ===================================================================
> > > RCS file: /cvs/ports/math/maxima/pkg/PLIST,v
> > > retrieving revision 1.25
> > > diff -u -p -r1.25 PLIST
> > > --- pkg/PLIST     11 Mar 2022 19:36:19 -0000      1.25
> > > +++ pkg/PLIST     25 May 2023 11:00:08 -0000
> > > @@ -9,8 +9,9 @@ bin/xmaxima
> > >  info/maxima-index.lisp
> > >  info/maxima.info
> > >  info/maxima.info-1
> > > -info/maxima.info-2
> > > +info/maxima.info${MODPY_BIN_SUFFIX}
> > 
> > That will probably break packaging after the removal of the Python 
> > dependency.
> > 
> 
> good catch :)
> 

Stuart and Theo:

 I compiled maxima with the Python entries removed and it
installed and runs ok. Here is the Makefile based on Suarts diff. I
did retain the references to tcl8.6.

COMMENT=                GPL computer algebra system based on DOE
Macsyma

VERSION=                5.46.0
DISTNAME=               maxima-${VERSION}
CATEGORIES=             math

HOMEPAGE=               http://maxima.sourceforge.net/
MAINTAINER=             Ingo Feinerer <feine...@logic.at>

# GPLv2+
PERMIT_PACKAGE= Yes

WANTLIB += c ecl ffi gc gmp m pthread

MASTER_SITES=           ${MASTER_SITE_SOURCEFORGE:=maxima/}

USE_GMAKE=              yes

MODTCL_VERSION=         8.6

BUILD_DEPENDS =         print/texinfo 
LIB_DEPENDS=            lang/ecl 
RUN_DEPENDS =           devel/desktop-file-utils \
                        misc/rlwrap \
                        misc/shared-mime-info 


pre-build:
        ${MODTCL_WISH_ADJ} ${WRKSRC}/interfaces/xmaxima/xmaxima

SUBST_VARS=             VERSION

MAKE_FLAGS =            MAKEINFO="${LOCALBASE}/bin/gtexi2any" \
                        TEXI2DVI="${LOCALBASE}/bin/gtexi2dvi"

CONFIGURE_ARGS+=        --enable-ecl
CONFIGURE_STYLE=        gnu

FLAVORS=                no_x11
FLAVOR?=

.if !${FLAVOR:Mno_x11}
MODULES+=               x11/tk
MODTK_VERSION =         8.6
RUN_DEPENDS +=          ${MODTK_RUN_DEPENDS} \
                        math/gnuplot
BUILD_DEPENDS +=        ${MODTK_BUILD_DEPENDS}
CONFIGURE_ARGS +=       --with-wish=${MODTK_BIN}
.endif


.include <bsd.port.mk>

Let me do some more testing

--
Kind regards,
Jonathan

Reply via email to