diff --git a/devel/py-pycallgraph/Makefile b/devel/py-pycallgraph/Makefile index 402bcfef936d..fb177edeadbf 100644 --- a/devel/py-pycallgraph/Makefile +++ b/devel/py-pycallgraph/Makefile @@ -7,7 +7,7 @@ PORTNAME= pycallgraph PORTVERSION= 0.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= http://pycallgraph.slowchop.com/files/download/ \ http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/ @@ -21,13 +21,20 @@ 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} -.if !defined(NOPORTEXAMPLES) post-install: +.if !defined(NO_INSTALL_MANPAGES) + ${INSTALL_MAN} ${WRKSRC}/man/pycallgraph.1 ${MAN1PREFIX}/man/man1 +.endif + +.if !defined(NOPORTEXAMPLES) ${MKDIR} ${EXAMPLESDIR} - ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR} - ${CHOWN} 755 ${EXAMPLESDIR}/* + (cd ${WRKSRC}/examples/ && ${COPYTREE_BIN} \* ${EXAMPLESDIR}) .endif .include diff --git a/devel/py-pycallgraph/distinfo b/devel/py-pycallgraph/distinfo index cf8c8566a360..a3cdf0a547b2 100644 --- a/devel/py-pycallgraph/distinfo +++ b/devel/py-pycallgraph/distinfo @@ -1,3 +1,2 @@ -MD5 (pycallgraph-0.5.1.tar.gz) = 2f57a14f637e87aabc7301e78941026c SHA256 (pycallgraph-0.5.1.tar.gz) = c84b3294b7c33dcd8148d9245e61fce7fca811bed2d357f91e98804785ffbb83 SIZE (pycallgraph-0.5.1.tar.gz) = 14575