mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
df9e790904
Hat: portmgr
38 lines
748 B
Makefile
38 lines
748 B
Makefile
# New ports collection Makefile for: scprotect
|
|
# Date created: 5 Feb 2009
|
|
# Whom: 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
|
|
|
|
NO_PACKAGE= Needs to be compiled for specific kernel
|
|
|
|
KMODDIR?= /boot/modules
|
|
SRC_BASE?= /usr/src
|
|
|
|
PLIST_SUB= KMODDIR=${KMODDIR}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAKE_ENV+= KMODDIR=${KMODDIR}
|
|
CFLAGS+=-DWITH_SCPROTECT_LIST
|
|
|
|
#MAN4= scprotect.4
|
|
#MANCOMPRESSED= yes
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= requires kernel sources
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|