- Update to 1.9

- Update MASTER_SITES [1]
- Add LICENSE
- Use PYDISTUTILS_AUTOPLIST instead of PLIST
- Update WWW [1]
- While I'm here, fix USE_PYTHON

PR:		ports/190274
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
		Stefan Bethke <stb@lassitu.de> (maintainer) [1]
Approved by:	Stefan Bethke <stb@lassitu.de> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-05-29 05:11:17 +00:00
parent 74c4dce14c
commit dedcbe7bbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355664
4 changed files with 11 additions and 17 deletions

View File

@ -2,24 +2,22 @@
# $FreeBSD$
PORTNAME= ws2300
PORTVERSION= 1.7
PORTVERSION= 1.9
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/
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}-1
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= stb@lassitu.de
COMMENT= Driver for the LaCrosse WS-2300 weather station
USE_PYTHON= yes
LICENSE= AGPLv3
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
MAN1= ws2300.1
NO_STAGE= yes
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/
${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${STAGEDIR}${PREFIX}/bin/ws2300
${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ws2300-1.7.tar.gz) = c5ddc2dcf2750a91d8dfcdce0e06224ab66218071654d16cbd3b7d91a1e5c2e7
SIZE (ws2300-1.7.tar.gz) = 71114
SHA256 (ws2300-1.9.tar.gz) = e55e089e2fdc3e365ef4fec53d1480fa1bdf49c0edab449fc3e745a72d747e14
SIZE (ws2300-1.9.tar.gz) = 73257

View File

@ -2,4 +2,4 @@ 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/
WWW: http://ws2300.sourceforge.net

View File

@ -1,4 +0,0 @@
%%PYTHON_SITELIBDIR%%/ws2300.py
%%PYTHON_SITELIBDIR%%/ws2300.pyc
%%PYTHON_SITELIBDIR%%/ws2300.pyo
bin/ws2300