blob: 3f54e74ddda7fcc29ebc1d85a7c494b4dfe03e6f (
plain) (
blame)
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
|
# Created by: R.Mahmatkhanov <R.Mahmatkhanov@SKYLINK.ru>
# $FreeBSD$
PORTNAME= usb
PORTVERSION= 0.4.3
CATEGORIES= devel python
MASTER_SITES= SF
MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%200.x/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= Python wrapper around libusb
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= py${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|