aboutsummaryrefslogtreecommitdiff
path: root/math/matlab-installer
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-02-04 21:57:26 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-02-04 21:57:26 +0000
commit126be086164c63d9e67c6f9737d4fd8278c80b74 (patch)
tree8682e564a9e2eabc0bc4ec4c653c67aa6bc9d926 /math/matlab-installer
parent0b4b153416f9e7cfed2e99bb135937a42b567641 (diff)
Notes
Diffstat (limited to 'math/matlab-installer')
-rw-r--r--math/matlab-installer/Makefile36
-rw-r--r--math/matlab-installer/distinfo2
-rw-r--r--math/matlab-installer/pkg-descr8
3 files changed, 46 insertions, 0 deletions
diff --git a/math/matlab-installer/Makefile b/math/matlab-installer/Makefile
new file mode 100644
index 000000000000..0e239ee6f2d0
--- /dev/null
+++ b/math/matlab-installer/Makefile
@@ -0,0 +1,36 @@
+# Created by: Jason Bacon <jwbacon@tds.net>
+# $FreeBSD$
+
+PORTNAME= matlab-installer
+PORTVERSION= 0.2
+CATEGORIES= math science java
+MASTER_SITES= http://acadix.biz/Ports/distfiles/ \
+ http://personalpages.tds.net/~jwbacon/Ports/distfiles/
+
+MAINTAINER= jwbacon@tds.net
+COMMENT= Easy installation of Linux Matlab(r) on FreeBSD
+
+LICENSE= BSD
+
+# Move devtools depend to USE_LINUX_APPS when possible
+RUN_DEPENDS= mount_cd9660_image:${PORTSDIR}/sysutils/diskimage-tools \
+ auto-ask:${PORTSDIR}/sysutils/auto-admin
+# webbrowser:${PORTSDIR}/www/webbrowser \
+# ${LINUXBASE}/usr/bin/gfortran:${PORTSDIR}/devel/linux-f10-devtools
+
+USE_XZ= yes
+USE_LINUX= yes
+USE_LINUX_APPS= ncurses-base dri
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+JAVA_OS= linux
+JAVA_RUN= yes
+
+NO_BUILD= yes
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/matlab-installer.1 ${STAGEDIR}${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/math/matlab-installer/distinfo b/math/matlab-installer/distinfo
new file mode 100644
index 000000000000..8b92b7fc2eb5
--- /dev/null
+++ b/math/matlab-installer/distinfo
@@ -0,0 +1,2 @@
+SHA256 (matlab-installer-0.2.tar.xz) = 461e694d6140000cb40350daa126ae0e8c9a1e3ee0defee8c84643460bf977b6
+SIZE (matlab-installer-0.2.tar.xz) = 6668
diff --git a/math/matlab-installer/pkg-descr b/math/matlab-installer/pkg-descr
new file mode 100644
index 000000000000..7c751d2ae6e9
--- /dev/null
+++ b/math/matlab-installer/pkg-descr
@@ -0,0 +1,8 @@
+This port installs the prerequisites for Mathworks (r) Matlab for Linux
+and an installer script (matlab-installer), which automates the somewhat
+tricky process of installing Linux Matlab.
+
+Installing Matlab requires Matlab installation media and a license file and
+installation key from Mathworks, Inc.
+
+WWW: http://acadix.biz/matlab-installer.php