aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-usb/Makefile
blob: c4938739ed02cff53d3cbff7a41c2a3241cf8138 (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
# New ports collection makefile for:    py-usb
# Date created:     2007-05-13
# Whom:         R.Mahmatkhanov <R.Mahmatkhanov@SKYLINK.ru>
#
# $FreeBSD$
#

PORTNAME=   pyusb
PORTVERSION=    0.4.1
CATEGORIES= devel python
MASTER_SITES=   SF \
        ${MASTER_SITE_BERLIOS}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python wrapper around libusb

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PLIST_FILES=    %%PYTHON_SITELIBDIR%%/usb.so

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
LIB_DEPENDS+=   usb:${PORTSDIR}/devel/libusb
.endif

.include <bsd.port.post.mk>