diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-05-29 13:11:17 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-05-29 13:11:17 +0800 |
commit | ac66d559182a43705958877c90a656130ddfa716 (patch) | |
tree | f4973f37275fb63a9778108848d463a50058a56d /science | |
parent | 9937455f1b015359451acdd51a4fceddd10739f7 (diff) | |
download | freebsd-ports-gnome-ac66d559182a43705958877c90a656130ddfa716.tar.gz freebsd-ports-gnome-ac66d559182a43705958877c90a656130ddfa716.tar.zst freebsd-ports-gnome-ac66d559182a43705958877c90a656130ddfa716.zip |
- 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)
Diffstat (limited to 'science')
-rw-r--r-- | science/py-ws2300/Makefile | 18 | ||||
-rw-r--r-- | science/py-ws2300/distinfo | 4 | ||||
-rw-r--r-- | science/py-ws2300/pkg-descr | 2 | ||||
-rw-r--r-- | science/py-ws2300/pkg-plist | 4 |
4 files changed, 11 insertions, 17 deletions
diff --git a/science/py-ws2300/Makefile b/science/py-ws2300/Makefile index d4cbb83d7b3d..4e00dac57ffa 100644 --- a/science/py-ws2300/Makefile +++ b/science/py-ws2300/Makefile @@ -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 -USE_PYDISTUTILS= yes +LICENSE= AGPLv3 -MAN1= ws2300.1 +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes -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> diff --git a/science/py-ws2300/distinfo b/science/py-ws2300/distinfo index 3178be622c43..a050492f24e8 100644 --- a/science/py-ws2300/distinfo +++ b/science/py-ws2300/distinfo @@ -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 diff --git a/science/py-ws2300/pkg-descr b/science/py-ws2300/pkg-descr index 44a5fb6c6127..e0ba16af151e 100644 --- a/science/py-ws2300/pkg-descr +++ b/science/py-ws2300/pkg-descr @@ -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 diff --git a/science/py-ws2300/pkg-plist b/science/py-ws2300/pkg-plist deleted file mode 100644 index 7a79554bcf25..000000000000 --- a/science/py-ws2300/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -%%PYTHON_SITELIBDIR%%/ws2300.py -%%PYTHON_SITELIBDIR%%/ws2300.pyc -%%PYTHON_SITELIBDIR%%/ws2300.pyo -bin/ws2300 |