octave executable is now installed under libexec,

so that we can install multiple versions of octaves.
(esp for upcoming math/octave-devel port)
This commit is contained in:
Maho Nakata 2006-07-09 02:02:27 +00:00
parent 959d82bd5b
commit 87fff5f7bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167245
4 changed files with 8 additions and 4 deletions

View file

@ -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}

View file

@ -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 "$@"

View file

@ -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}

View file

@ -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 "$@"