svn commit: r498581 - head/sysutils/ipa

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Apr 10 17:02:19 UTC 2019


Author: amdmi3
Date: Wed Apr 10 17:02:18 2019
New Revision: 498581
URL: https://svnweb.freebsd.org/changeset/ports/498581

Log:
  - Fix maintainer
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/sysutils/ipa/Makefile

Modified: head/sysutils/ipa/Makefile
==============================================================================
--- head/sysutils/ipa/Makefile	Wed Apr 10 16:20:54 2019	(r498580)
+++ head/sysutils/ipa/Makefile	Wed Apr 10 17:02:18 2019	(r498581)
@@ -6,51 +6,16 @@ PORTVERSION=	2.1.2
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/ipa-system
 
-MAINTAINER=	sysutils/ipa
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Pluggable accounting system
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	tar:bzip2
+USES=		tar:bzip2
 GNU_CONFIGURE=	yes
 USE_RC_SUBR=	ipa
 
-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
-
-.include <bsd.port.options.mk>
-
-.if empty(PORT_OPTIONS:MAUTORULES)
-CONFIGURE_ARGS+=	--disable-autorules
-.endif
-
-.if empty(PORT_OPTIONS:MRULES)
-CONFIGURE_ARGS+=	--disable-rules
-.endif
-
-.if empty(PORT_OPTIONS:MLIMITS)
-CONFIGURE_ARGS+=	--disable-limits
-.endif
-
-.if empty(PORT_OPTIONS:MSUBLIMITS)
-CONFIGURE_ARGS+=	--disable-sublimits
-.endif
-
-.if empty(PORT_OPTIONS:MTHRESHOLDS)
-CONFIGURE_ARGS+=	--disable-thresholds
-.endif
-
-.if ${PORT_OPTIONS:MCTL_CREDS}
-CONFIGURE_ARGS+=	--enable-ctl-creds
-.endif
-
 PLIST_FILES=	bin/ipa bin/ipactl bin/ipastat include/ipa_mod.h \
 		man/man3/ipa_mod.3.gz man/man5/ipa.conf.5.gz \
 		man/man5/ipastat.conf.5.gz man/man8/ipa.8.gz \
@@ -61,5 +26,22 @@ PLIST_FILES=	bin/ipa bin/ipactl bin/ipastat include/ip
 		man/ru.KOI8-R/man8/ipa.8.gz \
 		man/ru.KOI8-R/man8/ipactl.8.gz \
 		man/ru.KOI8-R/man8/ipastat.8.gz
+
+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
+
+AUTORULES_CONFIGURE_ENABLE=	autorules
+RULES_CONFIGURE_ENABLE=		rules
+LIMITS_CONFIGURE_ENABLE=	limits
+SUBLIMITS_CONFIGURE_ENABLE=	sublimits
+THRESHOLDS_CONFIGURE_ENABLE=	thresholds
+CTL_CREDS_CONFIGURE_ENABLE=	ctl-creds
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list