mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
fa3a17c064
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Categories P-S. CR: D422 Approved by: portmgr (bapt)
29 lines
640 B
Makefile
29 lines
640 B
Makefile
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= swapd
|
|
PORTVERSION= 1.0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.rkeene.org/files/oss/swapd/
|
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
|
COMMENT= Daemon that watches free memory and manages swap files
|
|
|
|
LIB_DEPENDS= libstatgrab.so:${PORTSDIR}/devel/libstatgrab
|
|
|
|
USES= gmake pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_RC_SUBR= swapd
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
post-install:
|
|
.for f in swapd_swapon swapd_swapoff
|
|
${INSTALL_SCRIPT} ${FILESDIR}/${f} ${STAGEDIR}${PREFIX}/sbin
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|