1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Remove dependancy on REINPLACE.

This commit is contained in:
David E. O'Brien 2004-12-04 22:47:45 +00:00
parent 1b74ed420c
commit 02588391df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123147
2 changed files with 6 additions and 10 deletions

View File

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

View File

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