Lines 19-24
Link Here
|
19 |
|
19 |
|
20 |
USE_PYTHON= yes |
20 |
USE_PYTHON= yes |
21 |
USE_PYDISTUTILS=yes |
21 |
USE_PYDISTUTILS=yes |
|
|
22 |
USE_REINPLACE= yes |
22 |
|
23 |
|
23 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} |
24 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} |
24 |
EXAMPLE_FILES= README test.py test_city.py test_org.py test_region.py |
25 |
EXAMPLE_FILES= README test.py test_city.py test_org.py test_region.py |
Lines 31-36
Link Here
|
31 |
%%PORTDOCS%%%%EXAMPLESDIR%%/test_region.py |
32 |
%%PORTDOCS%%%%EXAMPLESDIR%%/test_region.py |
32 |
PLIST_DIRS= %%PORTDOCS%%%%EXAMPLESDIR%% |
33 |
PLIST_DIRS= %%PORTDOCS%%%%EXAMPLESDIR%% |
33 |
|
34 |
|
|
|
35 |
post-patch: |
36 |
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/setup.py |
37 |
|
34 |
post-install: |
38 |
post-install: |
35 |
.if !defined(NOPORTDOCS) |
39 |
.if !defined(NOPORTDOCS) |
36 |
@${MKDIR} ${EXAMPLESDIR} |
40 |
@${MKDIR} ${EXAMPLESDIR} |