aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-optiminterp
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2011-06-14 22:36:40 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2011-06-14 22:36:40 +0000
commit2ed4a20478ad18be70e9b65c78fddf79e816e1cf (patch)
treeaeccbfff60c1d226e0e05954ded637093b0fe356 /math/octave-forge-optiminterp
parent303c89a1fd2edd0df6a8dbc1a04d46693c6770d9 (diff)
downloadports-2ed4a20478ad18be70e9b65c78fddf79e816e1cf.tar.gz
ports-2ed4a20478ad18be70e9b65c78fddf79e816e1cf.zip
Notes
Diffstat (limited to 'math/octave-forge-optiminterp')
-rw-r--r--math/octave-forge-optiminterp/Makefile12
-rw-r--r--math/octave-forge-optiminterp/distinfo4
-rw-r--r--math/octave-forge-optiminterp/files/patch-Makefile14
3 files changed, 25 insertions, 5 deletions
diff --git a/math/octave-forge-optiminterp/Makefile b/math/octave-forge-optiminterp/Makefile
index 50ce098abf5c..5bc2c36c31e3 100644
--- a/math/octave-forge-optiminterp/Makefile
+++ b/math/octave-forge-optiminterp/Makefile
@@ -6,14 +6,20 @@
#
PORTNAME= octave-forge-optiminterp
-PORTVERSION= 0.3.2
-PORTREVISION= 3
+PORTVERSION= 0.3.3
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
-GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk"
+
+MAKE_ENV+= MKOCTFILE_FORTRAN_90=yes MKOCTFILE=mkoctfile
+
+post-build:
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME}
+
.include <bsd.port.post.mk>
diff --git a/math/octave-forge-optiminterp/distinfo b/math/octave-forge-optiminterp/distinfo
index 1ad1d9aafe2b..0a6dec6935ff 100644
--- a/math/octave-forge-optiminterp/distinfo
+++ b/math/octave-forge-optiminterp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (octave-forge/optiminterp-0.3.2.tar.gz) = 6f3ad34ffa85ca9423582557389b6fb1fe131b9c946ed7307061d38663a5d2fb
-SIZE (octave-forge/optiminterp-0.3.2.tar.gz) = 67135
+SHA256 (octave-forge/optiminterp-0.3.3.tar.gz) = cad5e1d6a32eb685a1a3a69fec9bbe3446d2837cb120dc099f4d532418f63129
+SIZE (octave-forge/optiminterp-0.3.3.tar.gz) = 86859
diff --git a/math/octave-forge-optiminterp/files/patch-Makefile b/math/octave-forge-optiminterp/files/patch-Makefile
new file mode 100644
index 000000000000..7d32388f4fdf
--- /dev/null
+++ b/math/octave-forge-optiminterp/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig 2011-06-14 15:21:39.000000000 +0000
++++ Makefile 2011-06-14 15:22:21.000000000 +0000
+@@ -7,6 +7,11 @@
+
+ TARGETS=optiminterp.oct
+
++# Rule for compiling C++ programs
++
++%.o: %.cc
++ $(MKOCTFILE) -c $<
++
+ # Rule for compiling Fortran 90 programs
+
+ %.o: %.F90