diff --git a/sysutils/swapmon/Makefile b/sysutils/swapmon/Makefile index 28d5287ae619..425764336e9d 100644 --- a/sysutils/swapmon/Makefile +++ b/sysutils/swapmon/Makefile @@ -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 diff --git a/sysutils/swapmon/pkg-message b/sysutils/swapmon/pkg-message new file mode 100644 index 000000000000..ce3c7c5833a6 --- /dev/null +++ b/sysutils/swapmon/pkg-message @@ -0,0 +1,4 @@ +To have swapmon run automatically after each boot, +add the following line to /etc/rc.conf: + + swapmon_enable="YES"