aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2016-10-05 09:55:59 +0800
committerstephen <stephen@FreeBSD.org>2016-10-05 09:55:59 +0800
commit5e2a4ad6c13a2ed60d317896a27fe8c6b5aab9ea (patch)
tree2b4d4bf57b3748d15027533c113c9dc1dd65c5f0 /math
parentb9c1a77e801a89affe2d1f49d5c11266bd87c59f (diff)
downloadfreebsd-ports-graphics-5e2a4ad6c13a2ed60d317896a27fe8c6b5aab9ea.tar.gz
freebsd-ports-graphics-5e2a4ad6c13a2ed60d317896a27fe8c6b5aab9ea.tar.zst
freebsd-ports-graphics-5e2a4ad6c13a2ed60d317896a27fe8c6b5aab9ea.zip
- Add LICENSE.
- Fix portlint errors.
Diffstat (limited to 'math')
-rw-r--r--math/octave-forge-image/Makefile5
-rw-r--r--math/octave-forge-image/files/patch-bwdist.cc6
2 files changed, 8 insertions, 3 deletions
diff --git a/math/octave-forge-image/Makefile b/math/octave-forge-image/Makefile
index 4c6287a8d3a..9b2397a4177 100644
--- a/math/octave-forge-image/Makefile
+++ b/math/octave-forge-image/Makefile
@@ -8,6 +8,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+LICENSE= Many
+LICENSE_NAME= Many different licenses
+LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
diff --git a/math/octave-forge-image/files/patch-bwdist.cc b/math/octave-forge-image/files/patch-bwdist.cc
index 13ac487ddbf..517a625f593 100644
--- a/math/octave-forge-image/files/patch-bwdist.cc
+++ b/math/octave-forge-image/files/patch-bwdist.cc
@@ -1,6 +1,6 @@
---- bwdist.cc-orig 2014-03-03 03:07:22.000000000 +0000
-+++ bwdist.cc 2014-03-03 03:07:36.000000000 +0000
-@@ -530,7 +530,7 @@
+--- bwdist.cc.orig 2015-08-07 12:34:57 UTC
++++ bwdist.cc
+@@ -538,7 +538,7 @@ Currently, only 2D images are supported.
// Compute optional 'index to closest object pixel', only if requested
if (nargout > 1)
{