Ticket #36243: math_maxima_portfile.diff

File math_maxima_portfile.diff, 4.8 KB (added by KubaO (Kuba Ober), 12 years ago)
  • math/maxima/Portfile

    diff -ruN --exclude work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/maxima/Portfile math/maxima/Portfile
    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 97923 2012-09-20 07:40:42Z ciserlohn@macports.org $
     2# $Id$
    33
    44PortSystem 1.0
    55
    66name            maxima
    77version         5.28.0
     8revision        1
    89categories      math
    910maintainers     mareimbrium.org:kuba
    1011platforms       darwin
     
    2526master_sites    sourceforge
    2627
    2728checksums       sha256  d73e925f0116ba361bf4390c80e24d4fa763f647cc1fc4cc06bbf40ceb3facda \
    28                 rmd160  a2d9aff1ac7e8a5464750b3b59f8b7dcedb148d5 \
     29                rmd160  a2d9aff1ac7e8a5464750b3b59f8b7dcedb148d5
    2930
    3031depends_lib     port:sbcl
    3132depends_run     port:tk \
     
    4748}
    4849}
    4950
    50 variant abcl description {Use ABCL instead of SBCL for Lisp } {
     51variant no_xmaxima description {Do not build xmaxima} {
     52    depends_run-delete  port:tk
     53    patchfiles-append   no-xmaxima.patch
     54}
     55
     56variant abcl description {Use ABCL instead of SBCL for Lisp} {
    5157    depends_lib-delete  port:sbcl
    5258    depends_lib-append  port:abcl
    5359    configure.args-delete --enable-sbcl
  • math/maxima/files/no-xmaxima.patch

    diff -ruN --exclude work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/maxima/files/no-xmaxima.patch math/maxima/files/no-xmaxima.patch
    old new  
     1--- interfaces/Makefile.in.orig 2012-09-20 09:30:55.000000000 -0400
     2+++ interfaces/Makefile.in      2012-09-20 09:31:16.000000000 -0400
     3@@ -183,8 +183,7 @@
     4 target_alias = @target_alias@
     5 top_builddir = @top_builddir@
     6 top_srcdir = @top_srcdir@
     7-SUBDIRS = emacs xmaxima
     8-EXTRA_DIST = bin/xmaxima.iss
     9+SUBDIRS = emacs
     10 all: all-recursive
     11 
     12 .SUFFIXES:
     13--- Makefile.in.orig    2012-09-20 09:37:06.000000000 -0400
     14+++ Makefile.in 2012-09-20 09:38:15.000000000 -0400
     15@@ -36,9 +36,8 @@
     16 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
     17        $(srcdir)/Makefile.in $(srcdir)/common.mk \
     18        $(srcdir)/maxima-local.in $(srcdir)/maxima.iss.in \
     19-       $(srcdir)/maxima.spec.in $(srcdir)/xmaxima-local.in \
     20+       $(srcdir)/maxima.spec.in \
     21        $(top_srcdir)/configure $(top_srcdir)/doc/man/ru/maxima.1.in \
     22-       $(top_srcdir)/interfaces/xmaxima/Tkmaxima/Header.tcl.in \
     23        AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \
     24        install-sh missing
     25 subdir = .
     26@@ -49,8 +48,8 @@
     27 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
     28  configure.lineno config.status.lineno
     29 mkinstalldirs = $(install_sh) -d
     30-CONFIG_CLEAN_FILES = maxima-local xmaxima-local maxima.spec maxima.iss \
     31-       doc/man/ru/maxima.1 interfaces/xmaxima/Tkmaxima/Header.tcl
     32+CONFIG_CLEAN_FILES = maxima-local maxima.spec maxima.iss \
     33+       doc/man/ru/maxima.1
     34 SOURCES =
     35 DIST_SOURCES =
     36 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
     37@@ -212,9 +211,9 @@
     38   common.mk maxima.iss.in \
     39   README.lisps README.rpms README.i18n README.external \
     40   INSTALL.win32 INSTALL.lisp \
     41-  configure.lisp  maxima-local.in xmaxima-local.in \
     42+  configure.lisp  maxima-local.in \
     43   macosx/Makefile macosx/Readme.txt macosx/maxima.sh macosx/script \
     44-  macosx/xmaxima.sh macosx/appIcon.icns \
     45+  macosx/appIcon.icns \
     46   ChangeLog-5.9.2 ChangeLog-5.9.3 ChangeLog-5.10.0 ChangeLog-5.11.0 \
     47   ChangeLog-5.12.0 ChangeLog-5.13.0 ChangeLog-5.14.0 ChangeLog-5.15.0 \
     48   ChangeLog-5.16 ChangeLog-5.17 ChangeLog-5.17-special-functions \
     49@@ -282,16 +281,12 @@
     50        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
     51 maxima-local: $(top_builddir)/config.status $(srcdir)/maxima-local.in
     52        cd $(top_builddir) && $(SHELL) ./config.status $@
     53-xmaxima-local: $(top_builddir)/config.status $(srcdir)/xmaxima-local.in
     54-       cd $(top_builddir) && $(SHELL) ./config.status $@
     55 maxima.spec: $(top_builddir)/config.status $(srcdir)/maxima.spec.in
     56        cd $(top_builddir) && $(SHELL) ./config.status $@
     57 maxima.iss: $(top_builddir)/config.status $(srcdir)/maxima.iss.in
     58        cd $(top_builddir) && $(SHELL) ./config.status $@
     59 doc/man/ru/maxima.1: $(top_builddir)/config.status $(top_srcdir)/doc/man/ru/maxima.1.in
     60        cd $(top_builddir) && $(SHELL) ./config.status $@
     61-interfaces/xmaxima/Tkmaxima/Header.tcl: $(top_builddir)/config.status $(top_srcdir)/interfaces/xmaxima/Tkmaxima/Header.tcl.in
     62-       cd $(top_builddir) && $(SHELL) ./config.status $@
     63 
     64 # This directory's subdirectories are mostly independent; you can cd
     65 # into them and run `make' without going through this Makefile.