1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/swapd/Makefile
Tim Bishop 01469d22ea - Fix build with libstatgrab 0.90 by upgrading to 1.0.5
- Use new LIB_DEPENDS format
- Stage support
- Use @sample pkg-plist keyword

PR:		ports/189739
Approved by:	portmgr (antoine)
2014-05-24 15:39:56 +00:00

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>