mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
40c0045a0c
1.x releases aim to improve on NXT_Python's interface and should be compatible with scripts which use it while the 2.x releases improve on the API in backwards-incompatible ways and will not work with NXT_Python scripts. WWW: http://code.google.com/p/nxt-python/ PR: ports/155409 Submitted by: Quentin Stievenart [acieroid awesom.eu]
27 lines
573 B
Makefile
27 lines
573 B
Makefile
# New ports collection makefile for: nxt-python
|
|
# Date created: 9 March 2011
|
|
# Whom: Quentin Stievenart <acieroid@awesom.eu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nxt-python
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= acieroid@awesom.eu
|
|
COMMENT= Python interface for the Lego Mindstorms NXT robot
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= ${PORTNAME}
|
|
|
|
post-patch:
|
|
# fixes FreeBSD specific bug
|
|
${REINPLACE_CMD} 's|\(self.handle.reset()\)|#\1|' ${WRKSRC}/nxt/usbsock.py
|
|
|
|
.include <bsd.port.mk>
|