Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2013 23:12:50 GMT
From:      Jason Bacon <jwbacon@tds.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177724: New port: math/matlab-R2012a-installer
Message-ID:  <201304082312.r38NCo33063865@red.freebsd.org>
Resent-Message-ID: <201304082320.r38NK0rW096898@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177724
>Category:       ports
>Synopsis:       New port: math/matlab-R2012a-installer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 08 23:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        8.3-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD sculpin.jbacon.dyndns.org 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Installing Matlab on FreeBSD requires Linux compatibility and a number of other prerequisites.  The installation process then requires a few special tweaks in order to deal with Linuxisms in the Matlab install scripts.

This port ensures that all the prerequisites are installed and provides a wrapper script for performing a smooth Matlab installation.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	matlab-R2012a-installer
#	matlab-R2012a-installer/files
#	matlab-R2012a-installer/files/pkg-message.in
#	matlab-R2012a-installer/Makefile
#	matlab-R2012a-installer/distinfo
#	matlab-R2012a-installer/pkg-descr
#
echo c - matlab-R2012a-installer
mkdir -p matlab-R2012a-installer > /dev/null 2>&1
echo c - matlab-R2012a-installer/files
mkdir -p matlab-R2012a-installer/files > /dev/null 2>&1
echo x - matlab-R2012a-installer/files/pkg-message.in
sed 's/^X//' >matlab-R2012a-installer/files/pkg-message.in << '6da3cb4f01fd2688e19e8afdf6e5ba9b'
X====================================================================
XIf you did not allow the Matlab installer to create symbolic links 
Xto the Matlab binaries, users will need %%PREFIX%%/matlab/bin 
Xin their PATH to run matlab.
X
XIf you want to run matlab without the graphical desktop, you will need
Xa terminfo database installed in
X
X	/compat/linux/usr/share/terminfo
X
XTo install Matlab (r), have your license.dat file and installation
Xmedia ready, and run
X
X	matlab-R2012a-installer
X
Xas root.
X
XNOTE: The root user must have the ability to run X11 applications,
Xas Matlab R2012a does not have a text-based installer.
X====================================================================
6da3cb4f01fd2688e19e8afdf6e5ba9b
echo x - matlab-R2012a-installer/Makefile
sed 's/^X//' >matlab-R2012a-installer/Makefile << '87d8937a61bb4e7410c12276af3beb58'
X# Created by:	Jason Bacon
X# $FreeBSD$
X
XPORTNAME=	matlab-R2012a-installer
XPORTVERSION=	0.1
XCATEGORIES=	math science java
XMASTER_SITES=	http://acadix.biz/Ports/distfiles/ \
X		http://personalpages.tds.net/~jwbacon/Ports/distfiles/
X
XMAINTAINER=	jwbacon@tds.net
XCOMMENT=	Mathworks(r) Matlab installation tool
X
XRUN_DEPENDS=	${LINUXBASE}/usr/share/terminfo:../../devel/linux-f10-ncurses-base
X
XUSE_LINUX=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.6+
XJAVA_OS=	linux
XJAVA_RUN=	yes
X
XSUB_FILES=	pkg-message
X
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/${PORTNAME}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
Xpost-install:
X	@${CAT} ${WRKDIR}/pkg-message
X
X.include <bsd.port.mk>
87d8937a61bb4e7410c12276af3beb58
echo x - matlab-R2012a-installer/distinfo
sed 's/^X//' >matlab-R2012a-installer/distinfo << '1b75e216a3d76346fe5583b5ebbb6de8'
XSHA256 (matlab-R2012a-installer-0.1.tar.gz) = 54a4a3fa94205876d01b7a000dc41ad34858fa3244d1da99ad2e77854336cd23
XSIZE (matlab-R2012a-installer-0.1.tar.gz) = 4696
1b75e216a3d76346fe5583b5ebbb6de8
echo x - matlab-R2012a-installer/pkg-descr
sed 's/^X//' >matlab-R2012a-installer/pkg-descr << '94a8d4f132c0119d48b409afbbb954c7'
XThis port installs the prerequisites for Mathworks (r) Matlab R2012a for Linux
Xand an installer script matlab-2012a-installer, which automates the somewhat
Xtricky process of installing Linux Matlab.
X
XIt requires installation media and a license file from Mathworks, Inc.
94a8d4f132c0119d48b409afbbb954c7
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304082312.r38NCo33063865>