Lines 1-10
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= usb |
3 |
PORTNAME= usb |
4 |
PORTVERSION= 0.4.3 |
4 |
PORTVERSION= 1.0.0b1 |
5 |
CATEGORIES= devel python |
5 |
CATEGORIES= devel python |
6 |
MASTER_SITES= SF |
6 |
MASTER_SITES= SF |
7 |
MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%200.x/${PORTVERSION} |
7 |
MASTER_SITE_SUBDIR= py${PORTNAME}/PyUSB%201.0/1.0.0-beta-1 |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
DISTNAME= py${PORTNAME}-${PORTVERSION} |
9 |
DISTNAME= py${PORTNAME}-${PORTVERSION} |
10 |
|
10 |
|
Lines 15-27
Link Here
|
15 |
USE_PYDISTUTILS= yes |
15 |
USE_PYDISTUTILS= yes |
16 |
PYDISTUTILS_AUTOPLIST= yes |
16 |
PYDISTUTILS_AUTOPLIST= yes |
17 |
|
17 |
|
18 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
|
|
19 |
PORTEXAMPLES= * |
20 |
|
21 |
OPTIONS_DEFINE= EXAMPLES |
22 |
|
23 |
post-install: |
24 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
25 |
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR} |
26 |
|
27 |
.include <bsd.port.mk> |
18 |
.include <bsd.port.mk> |