diff options
author | stephen <stephen@FreeBSD.org> | 2014-01-13 06:39:23 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2014-01-13 06:39:23 +0800 |
commit | 19262627a17446af10e1c69173460638e6c7a38e (patch) | |
tree | 1e3351e57bdf184f507168002bcc922e6c0556e9 /Mk/bsd.octave.mk | |
parent | a44d489f1d9046a4fd633eb669970a71c51c6d62 (diff) | |
download | freebsd-ports-gnome-19262627a17446af10e1c69173460638e6c7a38e.tar.gz freebsd-ports-gnome-19262627a17446af10e1c69173460638e6c7a38e.tar.zst freebsd-ports-gnome-19262627a17446af10e1c69173460638e6c7a38e.zip |
- Fix errors created when staging was implemented.
Diffstat (limited to 'Mk/bsd.octave.mk')
-rw-r--r-- | Mk/bsd.octave.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Mk/bsd.octave.mk b/Mk/bsd.octave.mk index c128905aab9e..e858e69c5d44 100644 --- a/Mk/bsd.octave.mk +++ b/Mk/bsd.octave.mk @@ -26,19 +26,20 @@ USES+= gmake DIST_SUBDIR= octave-forge OCTAVE_PKGNAME= ${PORTNAME:S/octave-forge-//} -TARBALLS_DIR= ${STAGEDIR}${PREFIX}/share/octave/tarballs +TARBALLS_DIR= ${LOCALBASE}/share/octave/tarballs +INSTALL_TARBALLS_DIR= ${STAGEDIR}${PREFIX}/share/octave/tarballs MAKE_ENV+= PACKAGE=${WRKDIR}/${DISTNAME}.tar.gz LOAD_OCTAVE_PKG_CMD= ${LOCALBASE}/libexec/octave/load-octave-pkg do-install: - ${MKDIR} ${TARBALLS_DIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}.tar.gz ${TARBALLS_DIR}/. - ${LN} -s -f ${DISTNAME}.tar.gz ${TARBALLS_DIR}/${OCTAVE_PKGNAME}.tar.gz + ${MKDIR} ${INSTALL_TARBALLS_DIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}.tar.gz ${INSTALL_TARBALLS_DIR}/. + ${LN} -s -f ${DISTNAME}.tar.gz ${INSTALL_TARBALLS_DIR}/${OCTAVE_PKGNAME}.tar.gz post-install: - @${ECHO_CMD} "@unexec if [ -x ${LOAD_OCTAVE_PKG_CMD} ]; then ${LOAD_OCTAVE_PKG_CMD}; fi" >> ${TMPPLIST} @${ECHO_CMD} "share/octave/tarballs/${DISTNAME}.tar.gz" >> ${TMPPLIST} @${ECHO_CMD} "share/octave/tarballs/${OCTAVE_PKGNAME}.tar.gz" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec if [ -x ${LOAD_OCTAVE_PKG_CMD} ]; then ${LOAD_OCTAVE_PKG_CMD}; fi" >> ${TMPPLIST} @${ECHO_CMD} "@exec if [ -x ${LOAD_OCTAVE_PKG_CMD} ]; then ${LOAD_OCTAVE_PKG_CMD}; fi" >> ${TMPPLIST} |