2000-12-19 12:12:04 +01:00
|
|
|
# New ports collection makefile for: ipa
|
|
|
|
# Date created: 2 December 2000
|
|
|
|
# Whom: Andrey Simonenko
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ipa
|
2011-11-19 16:13:27 +01:00
|
|
|
PORTVERSION= 2.1.1
|
2000-12-19 12:12:04 +01:00
|
|
|
CATEGORIES= sysutils
|
2010-03-15 16:49:40 +01:00
|
|
|
MASTER_SITES= SF/ipa-system
|
2000-12-19 12:12:04 +01:00
|
|
|
|
2003-02-28 14:38:50 +01:00
|
|
|
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
|
2005-12-24 15:02:14 +01:00
|
|
|
COMMENT= Pluggable accounting system
|
2000-12-19 12:12:04 +01:00
|
|
|
|
2011-11-19 16:13:27 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2005-12-24 15:02:14 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-04-12 20:11:36 +02:00
|
|
|
USE_RC_SUBR= ipa
|
2003-07-10 10:53:06 +02:00
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
NO_OPTIONS_SORT= yes
|
|
|
|
OPTIONS_DEFINE= AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS CTL_CREDS
|
|
|
|
OPTIONS_DEFAULT= AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS
|
|
|
|
AUTORULES_DESC= Enable dynamic rules support
|
|
|
|
RULES_DESC= Enable static rules support
|
|
|
|
LIMITS_DESC= Enable limits support
|
|
|
|
SUBLIMITS_DESC= Enable sublimits support
|
|
|
|
THRESHOLDS_DESC= Enable thresholds support
|
|
|
|
CTL_CREDS_DESC= Enable ipactl's messages credentials
|
2000-12-19 12:12:04 +01:00
|
|
|
|
2010-12-16 11:09:08 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2002-10-30 21:47:14 +01:00
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MAUTORULES)
|
2005-12-24 15:02:14 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-autorules
|
|
|
|
.endif
|
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MRULES)
|
2005-12-24 15:02:14 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-rules
|
|
|
|
.endif
|
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MLIMITS)
|
2005-12-24 15:02:14 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-limits
|
2005-11-08 20:29:01 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MSUBLIMITS)
|
2005-12-24 15:02:14 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-sublimits
|
2005-11-08 20:29:01 +01:00
|
|
|
.endif
|
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MTHRESHOLDS)
|
2005-12-24 15:02:14 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-thresholds
|
2002-10-30 21:47:14 +01:00
|
|
|
.endif
|
2005-12-24 15:02:14 +01:00
|
|
|
|
2012-06-07 03:16:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MCTL_CREDS}
|
2006-04-12 20:11:36 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-ctl-creds
|
2002-10-30 21:47:14 +01:00
|
|
|
.endif
|
2005-12-24 15:02:14 +01:00
|
|
|
|
2011-02-12 19:00:47 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
PLIST_FILES= bin/ipa bin/ipactl bin/ipastat include/ipa_mod.h
|
|
|
|
|
2005-12-24 15:02:14 +01:00
|
|
|
MAN3= ipa_mod.3
|
|
|
|
MAN5= ipa.conf.5 ipastat.conf.5
|
|
|
|
MAN8= ipa.8 ipactl.8 ipastat.8
|
2010-12-16 11:09:08 +01:00
|
|
|
MANLANG= "" ru.KOI8-R
|
2005-12-24 15:02:14 +01:00
|
|
|
|
2011-02-12 19:00:47 +01:00
|
|
|
.include <bsd.port.post.mk>
|