summaryrefslogtreecommitdiff
path: root/security/py-cryptopp/Makefile
blob: 47082fb71fe086f9f4bb950d58ae14720ef55fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.8 2012/03/20 23:38:26 gdt Exp $
#

VERSION=	0.6.0
VERSION_EXCESSIVE=	1206569328141510525648634803928199668821045408958
DISTNAME=	pycryptopp-${VERSION}.${VERSION_EXCESSIVE}
PKGNAME=	${PYPKGPREFIX}-cryptopp-${VERSION}
CATEGORIES=	security python
MASTER_SITES=	http://pypi.python.org/packages/source/p/pycryptopp/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://tahoe-lafs.org/trac/pycryptopp
COMMENT=	Python wrapper for (and copy of parts of) crypto++

# GPL v2 or later.
# or Transitive Grace Period Public Licence, version 1.0 or later.
LICENSE=	gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	c c++

REPLACE_INTERPRETER+=  python
REPLACE.python.old=    /usr/bin/env python
REPLACE.python.new=    ${PYTHONBIN}
REPLACE_FILES.python=  pycryptopp/test/*.py

# It would be nice if egg.mk had support for this.
#TEST_TARGET=	@python@ setup.py test

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"