dd4ef0a2b7
In PR pkg/32398 with some tweaks from me. IPA is now a flexible general purpose accounting system; - Supports static and dynamic rules; - Support limits, sublimits and thresholds; - Works with external accounting modules; - Works with external database modules; - Works with external statistics modules; -Accounting per specified period of a week.
35 lines
864 B
Makefile
35 lines
864 B
Makefile
# $NetBSD: Makefile,v 1.1 2006/10/18 11:45:22 markd Exp $
|
|
#
|
|
|
|
DISTNAME= ipa-2.0.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://ipa-system.sourceforge.net/ \
|
|
http://www.mirrors.wiretapped.net/security/network-monitoring/ipa/ \
|
|
ftp://ftp.mirrors.wiretapped.net/pub/security/network-monitoring/ipa/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
|
|
HOMEPAGE= http://ipa-system.sourceforge.net/
|
|
COMMENT= Pluggable accounting system
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
RCD_SCRIPTS= ipa
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
|
|
RCD_SCRIPT_SRC.ipa= ${FILESDIR}/ipa.sh
|
|
.else
|
|
RCD_SCRIPT_SRC.ipa= ${WRKSRC}/etc/ipa.sh.sample
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
.include "options.mk"
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/src && ${MAKE} install
|
|
cd ${WRKSRC}/man && ${MAKE} install-am
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|