Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 21:07:09 GMT
From:      Jason Bacon <jwbacon@tds.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184607: maintainer update: math/matlab-R2012a-installer + name change
Message-ID:  <201312082107.rB8L79Uw061914@oldred.freebsd.org>
Resent-Message-ID: <201312082110.rB8LA0wN060555@freefall.freebsd.org>

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

>Number:         184607
>Category:       ports
>Synopsis:       maintainer update: math/matlab-R2012a-installer + name change
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 08 21:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        10.0-BETA3
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD oyster.jbacon.dyndns.org 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257580: Sun Nov  3 19:43:01 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This upgrade generalizes the installer to handle any Matlab version, adds support for MEX compilation, adds a man page, and improves the user interface using auto-admin tools.
>How-To-Repeat:

>Fix:
Patch attached.

Patch attached with submission follows:

diff -ruN --exclude=CVS --exclude=.svn /usr/ports/math/matlab-R2012a-installer/Makefile /usr/wip/math/matlab-installer/Makefile
--- /usr/ports/math/matlab-R2012a-installer/Makefile	2013-09-20 15:55:04.000000000 -0500
+++ /usr/wip/math/matlab-installer/Makefile	2013-12-08 14:51:38.000000000 -0600
@@ -1,32 +1,37 @@
-# Created by: Jason Bacon
+# Created by: Jason Bacon <jwbacon@tds.net>
 # $FreeBSD: math/matlab-R2012a-installer/Makefile 327746 2013-09-20 20:55:04Z bapt $
 
-PORTNAME=	matlab-R2012a-installer
-PORTVERSION=	0.1
+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=	Mathworks(r) Matlab installation tool
+COMMENT=	Easy installation of Linux Matlab(r) on FreeBSD
 
+LICENSE=	BSD
+
+# Move devtools depend to USE_LINUX_APPS when possible
+RUN_DEPENDS=	mount_image:${PORTSDIR}/sysutils/diskimage-tools \
+		auto-ask:${PORTSDIR}/sysutils/auto-admin \
+		webbrowser:${PORTSDIR}/www/webbrowser \
+		${LINUXBASE}/usr/bin/gfortran:../../devel/linux-f10-devtools
+
+USE_XZ=		yes
 USE_LINUX=	yes
-USE_LINUX_APPS=	ncurses-base
+USE_LINUX_APPS=	ncurses-base dri
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 JAVA_OS=	linux
 JAVA_RUN=	yes
 
 NO_BUILD=	yes
-SUB_FILES=	pkg-message
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-post-install:
-	@${CAT} ${WRKDIR}/pkg-message
+	${MKDIR} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/matlab-installer.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/math/matlab-R2012a-installer/distinfo /usr/wip/math/matlab-installer/distinfo
--- /usr/ports/math/matlab-R2012a-installer/distinfo	2013-05-20 10:06:17.000000000 -0500
+++ /usr/wip/math/matlab-installer/distinfo	2013-12-08 14:35:43.000000000 -0600
@@ -1,2 +1,2 @@
-SHA256 (matlab-R2012a-installer-0.1.tar.gz) = 047888d53f5d2cce32598e45072693aa225cb1472b9196e521f541a3b73ba749
-SIZE (matlab-R2012a-installer-0.1.tar.gz) = 4706
+SHA256 (matlab-installer-0.2.tar.xz) = 461e694d6140000cb40350daa126ae0e8c9a1e3ee0defee8c84643460bf977b6
+SIZE (matlab-installer-0.2.tar.xz) = 6668
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/math/matlab-R2012a-installer/files/pkg-message.in /usr/wip/math/matlab-installer/files/pkg-message.in
--- /usr/ports/math/matlab-R2012a-installer/files/pkg-message.in	2013-05-20 10:06:17.000000000 -0500
+++ /usr/wip/math/matlab-installer/files/pkg-message.in	1969-12-31 18:00:00.000000000 -0600
@@ -1,20 +0,0 @@
-====================================================================
-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.
-====================================================================
diff -ruN --exclude=CVS --exclude=.svn /usr/ports/math/matlab-R2012a-installer/pkg-descr /usr/wip/math/matlab-installer/pkg-descr
--- /usr/ports/math/matlab-R2012a-installer/pkg-descr	2013-05-20 10:06:17.000000000 -0500
+++ /usr/wip/math/matlab-installer/pkg-descr	2013-12-08 14:50:44.000000000 -0600
@@ -1,5 +1,8 @@
-This port installs the prerequisites for Mathworks (r) Matlab R2012a for Linux
-and an installer script matlab-2012a-installer, which automates the somewhat
+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.
 
-It requires installation media and a license file from Mathworks, Inc.
+Installing Matlab requires Matlab installation media and a license file and
+installation key from Mathworks, Inc.
+
+WWW: http://acadix.biz/matlab-installer.php


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



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