summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSoeren Straarup <xride@FreeBSD.org>2009-02-02 18:03:40 +0000
committerSoeren Straarup <xride@FreeBSD.org>2009-02-02 18:03:40 +0000
commit287c71d98aee5ab17b202e31c77f6506eae9bb01 (patch)
treefdd4c5b312d8c891d5dd1ed521f1ef561f92a80e /devel
parentPull this under the x11@ umbrella (diff)
Fix the compile error reported by QAT
PR: 131202 Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=227462
Diffstat (limited to 'devel')
-rw-r--r--devel/py-simpy/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/py-simpy/Makefile b/devel/py-simpy/Makefile
index f3174f5bac96..2e9e6bbf1172 100644
--- a/devel/py-simpy/Makefile
+++ b/devel/py-simpy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= simpy
PORTVERSION= 2.00
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,11 +23,6 @@ PYDISTUTILS_PKGNAME= SimPy
OPTIONS= TKINTER "Install py-tkinter for plot" off
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-.if !defined(NOPORTDOCS)
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-.endif
-EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-
.include <bsd.port.pre.mk>
.if defined(WITH_TKINTER)
@@ -38,8 +34,11 @@ post-install:
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/SimPyDocs && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
+
+.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/SimPyModels && ${FIND} . | \
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
+.endif
.include <bsd.port.post.mk>