Lines 19-26
Link Here
|
19 |
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} |
19 |
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} |
20 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
20 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
21 |
|
21 |
|
22 |
NO_STAGE= yes |
|
|
23 |
|
24 |
OPTIONS_DEFINE= DOCS EXAMPLES |
22 |
OPTIONS_DEFINE= DOCS EXAMPLES |
25 |
|
23 |
|
26 |
.include <bsd.port.options.mk> |
24 |
.include <bsd.port.options.mk> |
Lines 27-38
Link Here
|
27 |
|
25 |
|
28 |
post-install: |
26 |
post-install: |
29 |
.if ${PORT_OPTIONS:MDOCS} |
27 |
.if ${PORT_OPTIONS:MDOCS} |
30 |
@${MKDIR} ${DOCSDIR} |
28 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} |
29 |
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR} |
32 |
.endif |
30 |
.endif |
33 |
.if ${PORT_OPTIONS:MEXAMPLES} |
31 |
.if ${PORT_OPTIONS:MEXAMPLES} |
34 |
@${MKDIR} ${EXAMPLESDIR} |
32 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
35 |
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} |
33 |
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} |
36 |
.endif |
34 |
.endif |
37 |
|
35 |
|
38 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |