Index: head/devel/py-cysignals/Makefile =================================================================== --- head/devel/py-cysignals/Makefile (revision 553236) +++ head/devel/py-cysignals/Makefile (revision 553237) @@ -1,35 +1,36 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= cysignals DISTVERSION= 1.10.2 +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Interrupt and signal handling for Cython LICENSE= LGPL3 BUILD_DEPENDS= cython:lang/cython LIB_DEPENDS= libpari.so:math/pari USE_GITHUB= yes GH_ACCOUNT= sagemath USES= autoreconf:build compiler:c++11-lang gettext localbase python:3.6+ USE_PYTHON= distutils OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PY_SPHINX} DOCS_USES= gmake PORTDOCS= * do-build-DOCS-on: (cd ${WRKSRC}/docs && ${GMAKE} html) post-build-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR} .include Index: head/lang/clisp/Makefile =================================================================== --- head/lang/clisp/Makefile (revision 553236) +++ head/lang/clisp/Makefile (revision 553237) @@ -1,215 +1,215 @@ # Created by: Jeff Brown # $FreeBSD$ PORTNAME= clisp PORTVERSION= 2.49.93+ -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang lisp MAINTAINER= kiri@TrueFC.org COMMENT= Common Lisp implementation LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/GNU-GPL BROKEN_powerpc= Does not compile BROKEN_sparc64= Does not compile BUILD_DEPENDS= ${LOCALBASE}/lib/libavcall.a:devel/libffcall LIB_DEPENDS= libreadline.so:devel/readline \ libsigsegv.so:devel/libsigsegv USES= compiler gettext ghostscript gnome iconv localbase:ldflags USE_GCC= any USE_GITLAB= yes GL_ACCOUNT= gnu-clisp GL_PROJECT= clisp GL_COMMIT= df3b9f6fdcff22832898e89a989eb499c0f842ed USE_LDCONFIG= yes HAS_CONFIGURE= yes CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1 CONFIGURE_ARGS= --prefix="${PREFIX}" --mandir="${MANPREFIX}/man" \ --elispdir="${DATADIR}/emacs" --vimdir="${DATADIR}/vim" \ --docdir="${DOCSDIR}" --with-libiconv=${ICONV_PREFIX} CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL} # Complaints if the environment changes between build stages. LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}} LDFLAGS_gcc= -lthr MAKE_ENV= ${CONFIGURE_ENV} BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= ASDF BDB CLX_MIT CLX_NEW DBUS FASTCGI GDBM GLIBC GTK2 \ JITC MATLAB NETICA ORACLE PARI PCRE PGSQL QUEENS RAWSOCK \ SVM THREADS ZLIB ASDF_DESC= Another System Definition Facility BDB_DESC= Interface to Berkeley DB from Sleepycat Software CLX_MIT_DESC= Classical X11 Interface CLX_NEW_DESC= Faster X11 Interface (replaces clx/mit-clx) DBUS_DESC= Interface to the D-Bus message bus system FASTCGI_DESC= FastCGI interface for web development GDBM_DESC= Interface to GNU DBM GLIBC_DESC= Interface to most of the GNU libc library GTK2_DESC= Interface to the GTK library using glade JITC_DESC= Use a given Just-In-Time Compiler SVM_DESC= Support Vector Machine predictive analytics MATLAB_DESC= Matrix calculations using Matlab NETICA_DESC= Bayesian belief networks and influence diagrams ORACLE_DESC= Oracle RDMBS interface PARI_DESC= PARI Computer Algebra System PCRE_DESC= Perl-compatible regular expressions PGSQL_DESC= PostGreSQL RDMBS interface QUEENS_DESC= The Queens Function (a toy example) RAWSOCK_DESC= Low level socket interface THREADS_DESC= Multithreaded Support (Experimental) ZLIB_DESC= Compress vectors OPTIONS_RADIO= CLX OPTIONS_RADIO_CLX= CLX_MIT CLX_NEW CLX_DESC= X11 Module Selection OPTIONS_DEFAULT=BDB RAWSOCK ZLIB SUB_FILES= pkg-message .include # Segmentation fault in amd64 when using 'mmap(2)', errno = EINVAL. .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--disable-mmap .endif MODULES= ASDF BDB CLX_MIT CLX_NEW DBUS FASTCGI GDBM GLIBC GTK2 \ JITC MATLAB NETICA ORACLE PARI PCRE PGSQL QUEENS RAWSOCK \ SVM ZLIB .for mod in ${MODULES} . if ${PORT_OPTIONS:M${mod}} PLIST_SUB+= ${mod}="" . else PLIST_SUB+= ${mod}="@comment " . endif .endfor .if ${PORT_OPTIONS:MASDF} CONFIGURE_ARGS+=--with-module=asdf .endif .if ${PORT_OPTIONS:MBDB} USES+= bdb CONFIGURE_ARGS+=--with-module=berkeley-db CPPFLAGS+= -I${LOCALBASE}/include/db${BDB_VER} LDFLAGS+= -L${LOCALBASE}/lib/db${BDB_VER} .endif .if ${PORT_OPTIONS:MCLX_MIT} || ${PORT_OPTIONS:MCLX_NEW} USES+= xorg USE_XORG= x11 .endif .if ${PORT_OPTIONS:MCLX_MIT} CONFIGURE_ARGS+=--with-module=clx/mit-clx .endif .if ${PORT_OPTIONS:MCLX_NEW} CONFIGURE_ARGS+=--with-module=clx/new-clx .endif .if ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= libdbus-1.so:devel/dbus CONFIGURE_ARGS+=--with-module=dbus .endif .if ${PORT_OPTIONS:MFASTCGI} LIB_DEPENDS+= libfcgi.so:www/fcgi CONFIGURE_ARGS+=--with-module=fastcgi .endif .if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:databases/gdbm CONFIGURE_ARGS+=--with-module=gdbm .endif .if ${PORT_OPTIONS:MGLIBC} USE_LINUX= base CONFIGURE_ARGS+=--with-module=bindings/glibc .endif .if ${PORT_OPTIONS:MGTK2} USES+= gnome USE_GNOME= gtk20 libglade2 CONFIGURE_ARGS+=--with-module=gtk2 .endif .if ${PORT_OPTIONS:MJITC} BUILD_DEPENDS+= ${LOCALBASE}/include/lightning.h:devel/lightning LIB_DEPENDS+= liblightning.so:devel/lightning CONFIGURE_ARGS+=--with-jitc=lightning .endif .if ${PORT_OPTIONS:MMATLAB} CONFIGURE_ARGS+=--with-module=matlab .endif .if ${PORT_OPTIONS:MNETICA} CONFIGURE_ARGS+=--with-module=netica .endif .if ${PORT_OPTIONS:MORACLE} CONFIGURE_ARGS+=--with-module=oracle .endif .if ${PORT_OPTIONS:MPARI} LIB_DEPENDS+= libpari.so:math/pari CONFIGURE_ARGS+=--with-module=pari .endif .if ${PORT_OPTIONS:MPCRE} LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-module=pcre .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+=--with-module=postgresql .endif .if ${PORT_OPTIONS:MQUEENS} CONFIGURE_ARGS+=--with-module=queens .endif .if ${PORT_OPTIONS:MRAWSOCK} CONFIGURE_ARGS+=--with-module=rawsock .endif .if ${PORT_OPTIONS:MSVM} BUILD_DEPENDS+= ${LOCALBASE}/bin/svm-predict:science/libsvm CONFIGURE_ARGS+=--with-module=libsvm .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads=POSIX_THREADS \ LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" PKGNAMESUFFIX= -threaded .endif .if ${PORT_OPTIONS:MZLIB} CONFIGURE_ARGS+=--with-module=zlib .endif post-patch: .if ${PORT_OPTIONS:MORACLE} @${REINPLACE_CMD} -e 's|-ldl||; s|-lpthread|-lcompat ${PTHREAD_LIBS}|' \ ${WRKSRC}/modules/oracle/link.sh.in .endif pre-install: .if ${PORT_OPTIONS:MCLX_MIT} ${CP} ${WRKSRC}/modules/clx/mit-clx/README.CLISP \ ${WRKSRC}/src/clx/mit-clx/README.CLISP .endif post-install: @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .include Index: head/math/eclib/Makefile =================================================================== --- head/math/eclib/Makefile (revision 553236) +++ head/math/eclib/Makefile (revision 553237) @@ -1,32 +1,32 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= eclib PORTVERSION= 20190909 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= C++ library for arithmetic on elliptic curves LICENSE= GPLv2 LIB_DEPENDS= libntl.so:math/ntl \ libpari.so:math/pari \ libflint.so:math/flint2 \ libboost_thread.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= JohnCremona USES= autoreconf compiler:c++11-lang libtool localbase OPTIONS_DEFINE= DOCS LIBS+= "-lm" GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-flint=${LOCALBASE} --with-boost=${LOCALBASE} USE_LDCONFIG= yes .include Index: head/math/giacxcas/Makefile =================================================================== --- head/math/giacxcas/Makefile (revision 553236) +++ head/math/giacxcas/Makefile (revision 553237) @@ -1,142 +1,143 @@ # Created by: Frederic Han # $FreeBSD$ PORTNAME= giacxcas DISTVERSION= 1.6.0-7 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/:giac \ http://cocoa.dima.unige.it/cocoalib/tgz/:cocoa \ http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/ DISTFILES= giac_${DISTVERSION}${EXTRACT_SUFX}:giac \ CoCoALib-${COCOA_LIB_VERSION}.tgz:cocoa \ fltk-giac.tar.gz DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Computer algebra system LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libao.so:audio/libao \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libgsl.so:math/gsl \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libecm.so:math/gmp-ecm \ libmpfr.so:math/mpfr \ libmpfi.so:math/mpfi \ libpari.so:math/pari \ libpng.so:graphics/png \ libsamplerate.so:audio/libsamplerate RUN_DEPENDS= xdg-open:devel/xdg-utils NO_CDROM= French documentation is for non-commercial use only USES= blaslapack compiler:c++14-lang desktop-file-utils fortran \ gettext gl gmake gnome jpeg libtool localbase ncurses perl5 \ readline shebangfix xorg GNU_CONFIGURE= yes USE_GL= gl USE_XORG= x11 xcursor xext xft xi xinerama USE_TEX= latex:build dvipsk:build USE_PERL5= run USE_LDCONFIG= yes # Warning: don't remove the USE_GCC without a runtime test *after* make install #USE_GCC= yes CONFIGURE_ENV= ac_cv_lib_X11_main=yes \ ac_cv_lib_cocoa_main=yes \ ac_cv_lib_fltk_gl_main=yes \ ac_cv_lib_fltk_main=yes \ ac_cv_lib_fltk_images_main=yes \ ac_cv_lib_jpeg_main=yes SHEBANG_FILES= src/pgiac INSTALL_TARGET= install-strip INSTALLS_ICONS= yes COCOA_LIB_VERSION= 0.99700 CPPFLAGS+= -I${COCOALIB-GIAC}/include \ -I${FLTKDEV-GIAC} \ -Wno-narrowing LDFLAGS+= -L${COCOALIB-GIAC}/lib \ -L${FLTKDEV-GIAC}/lib WRKSRC= ${WRKDIR}/giac-${DISTVERSION:C/-[0-9]*//} FLTKDEV-GIAC= ${WRKDIR}/fltk-1.3.0 COCOALIB-GIAC= ${WRKDIR}/CoCoALib-${COCOA_LIB_VERSION} TEST_TARGET= check DATADIR= ${PREFIX}/share/giac DOCSDIR= ${PREFIX}/share/doc/giac EXAMPLESDIR= ${PREFIX}/share/examples/giac INFO= giac_es giac_us OPTIONS_DEFINE= DOCS EXAMPLES #NB: built of giacxcas with USE_GCC and nlt is successfull if the ntl port is also # installed with USE_GCC CONFIGURE_ARGS+= --disable-ntl PORTDOCS= * PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC}/examples/Exemples -name "._*" -delete post-patch: @${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' @${REINPLACE_CMD} -e '/^SUBDIR/s|examples||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/xcas.applications @${REINPLACE_CMD} -e 's|cp -f \*|$$(INSTALL_DATA) WARNINGS [a-z]*|' \ ${WRKSRC}/doc/el/*/Makefile.in @${REINPLACE_CMD} -e '/browser=/s|"mozilla"|"xdg-open"|' \ ${WRKSRC}/src/global.cc @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \ ${REINPLACE_CMD} -e 's|$$(prefix)/share/giac/doc|$$(docdir)|' @${FIND} ${COCOALIB-GIAC} -name "Makefile" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|\($$(MAKE) \)-s |\1|; s|\([[:blank:]]\)@|\1|' @${REINPLACE_CMD} -e '/.SILENT:/s|^|#|' \ ${FLTKDEV-GIAC}/makeinclude.in ${SED} -i ".orig" -Ee 's|char \*last = style \+ strlen\(style\) - 2|char *last = pretty|' \ -Ee 's|\*style = 0|last = style + strnlen(style, ENDOFBUFFER) - 2; *style = 0|' \ ${FLTKDEV-GIAC}/src/fl_set_fonts_xft.cxx pre-configure: ${REINPLACE_CMD} -e 's|/usr/lib /usr/lib64 /usr/lib32 /usr/local /opt/local/lib /sw/lib /usr/sfw/lib|${LOCALBASE}/lib|' \ -e '/libgmp.a/s|find|#find|' \ -e 's|-name libgmp.so|-type f -name "libgmp.so.*"|' \ ${COCOALIB-GIAC}/configuration/gmp-find.sh ${REINPLACE_CMD} -e 's|^protected:|public:|' ${FLTKDEV-GIAC}/FL/Fl_Widget.H .for f in icas.cc path.h ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' \ ${WRKSRC}/src/${f} .endfor ${FIND} ${WRKSRC}/doc -type f | ${XARGS} ${GREP} -l 'share/giac/doc' | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' @(cd ${COCOALIB-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --with-cxx="${CXX}") @(cd ${FLTKDEV-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --prefix=${FLTKDEV-GIAC} \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}") post-configure: # malloc.h on 13-CURRENT is missing mallinfo and compilation fails after it is discovered @${FIND} ${WRKSRC} -name config.h | ${XARGS} ${REINPLACE_CMD} -e 's|#define HAVE_MALLOC_H 1|/* #undef HAVE_MALLOC_H */|' pre-build: @cd ${COCOALIB-GIAC} && ${DO_MAKE_BUILD} \ CXXFLAGS_SPECIFIC="${CXXFLAGS}" library @cd ${FLTKDEV-GIAC}/src && ${DO_MAKE_BUILD} post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "Exemples [a-z]*" \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/math/gp2c/Makefile =================================================================== --- head/math/gp2c/Makefile (revision 553236) +++ head/math/gp2c/Makefile (revision 553237) @@ -1,24 +1,25 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= gp2c DISTVERSION= 0.0.11pl4 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/GP2C/ MAINTAINER= thierry@FreeBSD.org COMMENT= Package for translating GP routines into C LICENSE= GPLv2 LIB_DEPENDS= libpari.so:math/pari USES= perl5 OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes TEST_TARGET= check .include Index: head/math/lcalc/Makefile =================================================================== --- head/math/lcalc/Makefile (revision 553236) +++ head/math/lcalc/Makefile (revision 553237) @@ -1,37 +1,37 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= lcalc PORTVERSION= 1.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ftp://ftp.fu-berlin.de/unix/misc/sage/spkg/upstream/lcalc/ MAINTAINER= thierry@FreeBSD.org COMMENT= L-function c++ class library and the CLI program lcalc LICENSE= GPLv2+ LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libpari.so:math/pari #USE_GITHUB= yes #GH_ACCOUNT= agrawroh #GH_PROJECT= l-calc #GH_TAGNAME= 4c57471 USES= compiler:c++11-lang gmake localbase tar:bz2 PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} WRKSRC_SUBDIR= src USE_LDCONFIG= yes MAKE_ENV= MAKE=${GMAKE} STAGEDIR=${STAGEDIR} post-stage: cd ${STAGEDIR}${PREFIX}/lib && ${MV} libLfunction.so libLfunction.so.0 ${LN} -sf libLfunction.so.0 ${STAGEDIR}${PREFIX}/lib/libLfunction.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/math/pari/Makefile =================================================================== --- head/math/pari/Makefile (revision 553236) +++ head/math/pari/Makefile (revision 553237) @@ -1,86 +1,85 @@ # Created by: Yoshiaki UCHIKAWA # $FreeBSD$ PORTNAME= pari -DISTVERSION= 2.11.4 -PORTREVISION= 1 +DISTVERSION= 2.13.0 PORTEPOCH= 2 CATEGORIES= math MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ \ http://mirrors.rit.edu/zi/ MAINTAINER= yuri@FreeBSD.org COMMENT= Mathematics library and advanced calculator package LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_mips64= fails to link: mpker.c:(.text+0x33bc): relocation truncated to fit: R_MIPS_TLS_GD against 'PARI_SIGINT_block' LIB_DEPENDS= libgmp.so:math/gmp USES= perl5 readline USE_LDCONFIG= yes USE_PERL5= build run HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= --mandir=${MANPREFIX}/man/man1 \ --prefix=${PREFIX} \ --with-readline ALL_TARGET= gp OPTIONS_DEFINE= DOCS EXAMPLES OPTIMIZED_CFLAGS X11 OPTIONS_RADIO= THREADS OPTIONS_RADIO_THREADS= PTHREADS MPI OPTIONS_DEFAULT= OPTIMIZED_CFLAGS X11 PTHREADS THREADS_DESC= Thread engine (single-threaded when none is selected) PTHREADS_DESC= Enable pthread thread engine MPI_DESC= Enable MPI thread engine MPI_BUILD_ENV= CC=mpicc .ifndef WITH_DEBUG OPTIMIZED_CFLAGS_CFLAGS= -O3 -fno-strict-aliasing -fomit-frame-pointer .endif X11_CONFIGURE_ON= --graphic=X11 X11_CONFIGURE_OFF= --graphic=none X11_USES= xorg X11_USE= xorg=x11 MPI_RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:net/mpich MPI_BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:net/mpich MPI_LIB_DEPENDS= libgmp.so:math/gmp PTHREADS_LIB_DEPENDS= libgmp.so:math/gmp PTHREADS_CONFIGURE_ON= --mt=pthread --with-gmp=${LOCALBASE} MPI_CONFIGURE_ON= --mt=mpi --with-gmp=${LOCALBASE} MPI_CONFIGURE_ENV= CC=${LOCALBASE}/bin/mpicc OPTIONS_SUB= yes PLIST_SUB= GP_VERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} PORTDATA= * PORTDOCS= * PORTEXAMPLES= * .include .if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 CFLAGS+= -mminimal-toc .endif post-patch: @${REINPLACE_CMD} -E '/libpari_base\=/s/-tls|-gmp//' \ ${WRKSRC}/Configure @${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \ ${WRKSRC}/config/get_cc @${REINPLACE_CMD} -e 's|-lX11|-L${LOCALBASE}/lib -lX11|' \ ${WRKSRC}/config/get_X11 @${REINPLACE_CMD} -e 's|-lreadline|-L${LOCALBASE}/lib -lreadline|' \ ${WRKSRC}/config/get_readline post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpari.so.${PORTVERSION} do-test-PTHREADS-on: @cd ${WRKSRC} && ${MAKE_CMD} test-parallel do-test-MPI-on: @cd ${WRKSRC} && ${MAKE_CMD} test-parallel RUNTEST="mpirun -np 3" .include Index: head/math/pari/distinfo =================================================================== --- head/math/pari/distinfo (revision 553236) +++ head/math/pari/distinfo (revision 553237) @@ -1,3 +1,3 @@ -TIMESTAMP = 1587259937 -SHA256 (pari-2.11.4.tar.gz) = bfc88fc4f7352f4840e6e352c72f0369cbea8a45403b1834a6269f3709970b1c -SIZE (pari-2.11.4.tar.gz) = 4445000 +TIMESTAMP = 1603593300 +SHA256 (pari-2.13.0.tar.gz) = c811946de9d2c1ed0e97ff08e80d966f9a0b55848b7688406fab229e3948ba93 +SIZE (pari-2.13.0.tar.gz) = 4758091 Index: head/math/pari/pkg-plist =================================================================== --- head/math/pari/pkg-plist (revision 553236) +++ head/math/pari/pkg-plist (revision 553237) @@ -1,30 +1,30 @@ bin/gp bin/gp-%%GP_VERSION%% bin/gphelp bin/tex2mail include/pari/mpinl.h include/pari/genpari.h include/pari/pari.h include/pari/paricast.h include/pari/paricfg.h include/pari/paricom.h include/pari/paridecl.h include/pari/parierr.h include/pari/parigen.h include/pari/pariinl.h include/pari/parimt.h include/pari/parinf.h include/pari/pariold.h include/pari/paripriv.h include/pari/paristio.h include/pari/parisys.h include/pari/paritune.h lib/libpari.so.%%PORTVERSION%% -lib/libpari.so.6 +lib/libpari.so.7 lib/libpari.so lib/pari/pari.cfg man/man1/gp-%%GP_VERSION%%.1.gz man/man1/gp.1.gz man/man1/gphelp.1.gz man/man1/pari.1.gz man/man1/tex2mail.1.gz Index: head/math/pari_elldata/Makefile =================================================================== --- head/math/pari_elldata/Makefile (revision 553236) +++ head/math/pari_elldata/Makefile (revision 553237) @@ -1,34 +1,35 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= elldata DISTVERSION= 2019-09-12 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://pari.math.u-bordeaux.fr/pub/pari/packages/ PKGNAMEPREFIX= pari- DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Elliptic Curve Data for PARI/GP LICENSE= ART20 LIB_DEPENDS= libpari.so:math/pari USES= tar:tgz WRKSRC= ${WRKDIR}/data/${PORTNAME} INSTDIR= ${STAGEDIR}${PREFIX}/share/pari/${PORTNAME} NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/ell* ${INSTDIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include Index: head/math/pari_galdata/Makefile =================================================================== --- head/math/pari_galdata/Makefile (revision 553236) +++ head/math/pari_galdata/Makefile (revision 553237) @@ -1,30 +1,31 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= galdata DISTVERSION= 2008-04-11 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://pari.math.u-bordeaux.fr/pub/pari/packages/ PKGNAMEPREFIX= pari- DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Data needed by PARI/GP for polgalois LICENSE= GPLv2 LIB_DEPENDS= libpari.so:math/pari USES= tar:tgz WRKSRC= ${WRKDIR}/data/${PORTNAME} INSTDIR= ${STAGEDIR}${PREFIX}/share/pari/${PORTNAME} NO_BUILD= yes NO_ARCH= yes do-install: ${MKDIR} ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/* ${INSTDIR}/ .include Index: head/math/pari_galpol/Makefile =================================================================== --- head/math/pari_galpol/Makefile (revision 553236) +++ head/math/pari_galpol/Makefile (revision 553237) @@ -1,35 +1,36 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= galpol DISTVERSION= 2018-06-25 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://pari.math.u-bordeaux.fr/pub/pari/packages/ PKGNAMEPREFIX= pari- DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Database of Galois polynomials for PARI/GP LICENSE= GPLv2 LIB_DEPENDS= libpari.so:math/pari USES= tar:tgz WRKSRC= ${WRKDIR}/data/${PORTNAME} INSTDIR= ${STAGEDIR}${PREFIX}/share/pari/${PORTNAME} NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${INSTDIR} (cd ${WRKSRC} && ${FIND} . | \ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}) ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${INSTDIR}/README ${STAGEDIR}${DOCSDIR}/ .include Index: head/math/pari_nftables/Makefile =================================================================== --- head/math/pari_nftables/Makefile (revision 553236) +++ head/math/pari_nftables/Makefile (revision 553237) @@ -1,33 +1,34 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= nftables DISTVERSION= 2008-09-29 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://pari.math.u-bordeaux.fr/pub/pari/packages/ PKGNAMEPREFIX= pari- DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Repackaging of the historical megrez number field tables for PARI/GP LICENSE= GPLv2 LIB_DEPENDS= libpari.so:math/pari USES= tar:tgz INSTDIR= ${STAGEDIR}${PREFIX}/share/pari/${PORTNAME} NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/T* ${INSTDIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include Index: head/math/pari_seadata/Makefile =================================================================== --- head/math/pari_seadata/Makefile (revision 553236) +++ head/math/pari_seadata/Makefile (revision 553237) @@ -1,34 +1,35 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= seadata DISTVERSION= 2009-06-18 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://pari.math.u-bordeaux.fr/pub/pari/packages/ PKGNAMEPREFIX= pari- DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}/${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Modular polynomials for PARI/GP LICENSE= GPLv2 LIB_DEPENDS= libpari.so:math/pari USES= tar:tgz WRKSRC= ${WRKDIR}/data/${PORTNAME} INSTDIR= ${STAGEDIR}${PREFIX}/share/pari/${PORTNAME} NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS do-install: ${MKDIR} ${INSTDIR} ${INSTALL_DATA} ${WRKSRC}/sea* ${INSTDIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include Index: head/math/py-cypari2/Makefile =================================================================== --- head/math/py-cypari2/Makefile (revision 553236) +++ head/math/py-cypari2/Makefile (revision 553237) @@ -1,42 +1,43 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= cypari2 DISTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Python interface to the number theory library PARI/GP LICENSE= GPLv2 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} LIB_DEPENDS= libgmp.so:math/gmp \ libpari.so:math/pari RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= sagemath USES= compiler:c11 perl5 python:3.6+ USE_PERL5= build USE_PYTHON= cython distutils OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PY_SPHINX} DOCS_USES= gmake PORTDOCS= * pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|python -m|${PYTHON_CMD} -m|' \ ${WRKSRC}/docs/Makefile do-build-DOCS-on: (cd ${WRKSRC}/docs && ${GMAKE} html) post-build-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR} .include Index: head/math/py-pplpy/Makefile =================================================================== --- head/math/py-pplpy/Makefile (revision 553236) +++ head/math/py-pplpy/Makefile (revision 553237) @@ -1,51 +1,51 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= pplpy PORTVERSION= 0.8.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Python wrapper to the C++ Parma Polyhedra Library (PPL) LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc \ libpari.so:math/pari \ libppl.so:devel/ppl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} USES= compiler:c++11-lang localbase python:3.6+ USE_PYTHON= cython distutils OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PY_SPHINX} DOCS_USES= gmake PORTDOCS= * .include .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 110 # error: cannot initialize a parameter of type 'bool' with an rvalue of type 'nullptr_t' BUILD_DEPENDS+= ${LOCALBASE}/bin/clang10:devel/llvm10 CPP= ${LOCALBASE}/bin/clang-cpp10 CC= ${LOCALBASE}/bin/clang10 CXX= ${LOCALBASE}/bin/clang++10 .endif do-build-DOCS-on: (cd ${WRKSRC}/docs && ${GMAKE} html) post-build-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR} .include Index: head/math/sage/Makefile =================================================================== --- head/math/sage/Makefile (revision 553236) +++ head/math/sage/Makefile (revision 553237) @@ -1,539 +1,539 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= sage PORTVERSION= 9.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math MASTER_SITES= https://mirrors.xmission.com/sage/src/ \ http://mirrors.xmission.com/sage/src/ \ https://www-ftp.lip6.fr/pub/math/sagemath/src/ \ https://mirrors.mit.edu/sage/src/ \ https://files.sagemath.org/src/ \ ftp://www-ftp.lip6.fr/pub/math/sagemath/src/ PKGNAMESUFFIX= -math MAINTAINER= thierry@FreeBSD.org COMMENT= Open source Mathematics software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= bash:shells/bash \ dash:shells/dash \ cmake:devel/cmake \ dreadnaut:math/nauty \ ${PYTHON_PKGNAMEPREFIX}alabaster>0:textproc/py-alabaster@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}brial>0:math/py-brial@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cypari2>0:math/py-cypari2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}fpylll>0:math/py-fpylll@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython5>0:devel/ipython5@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Jinja2>0i:devel/py-Jinja2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter_core>0:devel/py-jupyter_core@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter_client>0:devel/py-jupyter_client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}kiwisolver>0:math/py-kiwisolver@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>0:textproc/py-MarkupSafe@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}\ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pickleshare>0:databases/py-pickleshare@${PY_FLAVOR}\ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pplpy>0:math/py-pplpy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prompt_toolkit1>0:devel/py-prompt_toolkit1@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}simplegeneric>0:devel/py-simplegeneric@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>0:textproc/py-snowballstemmer@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}terminado>0:net/py-terminado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}testpath>0:devel/py-testpath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}twisted>0:devel/py-twisted@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}\ fflas-ffpack-config:math/fflas-ffpack \ gfan:math/gfan \ git:devel/git \ gp2c:math/gp2c \ jmol:science/jmol \ libatomic_ops>0:devel/libatomic_ops \ MathJax>0:www/mathjax \ maxima>0:math/maxima \ p5-XML-Writer>0:textproc/p5-XML-Writer \ p5-XML-LibXML>0:textproc/p5-XML-LibXML \ p5-XML-LibXSLT>0:textproc/p5-XML-LibXSLT\ p5-File-Slurp>0:devel/p5-File-Slurp \ p5-JSON>0:converters/p5-JSON \ p5-SVG>0:textproc/p5-SVG \ p5-MongoDB>0:databases/p5-MongoDB \ p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu\ palp>0:math/palp \ pandoc:textproc/hs-pandoc \ pari-elldata>0:math/pari_elldata\ pari-galdata>0:math/pari_galdata\ pari-galpol>0:math/pari_galpol \ pari-nftables>0:math/pari_nftables \ pari-seadata>0:math/pari_seadata\ QuadraticSieve:math/flintqs \ ninja:devel/ninja \ gpatch:devel/patch \ rubiks>0:math/rubiks \ sympow:math/sympow \ tachyon:graphics/tachyon \ three.js>0:www/threejs \ yasm:devel/yasm \ gtar:archivers/gtar \ convert:graphics/ImageMagick6 \ ffmpeg:multimedia/ffmpeg \ ${LOCALBASE}/lib/libBLT.a:x11-toolkits/blt LIB_DEPENDS= libarb.so:math/arb \ libboost_thread.so:devel/boost-libs \ libbraiding.so:math/libbraiding \ libbrial.so:math/brial \ libCbc.so:math/cbc \ libcdd.so:math/cddlib \ libcliquer.so:math/cliquer \ libcurl.so:ftp/curl \ libeantic.so:math/e-antic \ libec.so:math/eclib \ libecl.so:lang/ecl \ libecm.so:math/gmp-ecm \ libflint.so:math/flint2 \ libfplll.so:math/fplll \ libfreetype.so:print/freetype2 \ libgc.so:devel/boehm-gc \ libgc-threaded.so:devel/boehm-gc-threaded\ libgf2x.so:math/gf2x \ libgivaro.so:math/givaro \ libglpk.so:math/glpk \ libgap.so:math/gap \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ libhomfly.so:math/libhomfly \ libiml.so:math/iml \ libisl.so:devel/isl \ libLfunction.so:math/lcalc \ libffi.so:devel/libffi \ libgd.so:graphics/gd \ libgiac.so:math/giacxcas \ liblinbox.so:math/linbox \ liblrcalc.so:math/lrcalc \ liblrs.so:math/lrslib \ libm4ri.so:math/m4ri \ libm4rie.so:math/m4rie \ libmpc.so:math/mpc \ libmpfi.so:math/mpfi \ libmpfr.so:math/mpfr \ libmpir.so:math/mpir \ libntl.so:math/ntl \ libpari.so:math/pari \ libpcre.so:devel/pcre \ libplanarity.so:math/planarity \ libpng.so:graphics/png \ libppl.so:devel/ppl \ libpynac.so:math/pynac \ libR.so:math/R \ librw.so:math/rankwidth \ libSingular.so:math/singular \ libamd.so:math/suitesparse \ libsemigroups.so:math/libsemigroups \ libsymmetrica.so:math/symmetrica\ libzmq.so:net/libzmq4 \ libzn_poly-0.9.so:math/zn_poly \ libqd.so:math/qd \ libisl.so:devel/isl \ libblas.so:math/blas \ libicuuc.so:devel/icu \ libtiff.so:graphics/tiff \ liblapack.so:math/lapack \ libedit.so:devel/libedit \ libwebp.so:graphics/webp \ libpcre2-8.so:devel/pcre2 \ libgdbm.so:databases/gdbm \ liblcms2.so:graphics/lcms2 \ libopenjp2.so:graphics/openjpeg RUN_DEPENDS= bash:shells/bash \ dreadnaut:math/nauty \ ${PYTHON_PKGNAMEPREFIX}alabaster>0:textproc/py-alabaster@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}brial>0:math/py-brial@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cypari2>0:math/py-cypari2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}fpylll>0:math/py-fpylll@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython5>0:devel/ipython5@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter_core>0:devel/py-jupyter_core@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter_client>0:devel/py-jupyter_client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}kiwisolver>0:math/py-kiwisolver@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>0:textproc/py-MarkupSafe@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}\ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pickleshare>0:databases/py-pickleshare@${PY_FLAVOR}\ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pplpy>0:math/py-pplpy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prompt_toolkit1>0:devel/py-prompt_toolkit1@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}simplegeneric>0:devel/py-simplegeneric@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>0:textproc/py-snowballstemmer@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}terminado>0:net/py-terminado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}testpath>0:devel/py-testpath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}twisted>0:devel/py-twisted@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}\ fflas-ffpack-config:math/fflas-ffpack \ gfan:math/gfan \ git:devel/git \ gp2c:math/gp2c \ jmol:science/jmol \ MathJax>0:www/mathjax \ maxima>0:math/maxima \ p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu\ palp>0:math/palp \ pandoc:textproc/hs-pandoc \ pari-elldata>0:math/pari_elldata\ pari-galdata>0:math/pari_galdata\ pari-galpol>0:math/pari_galpol \ pari-nftables>0:math/pari_nftables \ pari-seadata>0:math/pari_seadata\ QuadraticSieve:math/flintqs \ rubiks>0:math/rubiks \ sympow:math/sympow \ tachyon:graphics/tachyon \ three.js>0:www/threejs \ yasm:devel/yasm \ pixz:archivers/pixz USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \ gettext gmake gnome iconv jpeg libtool localbase ncurses perl5 \ pkgconfig python:3.6+ readline shebangfix sqlite tk xorg USE_TEX= latex:build pdftex:build tex:build USE_XORG= x11 xext xscrnsaver USE_GNOME= cairo glib20 pango USE_PYTHON= cython USE_JAVA= yes # for science/jmol CONFLICTS= ${PYTHON_PKGNAMEPREFIX}ipykernel5-5.* \ ${PYTHON_PKGNAMEPREFIX}ipython-7.* \ ${PYTHON_PKGNAMEPREFIX}ipywidgets-7.* \ ${PYTHON_PKGNAMEPREFIX}notebook-6.* \ ${PYTHON_PKGNAMEPREFIX}prompt_toolkit-2.* \ ${PYTHON_PKGNAMEPREFIX}widgetsnbextension-3.5.* SHEBANG_FILES= . SHEBANG_LANG+= dash dash_OLD_CMD= /bin/dash dash_CMD= ${LOCALBASE}/bin/dash DISABLE_BINUTILS= yes LIBS= -lomp -pthread .if !defined{WITH_DEBUG} LDFLAGS+= -s .endif BLDDIR= ${WRKDIR}/build GNU_CONFIGURE= yes CONFIGURE_ENV= SAGE_PORT=yes CC=${CC} GCC=${CC} CXX=${CXX} AS=${AS} LD=${LD} \ SAGE_LOCAL=${PREFIX} SAGE_DESTDIR=${BLDDIR}/ \ DESTDIR=${BLDDIR}/${PREFIX} PATCH=${LOCALBASE}/bin/gpatch CONFIGURE_ARGS= --with-system-gcc=force \ --with-system-python3=yes \ --enable-build-as-root \ --localstatedir=/var MAKE_ENV= MAKE=${GMAKE} DESTDIR=${BLDDIR} ALL_TARGET= build REINPLACE_ARGS= -i '' BINARY_ALIAS= patch=${LOCALBASE}/bin/gpatch OPTIONS_SUB= yes PLIST_SUB= VER=${PORTVERSION} SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS PORTDOCS= * DOCS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx .include WSDIR= ${BLDDIR}${PREFIX} SPKG_INST= configure.ac configure build/sage_bootstrap/uninstall.py \ build/make/install src/bin/sage-env PY2FIX= bin lib/${PYTHON_VERSION} DOC2FIX= .pickle .doctree SE2FIX= ^ECLDIR= ^SINGULAR MAXIMA_PREFIX SHR2FIX= GAP_ROOT_DIR PPLPY_DOCS SINGULARPATH STG2FIX= bin/sage-env-config \ share/jupyter/kernels/sagemath/kernel.json BADLN= kernels/sagemath/doc nbextensions/jsmol \ nbextensions/mathjax nbextensions/threejs # External dependencies not yet handled by SageMath PY_LIBS= alabaster babel bleach certifi configparser cvxopt cycler \ cypari cysignals cython dateutil decorator defusedxml docutils \ entrypoints fpylll future gmpy2 html5lib imagesize ipython \ ipython_genutils itsdangerous jinja2 jsonschema jupyter_client \ jupyter_core kiwisolver markupsafe matplotlib mistune mpmath \ nbconvert nbformat networkx nose numpy packaging pandocfilters \ pathlib2 pexpect pickleshare pillow pkgconfig pplpy \ prometheus_client prompt_toolkit psutil ptyprocess pyparsing \ pytz pyzmq requests rpy2 scandir scipy send2trash simplegeneric \ six snowballstemmer sympy terminado testpath tornado traitlets \ twisted vcversioner wcwidth webencodings werkzeug zope_interface PY_FILES= sage_brial JS_LIBS= jmol mathjax threejs SPKGCM4= brial e_antic ecl gap gc giac libhomfly linbox maxima palp pynac \ rubiks singular suitesparse sympow zn_poly post-patch: ${CP} ${FILESDIR}/psutil__arch__bsd__freebsd_socks.c.patch \ ${WRKSRC}/build/pkgs/psutil/patches/ .for sp in ${SPKGCM4} ${CP} ${FILESDIR}/${sp}_spkg-configure.m4 \ ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor .for sp in ${PY_LIBS} ${CP} ${FILESDIR}/py_libs_spkg-configure.m4 \ ${WRKSRC}/build/pkgs/${sp:C/pari2/pari/}/spkg-configure.m4 .endfor .for sp in ${PY_FILES} ${SED} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' ${FILESDIR}/${sp}_spkg-configure.m4.in \ > ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor .for sp in ${JS_LIBS} ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${FILESDIR}/${sp}_spkg-configure.m4.in \ > ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor pre-configure: ${REINPLACE_CMD} -e 's|SAGE_LOCAL="$$prefix"|SAGE_LOCAL="${WSDIR}"|' \ -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|SAGE_LOCAL="@prefix@"|SAGE_LOCAL="${WSDIR}"|' \ ${WRKSRC}/src/bin/sage-env-config.in ${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/build/pkgs/tachyon/patches/Make-arch.patch ${REINPLACE_CMD} -e '/SUITESPARSE_INC_DIR/s|$${SAGE_LOCAL}/include|${LOCALBASE}/include/suitesparse|'\ ${WRKSRC}/build/pkgs/cvxopt/spkg-install.in .for f in ${PY_LIBS} ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|;s|py_libs|${f}|' \ ${WRKSRC}/build/pkgs/${f}/spkg-configure.m4 .endfor ${REINPLACE_CMD} -e 's|import cypari|import cypari2|' \ ${WRKSRC}/build/pkgs/cypari/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import ipython|import IPython|' \ ${WRKSRC}/build/pkgs/ipython/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pillow|import PIL|' \ ${WRKSRC}/build/pkgs/pillow/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pplpy|import ppl|' \ ${WRKSRC}/build/pkgs/pplpy/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pyzmq|import zmq|' \ ${WRKSRC}/build/pkgs/pyzmq/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import zope_interface|import zope.interface|' \ ${WRKSRC}/build/pkgs/zope_interface/spkg-configure.m4 ${REINPLACE_CMD} -e '/GAP_ROOT=/s|$$SAGE_LOCAL|${LOCALBASE}|' \ ${WRKSRC}/build/pkgs/gap_packages/spkg-install.in ${REINPLACE_CMD} -e "/os.path.join/s|SAGE_LOCAL|'${LOCALBASE}'|"\ ${WRKSRC}/src/sage/libs/gap/util.pyx ${REINPLACE_CMD} -e "/os.path.join(SAGE_LOCAL/s|SAGE_LOCAL|'${LOCALBASE}'|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/^library_dirs/s|SAGE_LOCAL|'${LOCALBASE}'|" \ ${WRKSRC}/src/setup.py .for f in ${SHR2FIX} ${REINPLACE_CMD} -e "/${f}/s|SAGE_SHARE|'${LOCALBASE}/share/'|" \ ${WRKSRC}/src/sage/env.py .endfor ${REINPLACE_CMD} -e "/JMOL_DIR/s|SAGE_SHARE|'${JAVASHAREDIR}'|" \ -e "/JMOL_DIR/s|jmol|classes|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/JSMOL_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ -e "/JSMOL_DIR/s|jsmol|JSmol|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/MATHJAX_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ -e "/MATHJAX_DIR/s|mathjax|MathJax|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/THREEJS_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ ${WRKSRC}/src/sage/env.py .for f in ${SE2FIX} ${REINPLACE_CMD} -e '/${f}/s|$$SAGE_LOCAL|${LOCALBASE}|' \ ${WRKSRC}/src/bin/sage-env .endfor ${REINPLACE_CMD} -e '/LDFLAGS=/s|-rpath,$$SAGE_LOCAL|-rpath,${LOCALBASE}|' \ ${WRKSRC}/src/bin/sage-env .for f in ${SPKG_INST} ${REINPLACE_CMD} -e 's|/var/lib/sage|/share/libdata/${PORTNAME}|' \ ${WRKSRC}/${f} .endfor (cd ${WRKSRC} && ./bootstrap) ${MKDIR} ${BLDDIR}${PREFIX}/lib/pkgconfig # Removed thereafter post-build: .if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_CMD} doc) .endif .for d in ${PY2FIX} ${FIND} ${WSDIR}/${d} -type f -exec ${GREP} -I -l "${WSDIR}/bin/python" {} \; |\ ${XARGS} ${SED} -i "" -e 's|${WSDIR}/bin/pytho.*|${PYTHON_CMD}|' .endfor .for d in ${PY2FIX} ${FIND} ${WSDIR}/${d} -type f -exec ${GREP} -I -l "/usr/bin/env python" {} \; |\ ${XARGS} ${SED} -i "" -e 's|/usr/bin/env pytho.*|${PYTHON_CMD}|' .endfor ${FIND} ${BLDDIR}/${PYTHON_LIBDIR} -type d -name __pycache__ | \ ${XARGS} ${RM} -r .for f in ${DOC2FIX} ${FIND} ${BLDDIR}${DOCSDIR} -type f -name "*${f}" | ${XARGS} \ ${SED} -i "" -e 's|${BLDDIR}||g' .endfor .for f in ${STG2FIX} ${SED} -i "" -e 's|${BLDDIR}||g' ${BLDDIR}${PREFIX}/${f} .endfor ${RM} ${BLDDIR}${PYTHON_CMD} ${BADLN:C|^|${BLDDIR}${PREFIX}/share/jupyter/|} ${RM} -r ${BLDDIR}${PREFIX}/var ${RM} ${BLDDIR}${PREFIX}/lib64 ${BLDDIR}${PREFIX}/lib/pkgconfig/blas.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/cblas.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/gsl.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/lapack.pc # Cannot use a package system for pip and setuptools ${RM} ${BLDDIR}${PREFIX}/bin/easy_install* ${BLDDIR}${PREFIX}/bin/pip* ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/pip-* ${BLDDIR}${PYTHON_SITELIBDIR}/pip/ ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/setuptools* \ ${BLDDIR}${PYTHON_SITELIBDIR}/easy_install.py \ ${BLDDIR}${PYTHON_SITELIBDIR}/pkg_resources \ ${BLDDIR}${PYTHON_SITELIBDIR}/__pycache__/easy_install* # Remoce CONFLICTS with py3x-backports-1 ${RM} ${BLDDIR}${PYTHON_SITELIBDIR}/backports/__init__.py \ ${BLDDIR}${PYTHON_SITELIBDIR}/backports/__init__.cpython-${PYTHON_SUFFIX}.pyc # Wont use a system package for sphinx because it would need py-sphinx18 + its dependencies # Check https://trac.sagemath.org/ticket/28856 ${RM} ${BLDDIR}${PREFIX}/bin/sphinx-* ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/sphinx ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/sphinxcontrib \ ${BLDDIR}${PYTHON_SITELIBDIR}/Sphinx-* \ ${BLDDIR}${PYTHON_SITELIBDIR}/sphinxcontrib_websupport-* ${RM} -r ${BLDDIR}${PREFIX}/bin/pygmentize \ ${BLDDIR}${PYTHON_SITELIBDIR}/Pygments-* \ ${BLDDIR}${PYTHON_SITELIBDIR}/pygments # Remove CONFLICTS with lang/python3 ${RM} ${BLDDIR}${PREFIX}/bin/python ${BLDDIR}${PREFIX}/bin/python3 ${REINPLACE_CMD} -e '/exec/s|python3|${PYTHON_VERSION}|' ${BLDDIR}${PREFIX}/bin/sage # ${TRUE} because compilation of some .py fails: compileall.py -q to see errors (cd ${WSDIR} && (${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} || \ ${TRUE})) ${FIND} ${BLDDIR}${PREFIX} -name "*.bak" -delete # See https://lists.freebsd.org/pipermail/freebsd-python/2020-June/020710.html .if exists(${PYTHON_SITELIBDIR}/path.py-7.1.dist-info/WHEEL) PLIST_SUB+= EGG="@comment " WHEEL="" .else PLIST_SUB+= EGG="" WHEEL="@comment " .endif do-install: cd "${BLDDIR}" && ${FIND} . | ${CPIO} -pduml ${STAGEDIR} # Remove bad links ${LN} -sf ${DOCSDIR} \ ${STAGEDIR}${PREFIX}/share/jupyter/kernels/sagemath/doc ${LN} -sf ${LOCALBASE}/www/JSmol \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/jsmol ${LN} -sf ${LOCALBASE}/www/MathJax \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/mathjax ${LN} -sf ${LOCALBASE}/www/threejs \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/threejs post-install: ${RM} ${STAGEDIR}${PREFIX}/lib64 ${STAGEDIR}${PREFIX}/libdata/pkgconfig/blas.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/cblas.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gsl.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/lapack.pc .include Index: head/math/sympow/Makefile =================================================================== --- head/math/sympow/Makefile (revision 553236) +++ head/math/sympow/Makefile (revision 553237) @@ -1,39 +1,40 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= sympow PORTVERSION= 2.023.6 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= Mathematical program for SYMmetric POWer elliptic curve L-functions LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= help2man:misc/help2man \ bash:shells/bash LIB_DEPENDS= libpari.so:math/pari USES= compiler:c++11-lang gmake shebangfix SHEBANG_FILES= ${CONFIGURE_SCRIPT} USE_GITLAB= yes GL_ACCOUNT= rezozer/forks GL_COMMIT= 7fd4d97cabc07951200b98ee841afc4151c2c287 HAS_CONFIGURE= yes CONFIGURE_SCRIPT=Configure post-build: mkdir -p ${WRKDIR}/home for file in `${LS} ${WRKSRC}/datafiles/*.txt`; do \ env HOME=${WRKDIR}/home ${WRKSRC}/sympow -txt2bin "`${GREP} -c AT $${file}`" <$${file} $${file%txt}bin; \ done post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/datafiles/*.bin ${STAGEDIR}${DATADIR}/datafiles .include