From 234b2dcb2611c28673332d3135d58f8b494dd563 Mon Sep 17 00:00:00 2001 From: maho Date: Sun, 9 Jul 2006 02:02:27 +0000 Subject: octave executable is now installed under libexec, so that we can install multiple versions of octaves. (esp for upcoming math/octave-devel port) --- math/octave-devel/Makefile | 2 ++ math/octave-devel/files/octave.in | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'math/octave-devel') 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 "$@" -- cgit