svn commit: r399309 - head/sysutils/swapmon
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 14 23:50:46 UTC 2015
Author: amdmi3
Date: Wed Oct 14 23:50:44 2015
New Revision: 399309
URL: https://svnweb.freebsd.org/changeset/ports/399309
Log:
- Add NO_ARCH
- Convert Makefile echo's to pkg-message
Added:
head/sysutils/swapmon/pkg-message (contents, props changed)
Modified:
head/sysutils/swapmon/Makefile
Modified: head/sysutils/swapmon/Makefile
==============================================================================
--- head/sysutils/swapmon/Makefile Wed Oct 14 23:50:32 2015 (r399308)
+++ head/sysutils/swapmon/Makefile Wed Oct 14 23:50:44 2015 (r399309)
@@ -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>
Added: head/sysutils/swapmon/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/swapmon/pkg-message Wed Oct 14 23:50:44 2015 (r399309)
@@ -0,0 +1,4 @@
+To have swapmon run automatically after each boot,
+add the following line to /etc/rc.conf:
+
+ swapmon_enable="YES"
More information about the svn-ports-head
mailing list