30 lines
614 B
Makefile
30 lines
614 B
Makefile
# 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 ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
|
|
BROKEN= does not build on FreeBSD 11.x+
|
|
.endif
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC}/kmod && ${RM} machine
|
|
|
|
post-install:
|
|
@${RM} -r ${STAGEDIR}/usr/lib/debug
|
|
|
|
.include <bsd.port.post.mk>
|