1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/devel/nxt-python/Makefile
Rene Ladan 40c0045a0c nxt-python is a python driver/interface for the Lego Mindstorms NXT robot. The
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]
2011-03-10 22:54:18 +00:00

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>