# New ports collection makefile for:    zi
# Date created:         2012-08-29
# Whom:                 zi@FreeBSD.org
#
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/msktutil/Makefile 308426 2012-12-07 15:12:03Z zi $

PORTNAME=	msktutil
PORTVERSION=	0.4.2
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
    		http://mirrors.rit.edu/zi/

MAINTAINER=	zi@FreeBSD.org
COMMENT=	A utility to manage Active Directory interoperability

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_OPENLDAP=	yes
GNU_CONFIGURE=	yes
WANT_OPENLDAP_SASL=	yes

CONFIGURE_ARGS+=--with-sasldir=${PREFIX}

MAN1=		msktutil.1
PLIST_FILES=	sbin/msktutil

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 900035
LDFLAGS+=	-lgssapi_krb5
.endif

.if ${OSVERSION} < 800000
BROKEN=		does not build on FreeBSD 7.x
.endif

.include <bsd.port.post.mk>
