ports/131202: [Maintainer Update]devel/py-simpy:fix the compile error
Wen Heping
wenheping at gmail.com
Sat Jan 31 12:50:05 UTC 2009
>Number: 131202
>Category: ports
>Synopsis: [Maintainer Update]devel/py-simpy:fix the compile error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 31 12:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
>Description:
Fix the compile error reported by QAT
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig 2009-01-31 20:33:18.000000000 +0800
+++ Makefile 2009-01-31 20:33:18.000000000 +0800
@@ -7,6 +7,7 @@
PORTNAME= simpy
PORTVERSION= 2.00
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,11 +23,6 @@
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 @@
@${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>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list