aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2007-06-26 02:33:54 +0800
committerlwhsu <lwhsu@FreeBSD.org>2007-06-26 02:33:54 +0800
commit9a4523cb335a1fe850efa50cb9d45cedc7f7bbe8 (patch)
tree6ab55c6c8c45c2423bc18823c736868d117e9989 /devel
parent1761743ca7d9350ca208025f65bb2c336475a65f (diff)
downloadfreebsd-ports-graphics-9a4523cb335a1fe850efa50cb9d45cedc7f7bbe8.tar.gz
freebsd-ports-graphics-9a4523cb335a1fe850efa50cb9d45cedc7f7bbe8.tar.zst
freebsd-ports-graphics-9a4523cb335a1fe850efa50cb9d45cedc7f7bbe8.zip
- Update to 0.4.0
- Add examples
Diffstat (limited to 'devel')
-rw-r--r--devel/py-pycallgraph/Makefile12
-rw-r--r--devel/py-pycallgraph/distinfo6
-rw-r--r--devel/py-pycallgraph/pkg-plist11
3 files changed, 24 insertions, 5 deletions
diff --git a/devel/py-pycallgraph/Makefile b/devel/py-pycallgraph/Makefile
index 6ce6ecbfdcc..0e7d8262a29 100644
--- a/devel/py-pycallgraph/Makefile
+++ b/devel/py-pycallgraph/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pycallgraph
-PORTVERSION= 0.3.0
-PORTREVISION= 1
+PORTVERSION= 0.4.0
CATEGORIES= devel python
MASTER_SITES= http://pycallgraph.slowchop.com/files/download/ \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
@@ -21,4 +20,13 @@ RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
+
+.if !defined(NOPORTEXANPLES)
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+ ${CHOWN} 755 ${EXAMPLESDIR}/*
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/py-pycallgraph/distinfo b/devel/py-pycallgraph/distinfo
index 5afadfcfa72..70e878d24ac 100644
--- a/devel/py-pycallgraph/distinfo
+++ b/devel/py-pycallgraph/distinfo
@@ -1,3 +1,3 @@
-MD5 (pycallgraph-0.3.0.tar.gz) = e851aa29c38a7609f9990e8867b322df
-SHA256 (pycallgraph-0.3.0.tar.gz) = 9942eeb5454c03f4696aea4f2c9ed65e626d3548f565caea151a1506a7a5acc9
-SIZE (pycallgraph-0.3.0.tar.gz) = 4394
+MD5 (pycallgraph-0.4.0.tar.gz) = 512437c5ab670dc4088fb8722c69020f
+SHA256 (pycallgraph-0.4.0.tar.gz) = 0c22126f674816946e37efa9c88a620a1d49a83cb95134031960d44c6c8953ee
+SIZE (pycallgraph-0.4.0.tar.gz) = 12841
diff --git a/devel/py-pycallgraph/pkg-plist b/devel/py-pycallgraph/pkg-plist
index 166a3369813..0246d6e5e6d 100644
--- a/devel/py-pycallgraph/pkg-plist
+++ b/devel/py-pycallgraph/pkg-plist
@@ -1,3 +1,14 @@
+bin/pycallgraph-dot.py
%%PYTHON_SITELIBDIR%%/pycallgraph.py
%%PYTHON_SITELIBDIR%%/pycallgraph.pyc
%%PYTHON_SITELIBDIR%%/pycallgraph.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/all.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/basic.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colours.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_time.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/import.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/large.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/recursive.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regexp.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%