mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
63a1c9c322
Approved by: portmgr blanket
29 lines
770 B
Makefile
29 lines
770 B
Makefile
# Created by: Stefan Bethke <stb@lassitu.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ws2300
|
|
PORTVERSION= 1.10
|
|
PORTREVISION= 2
|
|
CATEGORIES= science python
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}-1
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= stb@lassitu.de
|
|
COMMENT= Driver for the LaCrosse WS-2300 weather station
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/agpl-3.0.txt
|
|
|
|
USES= python:2.7
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/ws2300 man/man1/ws2300.1.gz
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${STAGEDIR}${PREFIX}/bin/ws2300
|
|
${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
@${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/ws2300
|
|
|
|
.include <bsd.port.mk>
|