1 # Created by: Andrey Simonenko
7 MASTER_SITES= SF/ipa-system
9 MAINTAINER= sysutils/ipa
10 COMMENT= Pluggable accounting system
19 OPTIONS_DEFINE= AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS CTL_CREDS
20 OPTIONS_DEFAULT= AUTORULES RULES LIMITS SUBLIMITS THRESHOLDS
21 AUTORULES_DESC= Enable dynamic rules support
22 RULES_DESC= Enable static rules support
23 LIMITS_DESC= Enable limits support
24 SUBLIMITS_DESC= Enable sublimits support
25 THRESHOLDS_DESC= Enable thresholds support
26 CTL_CREDS_DESC= Enable ipactl's messages credentials
28 .include <bsd.port.options.mk>
30 .if empty(PORT_OPTIONS:MAUTORULES)
31 CONFIGURE_ARGS+= --disable-autorules
34 .if empty(PORT_OPTIONS:MRULES)
35 CONFIGURE_ARGS+= --disable-rules
38 .if empty(PORT_OPTIONS:MLIMITS)
39 CONFIGURE_ARGS+= --disable-limits
42 .if empty(PORT_OPTIONS:MSUBLIMITS)
43 CONFIGURE_ARGS+= --disable-sublimits
46 .if empty(PORT_OPTIONS:MTHRESHOLDS)
47 CONFIGURE_ARGS+= --disable-thresholds
50 .if ${PORT_OPTIONS:MCTL_CREDS}
51 CONFIGURE_ARGS+= --enable-ctl-creds
54 PLIST_FILES= bin/ipa bin/ipactl bin/ipastat include/ipa_mod.h \
55 man/man3/ipa_mod.3.gz man/man5/ipa.conf.5.gz \
56 man/man5/ipastat.conf.5.gz man/man8/ipa.8.gz \
57 man/man8/ipactl.8.gz man/man8/ipastat.8.gz \
58 man/ru.KOI8-R/man3/ipa_mod.3.gz \
59 man/ru.KOI8-R/man5/ipa.conf.5.gz \
60 man/ru.KOI8-R/man5/ipastat.conf.5.gz \
61 man/ru.KOI8-R/man8/ipa.8.gz \
62 man/ru.KOI8-R/man8/ipactl.8.gz \
63 man/ru.KOI8-R/man8/ipastat.8.gz
65 .include <bsd.port.mk>