From nobody@FreeBSD.org  Mon Apr  8 23:12:50 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 7270B34E
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <jwbacon@tds.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: math/matlab-R2012a-installer
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177724
>Category:       ports
>Synopsis:       New port: math/matlab-R2012a-installer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 08 23:20:00 UTC 2013
>Closed-Date:    Mon May 20 15:06:35 UTC 2013
>Last-Modified:  Mon May 20 15:10:00 UTC 2013
>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:

From: Jason Bacon <jwbacon@tds.net>
To: bug-followup@FreeBSD.org, jwbacon@tds.net
Cc:  
Subject: Re: ports/177724: New port: math/matlab-R2012a-installer
Date: Mon, 08 Apr 2013 21:00:49 -0500

 Oops, found a bug in the installer script, which I just fixed.  Please 
 run "make makesum" after unpacking the shar.
 
 Regards,
 
 -- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Jason W. Bacon
 jwbacon@tds.net
 http://personalpages.tds.net/~jwbacon
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: bsam 
Responsible-Changed-When: Mon May 20 14:12:23 UTC 2013 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177724 
State-Changed-From-To: open->closed 
State-Changed-By: bsam 
State-Changed-When: Mon May 20 15:06:34 UTC 2013 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177724 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177724: commit references a PR
Date: Mon, 20 May 2013 15:06:26 +0000 (UTC)

 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@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.
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
