1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Use COPYTREE for installing example files

- Install manual page and respect NO_INSTALL_MANPAGES
- Drop MD5 checksum

Submitted by:	ohauer (earlier patch)
This commit is contained in:
Li-Wen Hsu 2010-12-28 07:54:33 +00:00
parent ca1a56c031
commit 9f02afb743
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267045
2 changed files with 11 additions and 5 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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