diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 23:27:15 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 23:27:15 +0800 |
commit | 7d2e11c39bf4e7e76b972c2a3f61a0b49dc6d7be (patch) | |
tree | a378d62fdf390d9db4795a88b6b290daf1fa3821 /sysutils/swapmon | |
parent | 3b12c73741b3d73b78f205d5a2fb87aa96f0542a (diff) | |
download | freebsd-ports-gnome-7d2e11c39bf4e7e76b972c2a3f61a0b49dc6d7be.tar.gz freebsd-ports-gnome-7d2e11c39bf4e7e76b972c2a3f61a0b49dc6d7be.tar.zst freebsd-ports-gnome-7d2e11c39bf4e7e76b972c2a3f61a0b49dc6d7be.zip |
Support staging
Diffstat (limited to 'sysutils/swapmon')
-rw-r--r-- | sysutils/swapmon/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/swapmon/Makefile b/sysutils/swapmon/Makefile index 61fd9e8b511e..82da90a0b6b4 100644 --- a/sysutils/swapmon/Makefile +++ b/sysutils/swapmon/Makefile @@ -13,18 +13,20 @@ COMMENT= Add/remove swapspace as needed LICENSE= BSD NO_BUILD= yes -MAN1= ${PORTNAME}.1 USE_RC_SUBR= ${PORTNAME} -PLIST_FILES= sbin/${PORTNAME} +PLIST_FILES= sbin/swapmon man/man1/swapmon.1.gz -NO_STAGE= yes -do-install: +post-extract: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/${PORTNAME}.sh.in \ > ${WRKDIR}/${PORTNAME}.sh - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/sbin/${PORTNAME} - ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${PREFIX}/man/man1 + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \ + ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1 post-install: @${ECHO_MSG} "" |