summaryrefslogtreecommitdiff
path: root/sysutils/scprotect/Makefile
blob: 226c2791cb8734e780ccd09d368a7e2fb190e0d3 (plain)
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
# Created by: Denis Barov  <dindin@dindin.ru>
# $FreeBSD$

PORTNAME=	scprotect
PORTVERSION=	20091116
CATEGORIES=	sysutils kld
MASTER_SITES=	http://dindin.ru/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Protect process from killing when the swap space is exhausted

USES=		kmod uidfix

WRKSRC=		${WRKDIR}/${PORTNAME}

CFLAGS+=	-DWITH_SCPROTECT_LIST

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 1100000
BROKEN=		does not build on 11.x
.endif

post-extract:
	@cd ${WRKSRC}/kmod && ${RM} machine

.include <bsd.port.post.mk>