Tweak sysutils/dateutils version 0.4.1
[dports.git] / sysutils / ipa / Makefile
1 # Created by: Andrey Simonenko
2 # $FreeBSD$
3
4 PORTNAME=       ipa
5 PORTVERSION=    2.1.2
6 CATEGORIES=     sysutils
7 MASTER_SITES=   SF/ipa-system
8
9 MAINTAINER=     sysutils/ipa
10 COMMENT=        Pluggable accounting system
11
12 LICENSE=        BSD2CLAUSE
13
14 USES=   tar:bzip2
15 GNU_CONFIGURE=  yes
16 USE_RC_SUBR=    ipa
17
18 NO_OPTIONS_SORT=        yes
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
27
28 .include <bsd.port.options.mk>
29
30 .if empty(PORT_OPTIONS:MAUTORULES)
31 CONFIGURE_ARGS+=        --disable-autorules
32 .endif
33
34 .if empty(PORT_OPTIONS:MRULES)
35 CONFIGURE_ARGS+=        --disable-rules
36 .endif
37
38 .if empty(PORT_OPTIONS:MLIMITS)
39 CONFIGURE_ARGS+=        --disable-limits
40 .endif
41
42 .if empty(PORT_OPTIONS:MSUBLIMITS)
43 CONFIGURE_ARGS+=        --disable-sublimits
44 .endif
45
46 .if empty(PORT_OPTIONS:MTHRESHOLDS)
47 CONFIGURE_ARGS+=        --disable-thresholds
48 .endif
49
50 .if ${PORT_OPTIONS:MCTL_CREDS}
51 CONFIGURE_ARGS+=        --enable-ctl-creds
52 .endif
53
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
64
65 .include <bsd.port.mk>