Lines 12-17
Link Here
|
12 |
MAINTAINER= fmysh@iijmio-mail.jp |
12 |
MAINTAINER= fmysh@iijmio-mail.jp |
13 |
COMMENT= Python bindings for Shapelib |
13 |
COMMENT= Python bindings for Shapelib |
14 |
|
14 |
|
|
|
15 |
LICENSE= LGPL20 |
16 |
|
15 |
USE_PYTHON= yes |
17 |
USE_PYTHON= yes |
16 |
USE_PYDISTUTILS= yes |
18 |
USE_PYDISTUTILS= yes |
17 |
|
19 |
|
Lines 21-42
Link Here
|
21 |
PORTDOCS= NEWS README |
23 |
PORTDOCS= NEWS README |
22 |
PORTEXAMPLES= pytest.py |
24 |
PORTEXAMPLES= pytest.py |
23 |
|
25 |
|
24 |
NO_STAGE= yes |
|
|
25 |
post-extract: |
26 |
post-extract: |
26 |
${LN} -s ${WRKDIR}/${SHAPELIB} ${WRKDIR}/shapelib |
27 |
${LN} -s ${WRKDIR}/${SHAPELIB} ${WRKDIR}/shapelib |
27 |
|
28 |
|
28 |
post-install: |
29 |
post-install: |
29 |
.if !defined(NOPORTDOCS) |
30 |
.if !defined(NOPORTDOCS) |
30 |
${MKDIR} ${DOCSDIR} |
31 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
31 |
.for f in ${PORTDOCS} |
32 |
.for f in ${PORTDOCS} |
32 |
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR} |
33 |
${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} |
33 |
.endfor |
34 |
.endfor |
34 |
.endif |
35 |
.endif |
35 |
|
36 |
|
36 |
.if !defined(NOPORTEXAMPLES) |
37 |
.if !defined(NOPORTEXAMPLES) |
37 |
${MKDIR} ${EXAMPLESDIR} |
38 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
38 |
.for f in ${PORTEXAMPLES} |
39 |
.for f in ${PORTEXAMPLES} |
39 |
${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR} |
40 |
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR} |
40 |
.endfor |
41 |
.endfor |
41 |
.endif |
42 |
.endif |
42 |
|
43 |
|