diff options
author | stephen <stephen@FreeBSD.org> | 2014-01-13 00:35:23 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2014-01-13 00:35:23 +0800 |
commit | 34158f7171c303f33667a7564a66e96a286e638a (patch) | |
tree | 6f58fe520cc98f01a5b1f35e4542a5a46734e55e /Mk/bsd.octave.mk | |
parent | e78ad73406a13bbaa2ea27f37057a9e73897d77f (diff) | |
download | freebsd-ports-gnome-34158f7171c303f33667a7564a66e96a286e638a.tar.gz freebsd-ports-gnome-34158f7171c303f33667a7564a66e96a286e638a.tar.zst freebsd-ports-gnome-34158f7171c303f33667a7564a66e96a286e638a.zip |
- Implement staging for octave-forge ports.
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 |