diff options
author | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2022-05-09 09:27:10 +0200 |
---|---|---|
committer | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2022-05-29 22:28:51 +0200 |
commit | b04ee940ddaa3ac29d4e6efaf75cb9099720a408 (patch) | |
tree | 279b86ddb70b7c89887377b2098611a836831667 /math/maxima/files | |
parent | www/apache24: switch to pcre2 (diff) |
math/maxima: Many improvments
- Add a missing license (BSD3CLAUSE) and missing license files (for
BSD3CLAUSE and GPLv2).
- Remove reference to a non existent patch that should have been applied
when NOUSERINIT is OFF.
- Fix patching when SBCL is ON but NOUSERINIT is OFF (the port was
building successfully, but then maxima failed to run).
- Fix patching of Makefile.am: $(DOC_DIR) and demo targets are removed
in any case (the port deals with them manually through the DOCS,
MANPAGES and EXAMPLES options). The tests target is only removed if
the TEST option is OFF.
- Regenerate files/patch-configure.ac with 'make makepatch', as
requested by portlint.
- Remove unneeded CONFIGURE_ARGS= PYTHON=dummy.
- Move symplectic_ode info file from pkg-plist to INFO variable, as
requested by portlint.
- Remove CMUCL: cmucl is not supported upstream anymore on FreeBSD since
2017.
- Set NO_ARCH=yes when LISP is CCL or SBCL (it does not apply when it is
ECL).
- Do not install German and Russian manpages anymore.
- Strip binaries and libraries (applies when LISP is ECL, it is not
needed in the other cases).
- Move post-install-ECL-on target (portclippy).
Reviewed by: diizzy, thierry, tcberner
Approved by: gerald (mentor)
Differential Revision: https://reviews.freebsd.org/D35164
Diffstat (limited to 'math/maxima/files')
-rw-r--r-- | math/maxima/files/extra-patch-OFF-Makefile.am | 11 | ||||
-rw-r--r-- | math/maxima/files/extra-patch-nouserinit-src_maxima.in (renamed from math/maxima/files/extra-patch-src_maxima.in) | 8 | ||||
-rw-r--r-- | math/maxima/files/extra-patch-sbcl-src_maxima.in | 10 | ||||
-rw-r--r-- | math/maxima/files/patch-Makefile.am | 11 | ||||
-rw-r--r-- | math/maxima/files/patch-configure.ac | 6 |
5 files changed, 24 insertions, 22 deletions
diff --git a/math/maxima/files/extra-patch-OFF-Makefile.am b/math/maxima/files/extra-patch-OFF-Makefile.am deleted file mode 100644 index add8db5334ac..000000000000 --- a/math/maxima/files/extra-patch-OFF-Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.am.orig 2020-06-15 21:43:09 UTC -+++ Makefile.am -@@ -6,7 +6,7 @@ if ENABLE_GETTEXT - LOCALE_DIR = locale - endif - --SUBDIRS = admin crosscompile-windows src lisp-utils tests doc interfaces share demo plotting desktopintegration $(LOCALE_DIR) -+SUBDIRS = admin crosscompile-windows src lisp-utils interfaces share plotting desktopintegration $(LOCALE_DIR) - - EXTRA_DIST = \ - common.mk maxima.iss.in \ diff --git a/math/maxima/files/extra-patch-src_maxima.in b/math/maxima/files/extra-patch-nouserinit-src_maxima.in index 2a0ee963a226..9ade2db6c4cf 100644 --- a/math/maxima/files/extra-patch-src_maxima.in +++ b/math/maxima/files/extra-patch-nouserinit-src_maxima.in @@ -1,13 +1,5 @@ --- src/maxima.in.orig 2020-05-02 19:21:19 UTC +++ src/maxima.in -@@ -165,6 +165,7 @@ if [ -d "$MAXIMA_INITIAL_FOLDER" ]; then - fi - - maxima_image_base="$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" -+maxima_image_base_core="$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima_core" - - if [ "$verbose" = "true" ]; then - set -x @@ -243,9 +243,9 @@ elif [ "$MAXIMA_LISP" = "sbcl" ]; then # one has to extend the amount of memory sbcl will be able to claim by using the # switch --dynamic-space-size in order to do so. diff --git a/math/maxima/files/extra-patch-sbcl-src_maxima.in b/math/maxima/files/extra-patch-sbcl-src_maxima.in new file mode 100644 index 000000000000..f0236fdb7e9e --- /dev/null +++ b/math/maxima/files/extra-patch-sbcl-src_maxima.in @@ -0,0 +1,10 @@ +--- src/maxima.in.orig 2020-05-02 19:21:19 UTC ++++ src/maxima.in +@@ -165,6 +165,7 @@ if [ -d "$MAXIMA_INITIAL_FOLDER" ]; then + fi + + maxima_image_base="$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ++maxima_image_base_core="$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima_core" + + if [ "$verbose" = "true" ]; then + set -x diff --git a/math/maxima/files/patch-Makefile.am b/math/maxima/files/patch-Makefile.am new file mode 100644 index 000000000000..165de96d6477 --- /dev/null +++ b/math/maxima/files/patch-Makefile.am @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2022-05-09 16:39:32 UTC ++++ Makefile.am +@@ -10,7 +10,7 @@ endif + DOC_DIR = doc + endif + +-SUBDIRS = admin crosscompile-windows src lisp-utils tests $(DOC_DIR) interfaces share demo plotting desktopintegration $(LOCALE_DIR) ++SUBDIRS = admin crosscompile-windows src lisp-utils tests interfaces share plotting desktopintegration $(LOCALE_DIR) + + EXTRA_DIST = \ + common.mk maxima.iss.in \ diff --git a/math/maxima/files/patch-configure.ac b/math/maxima/files/patch-configure.ac index 2d42071d5c66..74433aa98ca2 100644 --- a/math/maxima/files/patch-configure.ac +++ b/math/maxima/files/patch-configure.ac @@ -1,6 +1,6 @@ ---- configure.ac.orig 2021-06-22 16:59:07.387685000 -0600 -+++ configure.ac 2021-06-22 16:59:40.892936000 -0600 -@@ -165,21 +165,21 @@ +--- configure.ac.orig 2022-04-13 05:02:12 UTC ++++ configure.ac +@@ -165,21 +165,21 @@ dnl See if git exists. If it does, update VERSION to dnl See if git exists. If it does, update VERSION to include a git tag |