1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Add NO_ARCH

- Convert Makefile echo's to pkg-message
This commit is contained in:
Dmitry Marakasov 2015-10-14 23:50:44 +00:00
parent 805afc059b
commit e7e11d047b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399309
2 changed files with 5 additions and 8 deletions

View File

@ -13,6 +13,7 @@ COMMENT= Add/remove swapspace as needed
LICENSE= BSD2CLAUSE
NO_BUILD= yes
NO_ARCH= yes
USE_RC_SUBR= ${PORTNAME}
@ -28,12 +29,4 @@ do-install:
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
post-install:
@${ECHO_MSG} ""
@${ECHO_MSG} "To have swapmon run automatically after each boot"
@${ECHO_MSG} "execute the following command as root:"
@${ECHO_MSG} ""
@${ECHO_MSG} " echo '${PORTNAME}_enable=\"YES\"' >>/etc/rc.conf"
@${ECHO_MSG} ""
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
To have swapmon run automatically after each boot,
add the following line to /etc/rc.conf:
swapmon_enable="YES"