From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 8 23:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A4B95513 for ; Mon, 8 Apr 2013 23:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 853302C1 for ; Mon, 8 Apr 2013 23:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r38NK09K096899 for ; Mon, 8 Apr 2013 23:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r38NK0rW096898; Mon, 8 Apr 2013 23:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 8 Apr 2013 23:20:00 GMT Resent-Message-Id: <201304082320.r38NK0rW096898@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7270B34E for ; Mon, 8 Apr 2013 23:12:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 62AAE291 for ; Mon, 8 Apr 2013 23:12:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r38NCoGP063866 for ; Mon, 8 Apr 2013 23:12:50 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r38NCo33063865; Mon, 8 Apr 2013 23:12:50 GMT (envelope-from nobody) Message-Id: <201304082312.r38NCo33063865@red.freebsd.org> Date: Mon, 8 Apr 2013 23:12:50 GMT From: Jason Bacon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177724: New port: math/matlab-R2012a-installer X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 23:20:00 -0000 >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 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: