# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD: tags/RELEASE_11_1_0/security/py-cryptlib_py/Makefile 440239 2017-05-06 07:38:46Z miwi $

PORTNAME=	cryptlib_py
PORTVERSION=	3.4.3
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.franken.de/pub/crypt/cryptlib/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	cl${PORTVERSION:S/.//g}

MAINTAINER=	yuri@rawbw.com
COMMENT=	Pythin binding for cryptlib

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

ONLY_FOR_ARCHS=	i386 amd64 armv6

USES=		python:2 zip:infozip
USE_PYTHON=	distutils autoplist

LIB_DEPENDS+=	libcl.so:security/cryptlib

BUILD_WRKSRC=	${WRKSRC}/bindings
INSTALL_WRKSRC=	${BUILD_WRKSRC}
NO_WRKSUBDIR=	yes

.include <bsd.port.mk>
