blob: 7dc6a07649e7271c93580379de6399f75426cf29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= swapd
PORTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rkeene.org/files/oss/swapd/source/
MAINTAINER= leeym@FreeBSD.org
COMMENT= A daemon that watches free memory and manages swap files
LIB_DEPENDS= statgrab:${PORTSDIR}/devel/libstatgrab
USES= gmake pkgconfig
GNU_CONFIGURE= yes
USE_RC_SUBR= swapd
MAN5= swapd.conf.5
MAN8= swapd.8
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} ${PREFIX}/sbin
.endfor
.include <bsd.port.mk>
|