# $FreeBSD: tags/RELEASE_10_0_0/security/py-otr/Makefile 330188 2013-10-12 21:11:48Z cs $

PORTNAME=	otr
PORTVERSION=	0.2.1.1
PORTREVISION=	1
CATEGORIES=	security python
MASTER_SITES=	http://python-otr.pentabarf.de/releases/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	python-otr-${PORTVERSION}

MAINTAINER=	cs@FreeBSD.org
COMMENT=	Python bindings for libotr

BUILD_DEPENDS=	swig1.3:${PORTSDIR}/devel/swig13
# This should be updated to the newer version of libotr
LIB_DEPENDS=	otr.4:${PORTSDIR}/security/libotr3

USES=		pkgconfig
USE_PYTHON=	yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=	python-otr

CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib

NO_STAGE=	yes
.include <bsd.port.mk>
