diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2014-01-12 16:35:23 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2014-01-12 16:35:23 +0000 |
commit | b90d62cbfc15524401267ba503395dbe56ba0878 (patch) | |
tree | 6f58fe520cc98f01a5b1f35e4542a5a46734e55e /Mk/bsd.octave.mk | |
parent | a04d8f3d2871b8bf069ed7b1e690fb1c0646d101 (diff) | |
download | ports-b90d62cbfc15524401267ba503395dbe56ba0878.tar.gz ports-b90d62cbfc15524401267ba503395dbe56ba0878.zip |
Notes
Diffstat (limited to 'Mk/bsd.octave.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 55c0435ca3a2..c128905aab9e 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 |