freebsd-ports/net-mgmt/ng_ipacct/Makefile
Eitan Adler 6776ef7ff8 For some unmaintained ports:
- fix format for pkg-descr
	- convert to OptionsNG
	- remove logic for older versions of python which we no longer support
	- remove option for old versions of FreeBSD
	- unconditionally set PORTDOCS
	- etc.

Reviewed by:	jgh
2013-04-24 17:00:20 +00:00

42 lines
954 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= ng_ipacct
PORTVERSION= 20061223
CATEGORIES= net-mgmt kld
MASTER_SITES= ${MASTER_SITE_LOCAL:S!$!skv/!} \
ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/kernel/ng_ipacct/
MAINTAINER= ports@FreeBSD.org
COMMENT= Netgraph IP accounting
.ifndef PACKAGE_BUILDING
NO_PACKAGE= Depends on kernel
.else
IGNORE= Depends on kernel
.endif
KMODDIR= /boot/modules
PLIST_SUB+= KMODDIR=${KMODDIR:S!^/!!}
MAKE_ENV= BINDIR="${PREFIX}/sbin" KMODDIR=${KMODDIR}
MAN8= ipacctctl.8
MANLANG= ru.KOI8-R
MANCOMPRESSED= yes
USE_RC_SUBR= ng_ipacct
SUB_FILES= pkg-message
CFLAGS+= -DMEM_USE_ZONE
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-install:
@${MKDIR} ${PREFIX}/include/netgraph
${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${PREFIX}/include/netgraph
${INSTALL_DATA} ${FILESDIR}/ng_ipacct.conf \
${PREFIX}/etc/ng_ipacct.conf.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>