|
Lines 2-13
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= pyscard |
4 |
PORTNAME= pyscard |
| 5 |
PORTVERSION= 1.7.0 |
5 |
PORTVERSION= 1.9.0 |
| 6 |
CATEGORIES= security python |
6 |
CATEGORIES= security python |
| 7 |
## request has been submitted to the developers to host sources on PyPI; check |
7 |
MASTER_SITES= CHEESESHOP |
| 8 |
## this on the next update and change SF to CHEESEHOP (see bug #197834) |
|
|
| 9 |
MASTER_SITES= SF |
| 10 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} |
| 11 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
| 12 |
|
9 |
|
| 13 |
MAINTAINER= mp39590@gmail.com |
10 |
MAINTAINER= mp39590@gmail.com |
|
Lines 20-30
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 \
Link Here
|
| 20 |
pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite |
17 |
pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite |
| 21 |
RUN_DEPENDS= pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite |
18 |
RUN_DEPENDS= pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite |
| 22 |
|
19 |
|
| 23 |
USES= python:2.7 |
20 |
## Python3 is supported |
|
|
21 |
USES= python:2.7+ |
| 24 |
USE_PYTHON= autoplist distutils |
22 |
USE_PYTHON= autoplist distutils |
| 25 |
|
23 |
|
| 26 |
PYDISTUTILS_BUILD_TARGET= build_ext |
24 |
PYDISTUTILS_BUILD_TARGET= build_ext |
| 27 |
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include/PCSC |
25 |
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include/PCSC |
| 28 |
|
26 |
|
| 29 |
post-install: |
27 |
post-install: |
| 30 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/smartcard/scard/_scard.so |
28 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/smartcard/scard/_scard.so |