diff options
author | xride <xride@FreeBSD.org> | 2009-02-03 02:03:40 +0800 |
---|---|---|
committer | xride <xride@FreeBSD.org> | 2009-02-03 02:03:40 +0800 |
commit | bf09957fbbaeec8945f30312bdb7f227c8bcb18c (patch) | |
tree | 24bf55dbad6607c783cadd88bdbbca03abc2e5f8 | |
parent | e93b899ef0adb200ca4fcb784ddd37c95e87c053 (diff) | |
download | freebsd-ports-gnome-bf09957fbbaeec8945f30312bdb7f227c8bcb18c.tar.gz freebsd-ports-gnome-bf09957fbbaeec8945f30312bdb7f227c8bcb18c.tar.zst freebsd-ports-gnome-bf09957fbbaeec8945f30312bdb7f227c8bcb18c.zip |
Fix the compile error reported by QAT
PR: 131202
Submitted by: Wen Heping <wenheping@gmail.com> (maintainer)
-rw-r--r-- | devel/py-simpy/Makefile | 9 |
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> |