Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= simpy |
8 |
PORTNAME= simpy |
9 |
PORTVERSION= 2.00 |
9 |
PORTVERSION= 2.00 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= devel python |
11 |
CATEGORIES= devel python |
11 |
MASTER_SITES= SF |
12 |
MASTER_SITES= SF |
12 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
13 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 22-32
Link Here
|
22 |
OPTIONS= TKINTER "Install py-tkinter for plot" off |
23 |
OPTIONS= TKINTER "Install py-tkinter for plot" off |
23 |
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options |
24 |
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options |
24 |
|
25 |
|
25 |
.if !defined(NOPORTDOCS) |
|
|
26 |
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} |
27 |
.endif |
28 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
29 |
|
30 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.pre.mk> |
31 |
|
27 |
|
32 |
.if defined(WITH_TKINTER) |
28 |
.if defined(WITH_TKINTER) |
Lines 38-45
Link Here
|
38 |
@${MKDIR} ${DOCSDIR} |
34 |
@${MKDIR} ${DOCSDIR} |
39 |
(cd ${WRKSRC}/SimPyDocs && ${COPYTREE_SHARE} . ${DOCSDIR}) |
35 |
(cd ${WRKSRC}/SimPyDocs && ${COPYTREE_SHARE} . ${DOCSDIR}) |
40 |
.endif |
36 |
.endif |
|
|
37 |
|
38 |
.if !defined(NOPORTEXAMPLES) |
41 |
@${MKDIR} ${EXAMPLESDIR} |
39 |
@${MKDIR} ${EXAMPLESDIR} |
42 |
(cd ${WRKSRC}/SimPyModels && ${FIND} . | \ |
40 |
(cd ${WRKSRC}/SimPyModels && ${FIND} . | \ |
43 |
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}) |
41 |
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}) |
|
|
42 |
.endif |
44 |
|
43 |
|
45 |
.include <bsd.port.post.mk> |
44 |
.include <bsd.port.post.mk> |