freebsd-ports/sysutils/swapd/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

28 lines
628 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: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>