1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/security/py-pyscard/Makefile
2019-07-27 14:12:54 +00:00

32 lines
719 B
Makefile

# Created by: mp39590@gmail.com
# $FreeBSD$
PORTNAME= pyscard
PORTVERSION= 1.9.8
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mp39590@gmail.com
COMMENT= Smartcard module for Python
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= swig3.0:devel/swig30 \
pcsc-lite>0:devel/pcsc-lite
RUN_DEPENDS= pcsc-lite>0:devel/pcsc-lite
## Python3 is supported
USES= python
USE_PYTHON= autoplist distutils
BINARY_ALIAS= swig=swig3.0
PYDISTUTILS_BUILD_TARGET= build_ext
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include/PCSC
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/smartcard/scard/_scard.so
.include <bsd.port.mk>