diff options
author | obrien <obrien@FreeBSD.org> | 2004-12-05 06:47:45 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-12-05 06:47:45 +0800 |
commit | 88359c9b951a57c1e75e831827b7391fb2d57510 (patch) | |
tree | 62bd5363f73c36cc89fe504b8b2337239a30e0a6 /math | |
parent | 814404e296d230bc62a21fe278ec4efdc2f6518e (diff) | |
download | freebsd-ports-gnome-88359c9b951a57c1e75e831827b7391fb2d57510.tar.gz freebsd-ports-gnome-88359c9b951a57c1e75e831827b7391fb2d57510.tar.zst freebsd-ports-gnome-88359c9b951a57c1e75e831827b7391fb2d57510.zip |
Remove dependancy on REINPLACE.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-devel/Makefile | 8 | ||||
-rw-r--r-- | math/octave/Makefile | 8 |
2 files changed, 6 insertions, 10 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 diff --git a/math/octave/Makefile b/math/octave/Makefile index a06586b39246..835beaa4d40c 100644 --- a/math/octave/Makefile +++ b/math/octave/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 |