aboutsummaryrefslogtreecommitdiff
path: root/devel/py-simpy
diff options
context:
space:
mode:
authorSoeren Straarup <xride@FreeBSD.org>2007-02-17 06:48:44 +0000
committerSoeren Straarup <xride@FreeBSD.org>2007-02-17 06:48:44 +0000
commitd6d35657389916f5d02c895f8daaba98318e216e (patch)
tree9c3cb725105814f567644d84a5df5d42567c7e5e /devel/py-simpy
parent3028ec85b12173fb91d68bc6dbe96712c5e67c44 (diff)
downloadports-d6d35657389916f5d02c895f8daaba98318e216e.tar.gz
ports-d6d35657389916f5d02c895f8daaba98318e216e.zip
Notes
Diffstat (limited to 'devel/py-simpy')
-rw-r--r--devel/py-simpy/Makefile17
-rw-r--r--devel/py-simpy/distinfo6
-rw-r--r--devel/py-simpy/pkg-plist4
3 files changed, 19 insertions, 8 deletions
diff --git a/devel/py-simpy/Makefile b/devel/py-simpy/Makefile
index 6e51b2edc4b1..b3bd8b55cc4f 100644
--- a/devel/py-simpy/Makefile
+++ b/devel/py-simpy/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
PORTNAME= simpy
-PORTVERSION= 1.7.1
+PORTVERSION= 1.8
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,11 +16,22 @@ DISTNAME= SimPy-${PORTVERSION}
MAINTAINER= xride@FreeBSD.org
COMMENT= Simulation in Python
-USE_PYTHON= 2.2+
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
+OPTIONS= TKINTER "Install py-tkinter for plot" off
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
+
.if !defined(NOPORTDOCS)
PORTDOCS= *
+DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
+.endif
+EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TKINTER)
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
.endif
post-install:
@@ -33,4 +44,4 @@ post-install:
(cd ${WRKSRC}/SimPyModels && ${FIND} . | \
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/py-simpy/distinfo b/devel/py-simpy/distinfo
index f98d2f675a28..38f6523eb6d9 100644
--- a/devel/py-simpy/distinfo
+++ b/devel/py-simpy/distinfo
@@ -1,3 +1,3 @@
-MD5 (SimPy-1.7.1.tar.gz) = 3ec045f8d02fc1008258d00d0f97c7ff
-SHA256 (SimPy-1.7.1.tar.gz) = 32cc8eb49b04c74c39b629086471b5e04c0efe9eb52e70de14036b0894a33097
-SIZE (SimPy-1.7.1.tar.gz) = 1137394
+MD5 (SimPy-1.8.tar.gz) = 7abc6365009375b6f3d814288eeeb283
+SHA256 (SimPy-1.8.tar.gz) = 041fba78eaf040002e7ebaed3e7b1988b31f9199c3124f74900159e4be56c83a
+SIZE (SimPy-1.8.tar.gz) = 2373837
diff --git a/devel/py-simpy/pkg-plist b/devel/py-simpy/pkg-plist
index f9ed709f3b9e..093b5624091c 100644
--- a/devel/py-simpy/pkg-plist
+++ b/devel/py-simpy/pkg-plist
@@ -60,16 +60,16 @@
%%EXAMPLESDIR%%/SimGUIStep.py
%%EXAMPLESDIR%%/SimPy_worker_extend.py
%%EXAMPLESDIR%%/WidgetPacking.py
-%%EXAMPLESDIR%%/airport.py
+%%EXAMPLESDIR%%/bakery.py
%%EXAMPLESDIR%%/bank08renege.py
%%EXAMPLESDIR%%/bank11GUI.py
%%EXAMPLESDIR%%/bank11Plot.py
%%EXAMPLESDIR%%/bcc.py
+%%EXAMPLESDIR%%/callCenter.py
%%EXAMPLESDIR%%/cellphone.py
%%EXAMPLESDIR%%/centralserver.py
%%EXAMPLESDIR%%/demoSimPyEvents.py
%%EXAMPLESDIR%%/jacksonnetwork.py
-%%EXAMPLESDIR%%/lemmings.py
%%EXAMPLESDIR%%/needResources.py
%%EXAMPLESDIR%%/shortestPath_SimPy.py
@dirrm %%EXAMPLESDIR%%