Lines 42-48
Link Here
|
42 |
DOCSRCDIR1= ${WRKSRC} |
42 |
DOCSRCDIR1= ${WRKSRC} |
43 |
DOC_FILES1= AUTHORS README |
43 |
DOC_FILES1= AUTHORS README |
44 |
|
44 |
|
45 |
DOCSRCDIR2= ${WRKSRC}/docs |
45 |
DOCSRCDIR2= ${WRKSRC}/docs |
46 |
DOCSDIR2= ${DOCSDIR}/docs |
46 |
DOCSDIR2= ${DOCSDIR}/docs |
47 |
DOC_FILES2= *.png *.jpg *.gif *.html *.rst *.css |
47 |
DOC_FILES2= *.png *.jpg *.gif *.html *.rst *.css |
48 |
|
48 |
|
Lines 50-56
Link Here
|
50 |
|
50 |
|
51 |
OPTIONS_DEFINE= DOCS EXAMPLES |
51 |
OPTIONS_DEFINE= DOCS EXAMPLES |
52 |
|
52 |
|
53 |
.include <bsd.port.pre.mk> |
53 |
.include <bsd.port.options.mk> |
54 |
|
54 |
|
55 |
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON) |
55 |
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" && defined(USE_PYTHON) |
56 |
CONFIGURE_ARGS+= --enable-python-binding \ |
56 |
CONFIGURE_ARGS+= --enable-python-binding \ |
Lines 59-78
Link Here
|
59 |
CONFIGURE_ARGS+= --disable-python-binding |
59 |
CONFIGURE_ARGS+= --disable-python-binding |
60 |
.endif |
60 |
.endif |
61 |
|
61 |
|
62 |
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" |
|
|
63 |
post-patch: slave-post-patch |
64 |
.else |
65 |
|
66 |
post-patch: |
62 |
post-patch: |
67 |
@${REINPLACE_CMD} -e 's|<include>/usr/local/include|<include>${PREFIX}/include|' \ |
63 |
@${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \ |
68 |
${WRKSRC}/Jamfile |
64 |
${WRKSRC}/Jamfile |
69 |
.endif |
|
|
70 |
|
65 |
|
71 |
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L} == "yes" |
|
|
72 |
post-install: slave-post-install |
73 |
.else |
74 |
post-install: |
66 |
post-install: |
75 |
.endif |
|
|
76 |
.if ${PORT_OPTIONS:MDOCS} |
67 |
.if ${PORT_OPTIONS:MDOCS} |
77 |
@${MKDIR} ${DOCSDIR} |
68 |
@${MKDIR} ${DOCSDIR} |
78 |
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} |
69 |
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} |
Lines 84-87
Link Here
|
84 |
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR} |
75 |
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR} |
85 |
.endif |
76 |
.endif |
86 |
|
77 |
|
87 |
.include <bsd.port.post.mk> |
78 |
.include <bsd.port.mk> |