diff options
author | Maho Nakata <maho@FreeBSD.org> | 2006-07-09 02:02:27 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2006-07-09 02:02:27 +0000 |
commit | 87fff5f7bf0e09e8e7550935d1ed83c6d12e6711 (patch) | |
tree | 0f6972f32a4627d70512cf7892818388978afed1 /math/octave | |
parent | Now blas part can be replaceable. (diff) |
octave executable is now installed under libexec,
so that we can install multiple versions of octaves.
(esp for upcoming math/octave-devel port)
Notes
Notes:
svn path=/head/; revision=167245
Diffstat (limited to 'math/octave')
-rw-r--r-- | math/octave/Makefile | 2 | ||||
-rw-r--r-- | math/octave/files/octave.in | 4 |
2 files changed, 4 insertions, 2 deletions
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 "$@" |