aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-07-09 10:02:27 +0800
committermaho <maho@FreeBSD.org>2006-07-09 10:02:27 +0800
commit234b2dcb2611c28673332d3135d58f8b494dd563 (patch)
treeb64511cb40a1626d195d92203931a623cf513493 /math
parent78c49a07dae615034a4fa2ab56029d62414a1bcb (diff)
downloadfreebsd-ports-gnome-234b2dcb2611c28673332d3135d58f8b494dd563.tar.gz
freebsd-ports-gnome-234b2dcb2611c28673332d3135d58f8b494dd563.tar.zst
freebsd-ports-gnome-234b2dcb2611c28673332d3135d58f8b494dd563.zip
octave executable is now installed under libexec,
so that we can install multiple versions of octaves. (esp for upcoming math/octave-devel port)
Diffstat (limited to 'math')
-rw-r--r--math/octave-devel/Makefile2
-rw-r--r--math/octave-devel/files/octave.in4
-rw-r--r--math/octave/Makefile2
-rw-r--r--math/octave/files/octave.in4
4 files changed, 8 insertions, 4 deletions
diff --git a/math/octave-devel/Makefile b/math/octave-devel/Makefile
index 2dfecb1d736b..fbb8a833a74a 100644
--- a/math/octave-devel/Makefile
+++ b/math/octave-devel/Makefile
@@ -56,7 +56,9 @@ CONFIGURE_ARGS+= --disable-readline
.endif
post-install:
+ ${MV} ${PREFIX}/bin/octave-${OCTAVE_VERSION} ${PREFIX}/libexec/octave/${OCTAVE_VERSION}
${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin/octave-${OCTAVE_VERSION}
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/liboctave.info ${PREFIX}/info
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/math/octave-devel/files/octave.in b/math/octave-devel/files/octave.in
index 02b15598e3da..30deeea52e4f 100644
--- a/math/octave-devel/files/octave.in
+++ b/math/octave-devel/files/octave.in
@@ -1,8 +1,8 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/math/octave-devel/files/octave.in,v 1.1 2005-05-26 17:32:40 jylefort Exp $
+# $FreeBSD: /tmp/pcvs/ports/math/octave-devel/files/octave.in,v 1.2 2006-07-09 02:02:27 maho Exp $
-OCTAVE_EXEC=%%PREFIX%%/bin/octave-%%OCTAVE_VERSION%%
+OCTAVE_EXEC=%%PREFIX%%/libexec/octave/%%OCTAVE_VERSION%%/octave-%%OCTAVE_VERSION%%
LD_LIBRARY_PATH=%%PREFIX%%/lib/octave-%%OCTAVE_VERSION%%; export LD_LIBRARY_PATH
exec $OCTAVE_EXEC "$@"
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 2dfecb1d736b..fbb8a833a74a 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -56,7 +56,9 @@ CONFIGURE_ARGS+= --disable-readline
.endif
post-install:
+ ${MV} ${PREFIX}/bin/octave-${OCTAVE_VERSION} ${PREFIX}/libexec/octave/${OCTAVE_VERSION}
${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin/octave-${OCTAVE_VERSION}
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/liboctave.info ${PREFIX}/info
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/math/octave/files/octave.in b/math/octave/files/octave.in
index a954e720d141..3137cfd614bd 100644
--- a/math/octave/files/octave.in
+++ b/math/octave/files/octave.in
@@ -1,8 +1,8 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/math/octave/files/Attic/octave.in,v 1.1 2005-05-26 17:32:40 jylefort Exp $
+# $FreeBSD: /tmp/pcvs/ports/math/octave/files/Attic/octave.in,v 1.2 2006-07-09 02:02:27 maho Exp $
-OCTAVE_EXEC=%%PREFIX%%/bin/octave-%%OCTAVE_VERSION%%
+OCTAVE_EXEC=%%PREFIX%%/libexec/octave/%%OCTAVE_VERSION%%/octave-%%OCTAVE_VERSION%%
LD_LIBRARY_PATH=%%PREFIX%%/lib/octave-%%OCTAVE_VERSION%%; export LD_LIBRARY_PATH
exec $OCTAVE_EXEC "$@"