aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-base
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2015-10-04 01:33:49 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2015-10-04 01:33:49 +0000
commit4604233157b38ffdfb122874a67f8672a339d855 (patch)
treea4bd44b85f9e36673fd7521ac2d87e205b53103c /math/octave-forge-base
parentcc013ca6a460326a97a98d9dd59d94bed4f6a4bb (diff)
downloadports-4604233157b38ffdfb122874a67f8672a339d855.tar.gz
ports-4604233157b38ffdfb122874a67f8672a339d855.zip
- Add rmdir $prefix/lib/octave/packages to the end of the installation script.
This is because the octave packaging process can fail to delete this directory when it becomes empty. - Update to 1.3. Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru>
Notes
Notes: svn path=/head/; revision=398561
Diffstat (limited to 'math/octave-forge-base')
-rw-r--r--math/octave-forge-base/Makefile3
-rw-r--r--math/octave-forge-base/files/load-octave-pkg.in5
2 files changed, 6 insertions, 2 deletions
diff --git a/math/octave-forge-base/Makefile b/math/octave-forge-base/Makefile
index 085db2a42698..36d1062133ed 100644
--- a/math/octave-forge-base/Makefile
+++ b/math/octave-forge-base/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= octave-forge-base
-PORTVERSION= 1.2
-PORTREVISION= 6
+PORTVERSION= 1.3
CATEGORIES= math
MASTER_SITES= #none
DISTFILES= #none
diff --git a/math/octave-forge-base/files/load-octave-pkg.in b/math/octave-forge-base/files/load-octave-pkg.in
index 6e71ae6e08ed..3c305c6d723f 100644
--- a/math/octave-forge-base/files/load-octave-pkg.in
+++ b/math/octave-forge-base/files/load-octave-pkg.in
@@ -240,3 +240,8 @@ 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";
}
+
+# Remove directories that may have been left behind by the octave packaging
+# process.
+
+rmdir "$prefix/lib/octave/packages";