aboutsummaryrefslogtreecommitdiff
path: root/math/octave-devel
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-12-04 22:47:45 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-12-04 22:47:45 +0000
commit02588391df7e4f97941e9db5bc45086302f79043 (patch)
treee960013abc29b87e884d33451a45c0f026ab64d9 /math/octave-devel
parent1b74ed420c4dd36b4e27b7813d5542c247447335 (diff)
downloadports-02588391df7e4f97941e9db5bc45086302f79043.tar.gz
ports-02588391df7e4f97941e9db5bc45086302f79043.zip
Notes
Diffstat (limited to 'math/octave-devel')
-rw-r--r--math/octave-devel/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/math/octave-devel/Makefile b/math/octave-devel/Makefile
index a06586b39246..835beaa4d40c 100644
--- a/math/octave-devel/Makefile
+++ b/math/octave-devel/Makefile
@@ -39,7 +39,6 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST}
BLAS_LIBS= "-L${LOCALBASE}/lib -lf77blas -lcblas -latlas"
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
CONFIGURE_ARGS= --host=${GNU_HOST} \
--with-fftw --with-blas=${BLAS_LIBS} --with-lapack=-lalapack \
@@ -63,11 +62,10 @@ post-extract:
@${RM} -f ${WRKSRC}/doc/interpreter/octave.info*
@${RM} -f ${WRKSRC}/doc/liboctave/liboctave.info*
post-install:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g ; \
+ s,%%OCTAVE_VERSION%%,${OCTAVE_VERSION},g' \
+ ${FILESDIR}/octave > ${WRKDIR}/octave
${RM} ${PREFIX}/bin/octave
- @${CP} ${FILESDIR}/octave ${WRKDIR}
- @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g ; \
- s,%%OCTAVE_VERSION%%,${OCTAVE_VERSION},g' \
- ${WRKDIR}/octave
${INSTALL_SCRIPT} ${WRKDIR}/octave ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doc/liboctave/liboctave.info ${PREFIX}/info
install-info --entry='* Octave: (octave). Interactive language for numerical computations.' $(PREFIX)/info/octave.info $(PREFIX)/info/dir