[84046] trunk/dports/math
takanori at macports.org
takanori at macports.org
Thu Sep 15 13:15:26 PDT 2011
Revision: 84046
http://trac.macports.org/changeset/84046
Author: takanori at macports.org
Date: 2011-09-15 13:15:26 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
New port: Imaxima (Ticket #31195)
Added Paths:
-----------
trunk/dports/math/imaxima/
trunk/dports/math/imaxima/Portfile
trunk/dports/math/imaxima/files/
trunk/dports/math/imaxima/files/patch-imaxima.el.diff
Added: trunk/dports/math/imaxima/Portfile
===================================================================
--- trunk/dports/math/imaxima/Portfile (rev 0)
+++ trunk/dports/math/imaxima/Portfile 2011-09-15 20:15:26 UTC (rev 84046)
@@ -0,0 +1,75 @@
+# $Id$
+
+PortSystem 1.0
+
+name imaxima
+version 1.0
+categories math
+maintainers nomaintainer
+description GUI front-end for Maxima
+long_description \
+ Imaxima provides a graphical user interface front-end \
+ for the computer algebra system Maxima in an Emacs buffer.
+platforms darwin
+homepage http://sites.google.com/site/imaximaimath/
+master_sites http://sites.google.com/site/imaximaimath/download-and-install/
+distname ${name}-imath-${version}
+patchfiles patch-imaxima.el.diff
+checksums md5 1cd6d58ec186d9b0477d99540358953a \
+ sha1 7ae8d3a4dffed322ed6c79af6fe2a81df7c253e8 \
+ rmd160 8cc125e6d9cd9d678506b856ab71b640bf23c966
+depends_lib path:bin/emacs:emacs
+depends_run port:ghostscript \
+ port:texlive \
+ port:maxima
+
+set dir_info ${prefix}/share/info
+configure.args --infodir=${dir_info}
+
+notes-append "
+ Before using ${name}, put the following lines in your .emacs
+
+ ;; for Imaxima
+ (setq exec-path (cons \"${prefix}/bin\" exec-path))
+ (autoload 'imaxima \"imaxima\" \"Image support for Maxima.\" t)
+ "
+
+use_parallel_build yes
+
+test.run yes
+test.target check
+
+post-destroot {
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+ set docs {AUTHORS COPYING ChangeLog INSTALL NEWS README}
+ foreach f ${docs} {
+ xinstall -m 644 ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name}
+ }
+
+ delete ${destroot}${dir_info}/dir
+ if (![variant_isset with_emacs_app]) {
+ # port:maxima installs ${prefix}/share/info/imaxima.info
+ delete ${destroot}${dir_info}/imaxima.info
+ }
+}
+
+universal_variant no
+
+variant with_emacs_app description {Use this package with Emacs.app} {
+ depends_lib-delete path:bin/emacs:emacs
+ depends_lib-append path:${applications_dir}/Emacs.app/Contents/MacOS/Emacs:emacs-app
+
+ set dir_info ${applications_dir}/Emacs.app/Contents/Resources/info
+ configure.env EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
+ configure.args --with-lispdir=${applications_dir}/Emacs.app/Contents/Resources/site-lisp/${name} \
+ --infodir=${dir_info}
+}
+
+variant with_ptex description {Use pTeX instead of texlive} {
+ depends_run-delete port:texlive
+ depends_run-append port:pTeX
+}
+
+livecheck.type regex
+livecheck.url "http://sites.google.com/site/imaximaimath/download-and-install"
+livecheck.regex "${name}-imath-(\[0-9.a-z\+\-\]+).tar.gz"
Property changes on: trunk/dports/math/imaxima/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/math/imaxima/files/patch-imaxima.el.diff
===================================================================
--- trunk/dports/math/imaxima/files/patch-imaxima.el.diff (rev 0)
+++ trunk/dports/math/imaxima/files/patch-imaxima.el.diff 2011-09-15 20:15:26 UTC (rev 84046)
@@ -0,0 +1,11 @@
+--- imaxima.el.orig 2009-02-18 23:14:20.000000000 +0900
++++ imaxima.el 2011-09-09 08:51:53.000000000 +0900
+@@ -296,6 +296,8 @@
+ (temp-directory))
+ ((eql system-type 'cygwin)
+ "/tmp/")
++ ((eql system-type 'darwin)
++ "/tmp/")
+ (t temporary-file-directory))
+ "*Directory used for temporary TeX and image files."
+ :type '(directory)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/1c0b8cd6/attachment.html>
More information about the macports-changes
mailing list