mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
01469d22ea
- Use new LIB_DEPENDS format - Stage support - Use @sample pkg-plist keyword PR: ports/189739 Approved by: portmgr (antoine)
28 lines
626 B
Makefile
28 lines
626 B
Makefile
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= swapd
|
|
PORTVERSION= 1.0.5
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.rkeene.org/files/oss/swapd/
|
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
|
COMMENT= A 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>
|