# New ports collection makefile for:   am-utils
# Date created:        2 November 2004
# Whom:                Jon Wilson <jon@phuq.co.uk>
#
# $FreeBSD: ports/sysutils/am-utils/Makefile,v 1.3 2005/06/23 10:40:04 sem Exp $
#

PORTNAME=	am-utils
PORTVERSION=	6.1
PORTEPOCH=	1
CATEGORIES=	sysutils net
MASTER_SITES=	ftp://ftp.am-utils.org/pub/am-utils/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.b/b/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The Berkeley Automounter Suite of Utilities

INSTALLS_SHLIB=	yes
USE_LIBTOOL_VER=15

.if defined(WITH_OPENLDAP) || defined(PACKAGE_BUILDING)
USE_OPENLDAP=	yes
CONFIGURE_ARGS+=	--with-ldap=yes --enable-ldflags=-L${LOCALBASE}/lib --enable-cppflags=-I${LOCALBASE}/include
.endif

INFO=		am-utils
MAN1=		expn.1 pawd.1
MAN5=		amd.conf.5
MAN8=		amd.8 amq.8 automount2amd.8 fixmount.8 fsinfo.8 hlfsd.8 mk-amd-map.8 wire-test.8

.include <bsd.port.mk>
