f7455240e3
PR: 225752 Submitted by: Yasuhiro KIMURA
28 lines
667 B
Makefile
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>
|