2005-10-08 20:54:22 +02: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 14:26:56 +02:00
|
|
|
PORTVERSION= 0.6
|
2007-06-29 11:16:42 +02:00
|
|
|
CATEGORIES= net kld
|
2007-03-12 15:35:30 +01:00
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= mpd
|
2005-10-08 20:54:22 +02:00
|
|
|
|
2007-07-06 09:35:54 +02:00
|
|
|
MAINTAINER= mav@FreeBSD.org
|
2005-10-08 20:54:22 +02:00
|
|
|
COMMENT= Netgraph committed access rate node
|
|
|
|
|
|
|
|
NO_PACKAGE= Should be in sync with the kernel to work correctly
|
|
|
|
|
2007-07-06 09:35:54 +02:00
|
|
|
KMODDIR?= /boot/modules
|
2005-10-08 20:54:22 +02:00
|
|
|
PLIST_SUB= KMODDIR=${KMODDIR}
|
2007-07-06 09:35:54 +02:00
|
|
|
MAKE_ENV+= KMODDIR="${KMODDIR}"
|
2005-10-08 20:54:22 +02:00
|
|
|
|
|
|
|
MAN4= ng_car.4
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
2007-07-06 09:35:54 +02:00
|
|
|
IGNORE= this port requires kernel sources
|
2005-10-08 20:54:22 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-06-02 14:48:58 +02:00
|
|
|
.if ${OSVERSION} >= 700041
|
2007-07-06 09:35:54 +02:00
|
|
|
IGNORE= already exists in base system
|
2005-10-08 20:54:22 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|