Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2024 14:13:00 +0200
From:      Daniel Engberg <daniel.engberg.lists@pyret.net>
To:        Thierry Thomas <thierry@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 12594e1aee7b - main - math/mathex: new port, C++  library to parse/evaluate mathematical expressions
Message-ID:  <74dfc79ede606f9424af2b0f564b01f3@mail.infomaniak.com>
In-Reply-To: <202406211115.45LBFt3m025401@gitrepo.freebsd.org>
References:  <202406211115.45LBFt3m025401@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--_=_swift_1718971980_b010cda8dad68453e55541d7565fcca0_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2024-06-21T13:15:55.000+02:00, Thierry Thomas <thierry@FreeBSD.org>
wr=
ote:

>=C2=A0The=C2=A0branch=C2=A0main=C2=A0has=C2=A0been=C2=A0updated=
=C2=A0by=C2=A0thierry:
>=C2=A0
>=C2=A0URL:=C2=A0https://cgit.FreeBSD.or=
g/ports/commit/?id=3D12594e1aee7b17507b85b8a0ee762a678b3ff79e
>=C2=A0
>=
=C2=A0commit=C2=A012594e1aee7b17507b85b8a0ee762a678b3ff79e
>=C2=A0
>=
=C2=A0Author:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Thierry=C2=A0Thomas=C2=A0<thierr=
y@FreeBSD.org>
>=C2=A0
>=C2=A0AuthorDate:=C2=A02024-06-21=C2=A009:22:25=
=C2=A0+0000
>=C2=A0
>=C2=A0Commit:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Thierry=
=C2=A0Thomas=C2=A0<thierry@FreeBSD.org>
>=C2=A0
>=C2=A0CommitDate:=
=C2=A02024-06-21=C2=A011:15:52=C2=A0+0000
>=C2=A0
>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0math/mathex:=C2=A0new=C2=A0port,=C2=A0C++=C2=A0library=C2=
=A0to=C2=A0parse/evaluate=C2=A0mathematical=C2=A0expressions
>=C2=A0
>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
>=C2=A0
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0Remark:=C2=A0upstream=C2=A0seems=C2=A0inactive,=C2=A0but=C2=A0MathEx=
=C2=A0is=C2=A0still=C2=A0used=C2=A0by=C2=A0Gmsh.
>=C2=A0
>=C2=A0---
>=
=C2=A0
>=C2=A0=C2=A0math/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0|=C2=A0=C2=A01=C2=A0+
>=C2=A0
>=C2=A0=C2=A0math/mathex/Make=
file=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0|=C2=A044=C2=A0++++++++++++++++++++++++++++++++++++++++
>=
=C2=A0
>=C2=A0=C2=A0math/mathex/distinfo=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A03=C2=A0+++
>=
=C2=A0
>=C2=A0=C2=A0math/mathex/files/patch-makefile=C2=A0|=C2=A022=C2=
=A0++++++++++++++++++++
>=C2=A0
>=C2=A0=C2=A0math/mathex/pkg-descr=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=
=C2=A0=C2=A04=C2=A0++++
>=C2=A0
>=C2=A0=C2=A05=C2=A0files=C2=A0changed,=
=C2=A074=C2=A0insertions(+)
>=C2=A0
>=C2=A0diff=C2=A0--git=C2=A0a/math/=
Makefile=C2=A0b/math/Makefile
>=C2=A0
>=C2=A0index=C2=A044e78e22da9a..d=
e329683fee5=C2=A0100644
>=C2=A0
>=C2=A0---=C2=A0a/math/Makefile
>=
=C2=A0
>=C2=A0+++=C2=A0b/math/Makefile
>=C2=A0
>=C2=A0@@=C2=A0-487,6=
=C2=A0+487,7=C2=A0@@
>=C2=A0
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SUBDI=
R=C2=A0+=3D=C2=A0m4rie
>=C2=A0
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SUB=
DIR=C2=A0+=3D=C2=A0mate-calc
>=C2=A0
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0SUBDIR=C2=A0+=3D=C2=A0math77
>=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=
=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0mathex
>=C2=A0
>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0mathgl
>=C2=A0
>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0mathicsscript
>=C2=A0
>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SUBDIR=C2=A0+=3D=C2=A0mathmod
>=C2=
=A0
>=C2=A0diff=C2=A0--git=C2=A0a/math/mathex/Makefile=C2=A0b/math/mathex=
/Makefile
>=C2=A0
>=C2=A0new=C2=A0file=C2=A0mode=C2=A0100644
>=C2=
=A0
>=C2=A0index=C2=A0000000000000..3de5bbbd8e5a
>=C2=A0
>=C2=A0---=
=C2=A0/dev/null
>=C2=A0
>=C2=A0+++=C2=A0b/math/mathex/Makefile
>=
=C2=A0
>=C2=A0@@=C2=A0-0,0=C2=A0+1,44=C2=A0@@
>=C2=A0
>=C2=A0+PORTNAM=
E=3D=C2=A0=C2=A0=C2=A0=C2=A0mathex
>=C2=A0
>=C2=A0+DISTVERSION=3D=C2=
=A0=C2=A0=C2=A0=C2=A00.3-b
>=C2=A0
>=C2=A0+CATEGORIES=3D=C2=A0=C2=A0=
=C2=A0=C2=A0math=C2=A0science=C2=A0devel
>=C2=A0
>=C2=A0+MASTER_SITES=
=3D=C2=A0=C2=A0=C2=A0=C2=A0SF/sscilib/mathex
>=C2=A0
>=C2=A0+
>=C2=
=A0
>=C2=A0+MAINTAINER=3D=C2=A0=C2=A0=C2=A0=C2=A0thierry@FreeBSD.org
>=
=C2=A0
>=C2=A0+COMMENT=3D=C2=A0=C2=A0=C2=A0=C2=A0C++=C2=A0library=C2=
=A0fo=C2=A0parse/evaluate=C2=A0mathematical=C2=A0expression
>=C2=A0
>=
=C2=A0+WWW=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0https://sscili=
b.sourceforge.net/
>=C2=A0
>=C2=A0+
>=C2=A0
>=C2=A0+LICENSE=3D=
=C2=A0=C2=A0=C2=A0=C2=A0LGPL21
>=C2=A0
>=C2=A0+LICENSE_FILE=3D=C2=A0=
=C2=A0=C2=A0=C2=A0${WRKSRC}/license.txt
>=C2=A0
>=C2=A0+
>=C2=A0
>=
=C2=A0+USES=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dos2unix=
=C2=A0zip
>=C2=A0
>=C2=A0+DOS2UNIX_FILES=3D=C2=A0=C2=A0=C2=A0=C2=A0make=
file
>=C2=A0
>=C2=A0+
>=C2=A0
>=C2=A0+WRKSRC=3D=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0${WRKDIR}/${PORTNAME}
>=C2=A0
>=C2=
=A0+MAKEFILE=3D=C2=A0=C2=A0=C2=A0=C2=A0makefile
>=C2=A0
>=C2=A0+ALL_TAR=
GET=3D=C2=A0=C2=A0=C2=A0=C2=A0${PORTNAME}
>=C2=A0
>=C2=A0+USE_LDCONFIG=
=3D=C2=A0=C2=A0=C2=A0=C2=A0yes
>=C2=A0
>=C2=A0+
>=C2=A0
>=C2=A0+PLI=
ST_FILES=3D=C2=A0=C2=A0=C2=A0=C2=A0${PREFIX}/include/mathex.h=C2=A0=C2=
=A0=C2=A0=C2=A0\
>=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0${PREFIX}/lib/lib${PORTNAME}.so=C2=A0=C2=A0=C2=A0=C2=A0\
>=
=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0${PREFIX}/=
lib/lib${PORTNAME}.so.0
>=C2=A0
>=C2=A0+PLIST_FILES+=3D=C2=A0=C2=A0=
=C2=A0=C2=A0${PROGS:C|^|${PREFIX}/bin/|}
>=C2=A0
>=C2=A0+
>=C2=A0
>=
=C2=A0+PROGS=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0curvetest=
=C2=A0inttest=C2=A0tabletest=C2=A0userfunctest
>=C2=A0
>=C2=A0+
>=
=C2=A0
>=C2=A0+OPTIONS_DEFINE=3D=C2=A0=C2=A0=C2=A0=C2=A0EXAMPLES
>=
=C2=A0
>=C2=A0+
>=C2=A0
>=C2=A0+post-build:
>=C2=A0
>=C2=A0+=
=C2=A0=C2=A0=C2=A0=C2=A0(cd=C2=A0${WRKSRC}=C2=A0&&=C2=A0=C2=A0=C2=A0=C2=
=A0\
>=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0${CXX}=C2=A0${LDFLAGS}=
=C2=A0-shared=C2=A0-o=C2=A0lib${PORTNAME}.so.0=C2=A0-Wl,-soname,lib${PORTNA=
ME}.so.0=C2=A0${PORTNAME}.o)
>=C2=A0
>=C2=A0+
>=C2=A0
>=C2=A0+do-in=
stall:
>=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0${INSTALL_DATA}=C2=A0${W=
RKSRC}/mathex.h=C2=A0${STAGEDIR}${PREFIX}/include/
>=C2=A0
>=C2=A0+=
=C2=A0=C2=A0=C2=A0=C2=A0${INSTALL_LIB}=C2=A0${WRKSRC}/lib${PORTNAME}.so.0=
=C2=A0${STAGEDIR}${PREFIX}/lib/
>=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=A0=
=C2=A0${LN}=C2=A0-s=C2=A0lib${PORTNAME}.so.0=C2=A0${STAGEDIR}${PREFIX}/lib/=
lib${PORTNAME}.so
>=C2=A0
>=C2=A0+
>=C2=A0
>=C2=A0+do-install-EXAMP=
LES-on:
>=C2=A0
>=C2=A0+.for=C2=A0p=C2=A0in=C2=A0${PROGS}
>=C2=A0
>=
=C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0${INSTALL_PROGRAM}=C2=A0${WRKSRC}/${p}=C2=
=A0${STAGEDIR}${PREFIX}/bin/
>=C2=A0
>=C2=A0+.endfor
>=C2=A0
>=
=C2=A0+
>=C2=A0
>=C2=A0+.include=C2=A0<bsd.port.mk>=C2=A0[http://bsd.po=
rt.mk>];
>=C2=A0
>=C2=A0diff=C2=A0--git=C2=A0a/math/mathex/distinfo=
=C2=A0b/math/mathex/distinfo
>=C2=A0
>=C2=A0new=C2=A0file=C2=A0mode=
=C2=A0100644
>=C2=A0
>=C2=A0index=C2=A0000000000000..0d63b2aaf216
>=
=C2=A0
>=C2=A0---=C2=A0/dev/null
>=C2=A0
>=C2=A0+++=C2=A0b/math/mathe=
x/distinfo
>=C2=A0
>=C2=A0@@=C2=A0-0,0=C2=A0+1,3=C2=A0@@
>=C2=A0
>=
=C2=A0+TIMESTAMP=C2=A0=3D=C2=A01718957652
>=C2=A0
>=C2=A0+SHA256=C2=
=A0(mathex-0.3-b.zip=C2=A0[http://mathex-0.3-b.zip])=C2=A0=3D=C2=A08b3ac4e7=
620e7ffe04deaae9562a37e1e1a375cf589eec06ee3e7a04ea5c9fcc
>=C2=A0
>=
=C2=A0+SIZE=C2=A0(mathex-0.3-b.zip=C2=A0[http://mathex-0.3-b.zip])=C2=A0=3D=
=C2=A031441
>=C2=A0
>=C2=A0diff=C2=A0--git=C2=A0a/math/mathex/files/pat=
ch-makefile=C2=A0b/math/mathex/files/patch-makefile
>=C2=A0
>=C2=A0new=
=C2=A0file=C2=A0mode=C2=A0100644
>=C2=A0
>=C2=A0index=C2=A0000000000000=
..714e89ccb09a
>=C2=A0
>=C2=A0---=C2=A0/dev/null
>=C2=A0
>=C2=A0+++=
=C2=A0b/math/mathex/files/patch-makefile
>=C2=A0
>=C2=A0@@=C2=A0-0,0=
=C2=A0+1,22=C2=A0@@
>=C2=A0
>=C2=A0+---=C2=A0makefile.orig=C2=A0=C2=
=A0=C2=A0=C2=A02024-06-21=C2=A008:45:06=C2=A0UTC
>=C2=A0
>=C2=A0++++=
=C2=A0makefile
>=C2=A0
>=C2=A0+@@=C2=A0-78,9=C2=A0+78,9=C2=A0@@
>=
=C2=A0
>=C2=A0+=C2=A0##############################
>=C2=A0
>=C2=
=A0+=C2=A0#=C2=A0=C2=A0current=C2=A0compiler=C2=A0settings=C2=A0#
>=C2=
=A0
>=C2=A0+=C2=A0##############################
>=C2=A0
>=C2=A0+-CC=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D=C2=A0g++
>=C2=A0
>=
=C2=A0+-CFLAGS=C2=A0=3D=C2=A0-Wall=C2=A0-ggdb=C2=A0-c=C2=A0-o
>=C2=A0
>=
=C2=A0+-LFLAGS=C2=A0=C2=A0=C2=A0=C2=A0=3D=C2=A0-ggdb=C2=A0-o
>=C2=A0
>=
=C2=A0++CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D=C2=A0${CXX}=

>=C2=A0
>=C2=A0++CFLAGS=C2=A0+=3D=C2=A0-fPIC=C2=A0-c=C2=A0-o
>=C2=
=A0
>=C2=A0++LFLAGS=C2=A0=C2=A0=C2=A0=C2=A0=3D=C2=A0${LDFLAGS}=C2=A0-o
=
>=C2=A0
>=C2=A0+=C2=A0#=C2=A0for=C2=A0g++=C2=A0link=C2=A0=C2=A0as=C2=
=A0C++.=C2=A0Thus,=C2=A0is=C2=A0not=C2=A0need=C2=A0to=C2=A0specify=C2=A0std=
c++
>=C2=A0
>=C2=A0+=C2=A0#=C2=A0LIBS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=3D=C2=A0-lm=C2=A0=C2=A0-lstdc++
>=C2=A0
>=C2=A0+=C2=A0LIBS=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D=C2=A0-lm
>=C2=A0
>=C2=A0+@@=C2=
=A0-162,4=C2=A0+162,4=C2=A0@@=C2=A0clear:
>=C2=A0
>=C2=A0+=C2=A0clear:=

>=C2=A0
>=C2=A0+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0rm=C2=A0$(OBJECTS)
>=
=C2=A0
>=C2=A0+=C2=A0
>=C2=A0
>=C2=A0+-#=C2=A0end=C2=A0of=C2=A0makefi=
le
>=C2=A0
>=C2=A0+\=C2=A0No=C2=A0newline=C2=A0at=C2=A0end=C2=A0of=
=C2=A0file
>=C2=A0
>=C2=A0++#=C2=A0end=C2=A0of=C2=A0makefile
>=C2=
=A0
>=C2=A0diff=C2=A0--git=C2=A0a/math/mathex/pkg-descr=C2=A0b/math/mathe=
x/pkg-descr
>=C2=A0
>=C2=A0new=C2=A0file=C2=A0mode=C2=A0100644
>=
=C2=A0
>=C2=A0index=C2=A0000000000000..5b11c45a3736
>=C2=A0
>=C2=
=A0---=C2=A0/dev/null
>=C2=A0
>=C2=A0+++=C2=A0b/math/mathex/pkg-descr=

>=C2=A0
>=C2=A0@@=C2=A0-0,0=C2=A0+1,4=C2=A0@@
>=C2=A0
>=C2=A0+Math=
Ex=C2=A0is=C2=A0a=C2=A0C++=C2=A0library=C2=A0to=C2=A0parse/evaluate=C2=
=A0mathematical=C2=A0expression.
>=C2=A0
>=C2=A0+
>=C2=A0
>=C2=
=A0+It=C2=A0is=C2=A0part=C2=A0of=C2=A0the=C2=A0SSCILIB=C2=A0(Small=C2=A0Sci=
entific=C2=A0Library),=C2=A0a=C2=A0collection=C2=A0of=C2=A0small
>=C2=
=A0
>=C2=A0+library=C2=A0package=C2=A0to=C2=A0help=C2=A0development=C2=
=A0of=C2=A0scientific=C2=A0applications.

A bit cleaner and likely sust=
ainable solution would be to import the
CMake build from Fedora/Macports =
which would likely remove all the
manual workarounds for upstream's Makef=
ile.

https://src.fedoraproject.org/rpms/mathex/blob/rawhide/f/CMakeLis=
ts.txt

https://github.com/macports/macports-ports/blob/master/math/mat=
hex/files/CMakeLists.txt

Best regards,

Daniel


--_=_swift_1718971980_b010cda8dad68453e55541d7565fcca0_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div>On 2024-06-21T13:15:55.000+02:00, Thierry Thomas &lt;thier=
ry@FreeBSD.org&gt; wrote:<br></div><div ><div><br></div></div><div><br></di=
v><div class=3D"ik_mail_quote answerContentMessage"><blockquote class=3D"ws=
-ng-quote"><pre style=3D"white-space: normal;"><div>The branch main has bee=
n updated by thierry:<br></div><div><br></div><div>URL: <a data-ik=3D"ik-se=
cure" rel=3D"noopener noreferrer" class=3D"defaultMailLink" href=3D"https:/=
/cgit.FreeBSD.org/ports/commit/?id=3D12594e1aee7b17507b85b8a0ee762a678b3ff7=
9e" target=3D"_blank">https://cgit.FreeBSD.org/ports/commit/?id=3D12594e1ae=
e7b17507b85b8a0ee762a678b3ff79e</a><br></div><div><br></div><div>commit 125=
94e1aee7b17507b85b8a0ee762a678b3ff79e<br></div><div>Author:     Thierry Tho=
mas &lt;<a class=3D"defaultMailLink" href=3D"mailto:thierry@FreeBSD.org">th=
ierry@FreeBSD.org</a>&gt;<br></div><div>AuthorDate: 2024-06-21 09:22:25 +00=
00<br></div><div>Commit:     Thierry Thomas &lt;<a class=3D"defaultMailLink=
" href=3D"mailto:thierry@FreeBSD.org">thierry@FreeBSD.org</a>&gt;<br></div>=
<div>CommitDate: 2024-06-21 11:15:52 +0000<br></div><div><br></div><div>   =
 math/mathex: new port, C++ library to parse/evaluate mathematical expressi=
ons<br></div><div>    <br></div><div>    Remark: upstream seems inactive, b=
ut MathEx is still used by Gmsh.<br></div><div>---<br></div><div> math/Make=
file                    |  1 +<br></div><div> math/mathex/Makefile         =
    | 44 ++++++++++++++++++++++++++++++++++++++++<br></div><div> math/mathe=
x/distinfo             |  3 +++<br></div><div> math/mathex/files/patch-make=
file | 22 ++++++++++++++++++++<br></div><div> math/mathex/pkg-descr        =
    |  4 ++++<br></div><div> 5 files changed, 74 insertions(+)<br></div><di=
v><br></div><div>diff --git a/math/Makefile b/math/Makefile<br></div><div>i=
ndex 44e78e22da9a..de329683fee5 100644<br></div><div>--- a/math/Makefile<br=
></div><div>+++ b/math/Makefile<br></div><div>@@ -487,6 +487,7 @@<br></div>=
<div>     SUBDIR +=3D m4rie<br></div><div>     SUBDIR +=3D mate-calc<br></d=
iv><div>     SUBDIR +=3D math77<br></div><div>+    SUBDIR +=3D mathex<br></=
div><div>     SUBDIR +=3D mathgl<br></div><div>     SUBDIR +=3D mathicsscri=
pt<br></div><div>     SUBDIR +=3D mathmod<br></div><div>diff --git a/math/m=
athex/Makefile b/math/mathex/Makefile<br></div><div>new file mode 100644<br=
></div><div>index 000000000000..3de5bbbd8e5a<br></div><div>--- /dev/null<br=
></div><div>+++ b/math/mathex/Makefile<br></div><div>@@ -0,0 +1,44 @@<br></=
div><div>+PORTNAME=3D=09mathex<br></div><div>+DISTVERSION=3D=090.3-b<br></d=
iv><div>+CATEGORIES=3D=09math science devel<br></div><div>+MASTER_SITES=3D=
=09SF/sscilib/mathex<br></div><div>+<br></div><div>+MAINTAINER=3D=09<a clas=
s=3D"defaultMailLink" href=3D"mailto:thierry@FreeBSD.org">thierry@FreeBSD.o=
rg</a><br></div><div>+COMMENT=3D=09C++ library fo parse/evaluate mathematic=
al expression<br></div><div>+WWW=3D=09=09<a data-ik=3D"ik-secure" rel=3D"no=
opener noreferrer" class=3D"defaultMailLink" href=3D"https://sscilib.source=
forge.net/" target=3D"_blank">https://sscilib.sourceforge.net/</a><br></div=
><div>+<br></div><div>+LICENSE=3D=09LGPL21<br></div><div>+LICENSE_FILE=3D=
=09${WRKSRC}/license.txt<br></div><div>+<br></div><div>+USES=3D=09=09dos2un=
ix zip<br></div><div>+DOS2UNIX_FILES=3D=09makefile<br></div><div>+<br></div=
><div>+WRKSRC=3D=09=09${WRKDIR}/${PORTNAME}<br></div><div>+MAKEFILE=3D=09ma=
kefile<br></div><div>+ALL_TARGET=3D=09${PORTNAME}<br></div><div>+USE_LDCONF=
IG=3D=09yes<br></div><div>+<br></div><div>+PLIST_FILES=3D=09${PREFIX}/inclu=
de/mathex.h=09\<br></div><div>+=09=09${PREFIX}/lib/lib${PORTNAME}.so=09\<br=
></div><div>+=09=09${PREFIX}/lib/lib${PORTNAME}.so.0<br></div><div>+PLIST_F=
ILES+=3D=09${PROGS:C|^|${PREFIX}/bin/|}<br></div><div>+<br></div><div>+PROG=
S=3D=09=09curvetest inttest tabletest userfunctest<br></div><div>+<br></div=
><div>+OPTIONS_DEFINE=3D=09EXAMPLES<br></div><div>+<br></div><div>+post-bui=
ld:<br></div><div>+=09(cd ${WRKSRC} &amp;&amp;=09\<br></div><div>+=09${CXX}=
 ${LDFLAGS} -shared -o lib${PORTNAME}.so.0 -Wl,-soname,lib${PORTNAME}.so.0 =
${PORTNAME}.o)<br></div><div>+<br></div><div>+do-install:<br></div><div>+=
=09${INSTALL_DATA} ${WRKSRC}/mathex.h ${STAGEDIR}${PREFIX}/include/<br></di=
v><div>+=09${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX=
}/lib/<br></div><div>+=09${LN} -s lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/=
lib/lib${PORTNAME}.so<br></div><div>+<br></div><div>+do-install-EXAMPLES-on=
:<br></div><div>+.for p in ${PROGS}<br></div><div>+=09${INSTALL_PROGRAM} ${=
WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin/<br></div><div>+.endfor<br></div><div=
>+<br></div><div>+.include &lt;<a data-ik=3D"ik-secure" rel=3D"noopener nor=
eferrer" class=3D"defaultMailLink" href=3D"http://bsd.port.mk>" target=3D"_=
blank">bsd.port.mk&gt;</a>;<br></div><div>diff --git a/math/mathex/distinfo=
 b/math/mathex/distinfo<br></div><div>new file mode 100644<br></div><div>in=
dex 000000000000..0d63b2aaf216<br></div><div>--- /dev/null<br></div><div>++=
+ b/math/mathex/distinfo<br></div><div>@@ -0,0 +1,3 @@<br></div><div>+TIMES=
TAMP =3D 1718957652<br></div><div>+SHA256 (<a data-ik=3D"ik-secure" rel=3D"=
noopener noreferrer" class=3D"defaultMailLink" href=3D"http://mathex-0.3-b.=
zip" target=3D"_blank">mathex-0.3-b.zip</a>) =3D 8b3ac4e7620e7ffe04deaae956=
2a37e1e1a375cf589eec06ee3e7a04ea5c9fcc<br></div><div>+SIZE (<a data-ik=3D"i=
k-secure" rel=3D"noopener noreferrer" class=3D"defaultMailLink" href=3D"htt=
p://mathex-0.3-b.zip" target=3D"_blank">mathex-0.3-b.zip</a>) =3D 31441<br>=
</div><div>diff --git a/math/mathex/files/patch-makefile b/math/mathex/file=
s/patch-makefile<br></div><div>new file mode 100644<br></div><div>index 000=
000000000..714e89ccb09a<br></div><div>--- /dev/null<br></div><div>+++ b/mat=
h/mathex/files/patch-makefile<br></div><div>@@ -0,0 +1,22 @@<br></div><div>=
+--- makefile.orig=092024-06-21 08:45:06 UTC<br></div><div>++++ makefile<br=
></div><div>+@@ -78,9 +78,9 @@<br></div><div>+ ############################=
##<br></div><div>+ #  current compiler settings #<br></div><div>+ #########=
#####################<br></div><div>+-CC        =3D g++<br></div><div>+-CFL=
AGS =3D -Wall -ggdb -c -o<br></div><div>+-LFLAGS    =3D -ggdb -o<br></div><=
div>++CC        =3D ${CXX}<br></div><div>++CFLAGS +=3D -fPIC -c -o<br></div=
><div>++LFLAGS    =3D ${LDFLAGS} -o<br></div><div>+ # for g++ link  as C++.=
 Thus, is not need to specify stdc++<br></div><div>+ # LIBS      =3D -lm  -=
lstdc++<br></div><div>+ LIBS      =3D -lm<br></div><div>+@@ -162,4 +162,4 @=
@ clear:<br></div><div>+ clear:<br></div><div>+ =09rm $(OBJECTS)<br></div><=
div>+ <br></div><div>+-# end of makefile<br></div><div>+\ No newline at end=
 of file<br></div><div>++# end of makefile<br></div><div>diff --git a/math/=
mathex/pkg-descr b/math/mathex/pkg-descr<br></div><div>new file mode 100644=
<br></div><div>index 000000000000..5b11c45a3736<br></div><div>--- /dev/null=
<br></div><div>+++ b/math/mathex/pkg-descr<br></div><div>@@ -0,0 +1,4 @@<br=
></div><div>+MathEx is a C++ library to parse/evaluate mathematical express=
ion.<br></div><div>+<br></div><div>+It is part of the SSCILIB (Small Scient=
ific Library), a collection of small<br></div><div>+library package to help=
 development of scientific applications.<br></div></pre></blockquote></div>=
<div>A bit cleaner and likely sustainable solution would be to import the C=
Make build from Fedora/Macports which would likely remove all the manual wo=
rkarounds for upstream's Makefile.<br></div><div><br></div><div><a href=3D"=
https://src.fedoraproject.org/rpms/mathex/blob/rawhide/f/CMakeLists.txt" ta=
rget=3D"_blank" rel=3D"noopener noreferrer" data-ik=3D"ik-secure">https://s=
rc.fedoraproject.org/rpms/mathex/blob/rawhide/f/CMakeLists.txt</a><br></div=
><div><a href=3D"https://github.com/macports/macports-ports/blob/master/mat=
h/mathex/files/CMakeLists.txt" target=3D"_blank" rel=3D"noopener noreferrer=
" data-ik=3D"ik-secure">https://github.com/macports/macports-ports/blob/mas=
ter/math/mathex/files/CMakeLists.txt</a><br></div><div><br></div><div>Best =
regards,<br></div><div>Daniel<br></div></body></html>


--_=_swift_1718971980_b010cda8dad68453e55541d7565fcca0_=_--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74dfc79ede606f9424af2b0f564b01f3>