svn commit: r405979 - in head/math/octave-forge-base: . files
Stephen Montgomery-Smith
stephen at FreeBSD.org
Wed Jan 13 01:19:35 UTC 2016
Author: stephen
Date: Wed Jan 13 01:19:33 2016
New Revision: 405979
URL: https://svnweb.freebsd.org/changeset/ports/405979
Log:
- Update to 1.4. The only change is to call octave-cli instead of octave.
Modified:
head/math/octave-forge-base/Makefile
head/math/octave-forge-base/files/load-octave-pkg.in
Modified: head/math/octave-forge-base/Makefile
==============================================================================
--- head/math/octave-forge-base/Makefile Wed Jan 13 01:10:57 2016 (r405978)
+++ head/math/octave-forge-base/Makefile Wed Jan 13 01:19:33 2016 (r405979)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= octave-forge-base
-PORTVERSION= 1.3
+PORTVERSION= 1.4
CATEGORIES= math
MASTER_SITES= #none
DISTFILES= #none
Modified: head/math/octave-forge-base/files/load-octave-pkg.in
==============================================================================
--- head/math/octave-forge-base/files/load-octave-pkg.in Wed Jan 13 01:10:57 2016 (r405978)
+++ head/math/octave-forge-base/files/load-octave-pkg.in Wed Jan 13 01:19:33 2016 (r405979)
@@ -17,7 +17,7 @@ use File::Remove qw(remove);
# Interrogate octave to see where it stores its packages.
-open(OCTAVE,"octave -H -q --no-site-file --eval \"pkg('prefix');pkg('global_list')\" |") || die;
+open(OCTAVE,"octave-cli -H -q --no-site-file --eval \"pkg('prefix');pkg('global_list')\" |") || die;
my $install_prefix = <OCTAVE> || die;
chomp $install_prefix;
$install_prefix =~ s/.*\s+//;
@@ -76,7 +76,7 @@ while (my $p = <$install_prefix/*>) {
# out everything.
my %check_installed;
-open(OCTAVE,"octave -H -q --no-site-file --eval \"pkg('list')\" |") || die;
+open(OCTAVE,"octave-cli -H -q --no-site-file --eval \"pkg('list')\" |") || die;
<OCTAVE>;
my $out = join "",<OCTAVE>;
while ($out =~ s/^\s*(\S+)\s*\|\s*(\S+).*$//m) {
@@ -158,7 +158,7 @@ if ($nr_to_remove>0) {
foreach my $p (@ordered_list_to_remove) {
print "load-octave-pkg: octave is uninstalling $p.\n";
$p =~ s/\-[\d\.]+\.tar\.gz//;
- system "octave -H -q --no-site-file --eval \"pkg('uninstall','$p')\" > /dev/null";
+ system "octave-cli -H -q --no-site-file --eval \"pkg('uninstall','$p')\" > /dev/null";
}
}
@@ -238,7 +238,7 @@ make_ordered_list_to_install(join("|",so
foreach my $p (@ordered_list_to_install) {
print "load-octave-pkg: octave is installing $p.\n";
- system "octave -H -q --no-site-file --eval \"pkg('install','$tardir/$p')\" > /dev/null\n";
+ system "octave-cli -H -q --no-site-file --eval \"pkg('install','$tardir/$p')\" > /dev/null\n";
}
# Remove directories that may have been left behind by the octave packaging
More information about the svn-ports-head
mailing list