freebsd-ports/sysutils/ipa/Makefile
Max Brazhnikov 7e6f9014b3 Update to 2.0.9
PR:		ports/153576
Submitted by:	Andrey Simonenko (maintainer)
2011-01-02 14:12:09 +00:00

63 lines
1.3 KiB
Makefile

# New ports collection makefile for: ipa
# Date created: 2 December 2000
# Whom: Andrey Simonenko
#
# $FreeBSD$
#
PORTNAME= ipa
PORTVERSION= 2.0.9
CATEGORIES= sysutils
MASTER_SITES= SF/ipa-system
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
COMMENT= Pluggable accounting system
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= ipa
OPTIONS= AUTORULES "Enable dynamic rules support" on \
RULES "Enable static rules support" on \
LIMITS "Enable limits support" on \
SUBLIMITS "Enable sublimits support" on \
THRESHOLDS "Enable thresholds support" on \
CTL_CREDS "Enable ipactl's messages credentials" off
.include <bsd.port.options.mk>
.if defined(WITHOUT_AUTORULES)
CONFIGURE_ARGS+= --disable-autorules
.endif
.if defined(WITHOUT_RULES)
CONFIGURE_ARGS+= --disable-rules
.endif
.if defined(WITHOUT_LIMITS)
CONFIGURE_ARGS+= --disable-limits
.endif
.if defined(WITHOUT_SUBLIMITS)
CONFIGURE_ARGS+= --disable-sublimits
.endif
.if defined(WITHOUT_THRESHOLDS)
CONFIGURE_ARGS+= --disable-thresholds
.endif
.if defined(WITH_CTL_CREDS)
CONFIGURE_ARGS+= --enable-ctl-creds
.endif
MAN3= ipa_mod.3
MAN5= ipa.conf.5 ipastat.conf.5
MAN8= ipa.8 ipactl.8 ipastat.8
MANLANG= "" ru.KOI8-R
do-install:
cd ${WRKSRC}/src && ${MAKE} install
cd ${WRKSRC}/man && ${MAKE} install-am
cd ${WRKSRC}/man/ru.KOI8-R && ${MAKE} install
.include <bsd.port.mk>