freebsd-ports/science/py-ws2300/Makefile
Antoine Brodin 41a5348a3b Deprecate a few ports
With hat:	portmgr
2020-02-23 15:25:53 +00:00

31 lines
845 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
DEPRECATED= Uses deprecated version of python
EXPIRATION_DATE= 2020-08-15
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>