freebsd-ports/devel/py-pycallgraph/Makefile
Antoine Brodin 63f5eeef8a Bump a few PORTREVISIONs after r498529
With hat:	portmgr
2019-04-10 06:18:31 +00:00

33 lines
872 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
# $FreeBSD$
PORTNAME= pycallgraph
PORTVERSION= 0.5.1
PORTREVISION= 6
CATEGORIES= devel python
MASTER_SITES= http://pycallgraph.slowchop.com/files/download/ \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Python library that creates call graphs for Python programs
LICENSE= GPLv2
RUN_DEPENDS+= dot:graphics/graphviz
USES= python shebangfix
USE_PYTHON= distutils autoplist concurrent
SHEBANG_FILES= examples/*.py
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
post-install:
${INSTALL_MAN} ${WRKSRC}/man/pycallgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_BIN} \* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>