3f51de6055
This module provides a cross-platform way to retrieve system uptime and boot time. See documentation for a full list of supported platforms (yours is likely one of them). WWW: https://github.com/Cairnarvon/uptime PR: 208560 Submitted by: Uros <uros.gruber gmail com>
21 lines
425 B
Makefile
21 lines
425 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= uptime
|
|
PORTVERSION= 3.0.1
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= uros@gruber.si
|
|
COMMENT= Cross-platform uptime library
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
USES= python:2.5+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/uptime/_posix.so
|
|
|
|
.include <bsd.port.mk>
|