Fix the compile error reported by QAT

PR:		131202
Submitted by:	Wen Heping <wenheping@gmail.com> (maintainer)
This commit is contained in:
Soeren Straarup 2009-02-02 18:03:40 +00:00
parent e7f924eb7f
commit 287c71d98a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227462

View file

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