ee4d9c29dd
Ws2300 manipulates the LaCrosse WS-2300 weather station via its RS232 interface. It can read and write values, and can continuously log data from WS-2300 to a file or SQL database. WWW: http://ace-host.stuart.id.au/russell/files/ws2300/ PR: ports/153452 Submitted by: Stefan Bethke <stb@lassitu.de> Approved by: gabor (mentor)
28 lines
758 B
Makefile
28 lines
758 B
Makefile
# New ports collection makefile for: py-ws2300
|
|
# Date created: 26 December 2010
|
|
# Whom: Stefan Bethke <stb@lassitu.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ws2300
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= science python
|
|
MASTER_SITES= http://ace-host.stuart.id.au/russell/files/ws2300/ \
|
|
http://www.transit.hanse.de/mirror/ace-host.stuart.id.au/russell/files/ws2300/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= stb@lassitu.de
|
|
COMMENT= A driver for the LaCrosse WS-2300 weather station
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
MAN1= ws2300.1
|
|
|
|
post-install:
|
|
#@${LN} -sf ${PYTHONPREFIX_SITELIBDIR}/ws2300.py ${PREFIX}/bin/ws2300
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${PREFIX}/bin/ws2300
|
|
@${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|