freebsd-ports/databases/py-rrdtool_lgpl/Makefile
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

28 lines
667 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= rrdtool_lgpl
PORTVERSION= 1.0b1
PORTREVISION= 7
CATEGORIES= databases python
MASTER_SITES= SF/py-rrdtool/py-rrdtool/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-rrdtool-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to RRDTool, the graphing and logging utility
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= librrd.so:databases/rrdtool
USES= python:2.7
USE_PYTHON= distutils autoplist
LIBDIR?= ${LOCALBASE}/lib # directory where librrd.so lives
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_rrdtool.so
.include <bsd.port.mk>