mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
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
This commit is contained in:
parent
8194533c4b
commit
7423c7fd5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318605
5 changed files with 59 additions and 0 deletions
|
@ -244,6 +244,7 @@
|
||||||
SUBDIR += matharray
|
SUBDIR += matharray
|
||||||
SUBDIR += mathomatic
|
SUBDIR += mathomatic
|
||||||
SUBDIR += matio
|
SUBDIR += matio
|
||||||
|
SUBDIR += matlab-R2012a-installer
|
||||||
SUBDIR += matrices
|
SUBDIR += matrices
|
||||||
SUBDIR += matrix
|
SUBDIR += matrix
|
||||||
SUBDIR += maxima
|
SUBDIR += maxima
|
||||||
|
|
31
math/matlab-R2012a-installer/Makefile
Normal file
31
math/matlab-R2012a-installer/Makefile
Normal file
|
@ -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@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>
|
2
math/matlab-R2012a-installer/distinfo
Normal file
2
math/matlab-R2012a-installer/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (matlab-R2012a-installer-0.1.tar.gz) = 047888d53f5d2cce32598e45072693aa225cb1472b9196e521f541a3b73ba749
|
||||||
|
SIZE (matlab-R2012a-installer-0.1.tar.gz) = 4706
|
20
math/matlab-R2012a-installer/files/pkg-message.in
Normal file
20
math/matlab-R2012a-installer/files/pkg-message.in
Normal file
|
@ -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.
|
||||||
|
====================================================================
|
5
math/matlab-R2012a-installer/pkg-descr
Normal file
5
math/matlab-R2012a-installer/pkg-descr
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue