freebsd-ports/sysutils/py-uptime/Makefile
Kubilay Kocak 3f51de6055 [NEW] sysutils/py-uptime: Cross-platform uptime library
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>
2016-08-04 12:04:32 +00:00

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>