svn commit: r318605 - in head/math: . matlab-R2012a-installer matlab-R2012a-installer/files
Boris Samorodov
bsam at FreeBSD.org
Mon May 20 15:06:19 UTC 2013
Author: bsam
Date: Mon May 20 15:06:17 2013
New Revision: 318605
URL: http://svnweb.freebsd.org/changeset/ports/318605
Log:
This port installs the prerequisites for Mathworks (r) Matlab R2012a for Linux
and an installer script matlab-2012a-installer, which automates the somewhat
tricky process of installing Linux Matlab.
It requires installation media and a license file from Mathworks, Inc.
PR: ports/177724
Submitted by: Jason Bacon
Added:
head/math/matlab-R2012a-installer/
head/math/matlab-R2012a-installer/Makefile (contents, props changed)
head/math/matlab-R2012a-installer/distinfo (contents, props changed)
head/math/matlab-R2012a-installer/files/
head/math/matlab-R2012a-installer/files/pkg-message.in (contents, props changed)
head/math/matlab-R2012a-installer/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon May 20 15:03:18 2013 (r318604)
+++ head/math/Makefile Mon May 20 15:06:17 2013 (r318605)
@@ -244,6 +244,7 @@
SUBDIR += matharray
SUBDIR += mathomatic
SUBDIR += matio
+ SUBDIR += matlab-R2012a-installer
SUBDIR += matrices
SUBDIR += matrix
SUBDIR += maxima
Added: head/math/matlab-R2012a-installer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/matlab-R2012a-installer/Makefile Mon May 20 15:06:17 2013 (r318605)
@@ -0,0 +1,31 @@
+# Created by: Jason Bacon
+# $FreeBSD$
+
+PORTNAME= matlab-R2012a-installer
+PORTVERSION= 0.1
+CATEGORIES= math science java
+MASTER_SITES= http://acadix.biz/Ports/distfiles/ \
+ http://personalpages.tds.net/~jwbacon/Ports/distfiles/
+
+MAINTAINER= jwbacon at tds.net
+COMMENT= Mathworks(r) Matlab installation tool
+
+USE_LINUX= yes
+USE_LINUX_APPS= ncurses-base
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+JAVA_OS= linux
+JAVA_RUN= yes
+
+NO_BUILD= yes
+SUB_FILES= pkg-message
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+post-install:
+ @${CAT} ${WRKDIR}/pkg-message
+
+.include <bsd.port.mk>
Added: head/math/matlab-R2012a-installer/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/matlab-R2012a-installer/distinfo Mon May 20 15:06:17 2013 (r318605)
@@ -0,0 +1,2 @@
+SHA256 (matlab-R2012a-installer-0.1.tar.gz) = 047888d53f5d2cce32598e45072693aa225cb1472b9196e521f541a3b73ba749
+SIZE (matlab-R2012a-installer-0.1.tar.gz) = 4706
Added: head/math/matlab-R2012a-installer/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/matlab-R2012a-installer/files/pkg-message.in Mon May 20 15:06:17 2013 (r318605)
@@ -0,0 +1,20 @@
+====================================================================
+If you did not allow the Matlab installer to create symbolic links
+to the Matlab binaries, users will need %%PREFIX%%/matlab/bin
+in their PATH to run matlab.
+
+If you want to run matlab without the graphical desktop, you will need
+a terminfo database installed in
+
+ /compat/linux/usr/share/terminfo
+
+To install Matlab (r), have your license.dat file and installation
+media ready, and run
+
+ matlab-R2012a-installer
+
+as root.
+
+NOTE: The root user must have the ability to run X11 applications,
+as Matlab R2012a does not have a text-based installer.
+====================================================================
Added: head/math/matlab-R2012a-installer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/matlab-R2012a-installer/pkg-descr Mon May 20 15:06:17 2013 (r318605)
@@ -0,0 +1,5 @@
+This port installs the prerequisites for Mathworks (r) Matlab R2012a for Linux
+and an installer script matlab-2012a-installer, which automates the somewhat
+tricky process of installing Linux Matlab.
+
+It requires installation media and a license file from Mathworks, Inc.
More information about the svn-ports-head
mailing list