2005-10-08 18:54:22 +00:00
|
|
|
# New ports collection makefile for: ng_car
|
|
|
|
# Date Created: Sep 26, 2005
|
|
|
|
# Whom: Nuno Antunes <nuno.antunes@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ng_car
|
2008-04-07 12:26:56 +00:00
|
|
|
PORTVERSION= 0.6
|
2007-06-29 09:16:42 +00:00
|
|
|
CATEGORIES= net kld
|
2007-03-12 14:35:30 +00:00
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= mpd
|
2005-10-08 18:54:22 +00:00
|
|
|
|
2007-07-06 07:35:54 +00:00
|
|
|
MAINTAINER= mav@FreeBSD.org
|
2005-10-08 18:54:22 +00:00
|
|
|
COMMENT= Netgraph committed access rate node
|
|
|
|
|
|
|
|
NO_PACKAGE= Should be in sync with the kernel to work correctly
|
|
|
|
|
2007-07-06 07:35:54 +00:00
|
|
|
KMODDIR?= /boot/modules
|
2005-10-08 18:54:22 +00:00
|
|
|
PLIST_SUB= KMODDIR=${KMODDIR}
|
2007-07-06 07:35:54 +00:00
|
|
|
MAKE_ENV+= KMODDIR="${KMODDIR}"
|
2005-10-08 18:54:22 +00:00
|
|
|
|
|
|
|
MAN4= ng_car.4
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
2007-07-06 07:35:54 +00:00
|
|
|
IGNORE= this port requires kernel sources
|
2005-10-08 18:54:22 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-06-02 12:48:58 +00:00
|
|
|
.if ${OSVERSION} >= 700041
|
2007-07-06 07:35:54 +00:00
|
|
|
IGNORE= already exists in base system
|
2005-10-08 18:54:22 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|