2007-06-04 21:40:09 +02:00
|
|
|
# New ports collection makefile for: py-usb
|
|
|
|
# Date created: 2007-05-13
|
|
|
|
# Whom: R.Mahmatkhanov <R.Mahmatkhanov@SKYLINK.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pyusb
|
2007-12-13 05:18:02 +01:00
|
|
|
PORTVERSION= 0.4.1
|
2007-06-04 21:40:09 +02:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
${MASTER_SITE_BERLIOS}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= R.Mahmatkhanov@SKYLINK.ru
|
|
|
|
COMMENT= Python wrapper around libusb
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/usb.so
|
|
|
|
|
2009-03-09 18:15:43 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 800069
|
|
|
|
LIB_DEPENDS+= ${LOCALBASE}/lib/libusb.so:${PORTSDIR}/devel/libusb
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|