freebsd-ports/sysutils/adtool/Makefile
Muhammad Moinur Rahman 6e1233be22 Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:

- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
  RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision: https://reviews.freebsd.org/D38233
2023-02-08 04:53:56 -06:00

23 lines
461 B
Makefile

PORTNAME= adtool
PORTVERSION= 1.3.3
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://gp2x.org/adtool/
MAINTAINER= joseph@randomnetworks.com
COMMENT= Active Directory administration tool
WWW= https://gp2x.org/adtool/
USES= gmake ldap libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
PLIST_FILES= bin/adtool \
etc/adtool.cfg.dist \
man/man1/adtool.1.gz
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
.include <bsd.port.mk>