mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
9b566f585a
- Add LICENSE - Pet portlint PR: ports/188545 Submitted by: Bartek Rutkowski <ports@robakdesign.com>
39 lines
917 B
Makefile
39 lines
917 B
Makefile
# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pycallgraph
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 4
|
|
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:${PORTSDIR}/graphics/graphviz
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
MAN1= pycallgraph.1
|
|
.endif
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
post-install:
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
${INSTALL_MAN} ${WRKSRC}/man/pycallgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_BIN} \* ${STAGEDIR}${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|