mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Add NO_ARCH
- Convert Makefile echo's to pkg-message
This commit is contained in:
parent
805afc059b
commit
e7e11d047b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399309
@ -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>
|
||||
|
4
sysutils/swapmon/pkg-message
Normal file
4
sysutils/swapmon/pkg-message
Normal file
@ -0,0 +1,4 @@
|
||||
To have swapmon run automatically after each boot,
|
||||
add the following line to /etc/rc.conf:
|
||||
|
||||
swapmon_enable="YES"
|
Loading…
Reference in New Issue
Block a user