summaryrefslogtreecommitdiff
path: root/net/ng_car/Makefile
blob: 7903f57d7a0b29f746db31701a734a7a965d78c2 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	ng_car
# Date Created:				Sep 26, 2005
# Whom:					Nuno Antunes <nuno.antunes@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	ng_car
PORTVERSION=	0.5
CATEGORIES=	net kld
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	mpd

MAINTAINER=	mav@FreeBSD.org
COMMENT=	Netgraph committed access rate node

NO_PACKAGE=	Should be in sync with the kernel to work correctly

KMODDIR?=	/boot/modules
PLIST_SUB=	KMODDIR=${KMODDIR}
MAKE_ENV+=	KMODDIR="${KMODDIR}"

MAN4=		ng_car.4
MANCOMPRESSED=	yes

.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE=	this port requires kernel sources
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700041
IGNORE=	already exists in base system
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>