diff options
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.octave.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Mk/bsd.octave.mk b/Mk/bsd.octave.mk index 55c0435ca3a..c128905aab9 100644 --- a/Mk/bsd.octave.mk +++ b/Mk/bsd.octave.mk @@ -26,7 +26,7 @@ USES+= gmake DIST_SUBDIR= octave-forge OCTAVE_PKGNAME= ${PORTNAME:S/octave-forge-//} -TARBALLS_DIR= ${LOCALBASE}/share/octave/tarballs +TARBALLS_DIR= ${STAGEDIR}${PREFIX}/share/octave/tarballs MAKE_ENV+= PACKAGE=${WRKDIR}/${DISTNAME}.tar.gz @@ -36,11 +36,9 @@ 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 - ${LOAD_OCTAVE_PKG_CMD} 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} "@exec if [ -x ${LOAD_OCTAVE_PKG_CMD} ]; then ${LOAD_OCTAVE_PKG_CMD}; fi" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec if [ -x ${LOAD_OCTAVE_PKG_CMD} ]; then ${LOAD_OCTAVE_PKG_CMD}; fi" >> ${TMPPLIST} - @if [ -e ${.CURDIR}/pkg-message ]; then ${CAT} ${.CURDIR}/pkg-message; fi |