# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
# $FreeBSD: tags/RELEASE_10_2_0/security/linux-c6-cyrus-sasl2/Makefile 372445 2014-11-11 13:06:39Z xmj $

PORTNAME=	cyrus-sasl2
PORTVERSION=	2.1.23
PORTREVISION=	1
CATEGORIES=	security linux
DISTNAME=	cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION}

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	RFC 2222 SASL (Simple Authentication and Security Layer) (Linux CentOS ${LINUX_DIST_VER})

#DISTNAME=	cyrus-sasl-lib-${PORTVERSION}-${RPMVERSION}

ONLY_FOR_ARCHS=	i386 amd64
.if defined(PACKAGE_BUILDING)
SRC_DISTFILES=	cyrus-sasl-${PORTVERSION}-${RPMVERSION}.src.rpm
.endif

USE_LINUX=	c6
USE_LINUX_RPM=	yes
RPMVERSION=	15.el6
USE_LDCONFIG=	yes
BRANDELF_FILES=	usr/sbin/sasldblistusers2 usr/sbin/saslpasswd2
DESCR=	${.CURDIR}/../cyrus-sasl2/pkg-descr

DOCSDIR=	usr/share/doc/cyrus-sasl-lib-${PORTVERSION}

.include <bsd.port.mk>
