Lines 19-22
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
Link Here
|
19 |
USE_LDCONFIG= yes |
19 |
USE_LDCONFIG= yes |
20 |
MESON_ARGS= -Dtests=false |
20 |
MESON_ARGS= -Dtests=false |
21 |
|
21 |
|
|
|
22 |
OPTIONS_DEFINE= DOCS EXAMPLES GLADE |
23 |
OPTIONS_DEFAULT= GLADE |
24 |
OPTIONS_SUB= yes |
25 |
|
26 |
DOCS_MESON_TRUE= gtk_doc |
27 |
DOCS_USES= python |
28 |
DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen@${PY_FLAVOR} \ |
29 |
gtkdoc-mkhtml:textproc/gtk-doc |
30 |
|
31 |
GLADE_DESC= Build and install Glade catalog |
32 |
GLADE_MESON_ENABLED= glade_catalog |
33 |
|
34 |
EXAMPLES_MESON_TRUE= examples |
35 |
|
36 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-1 |
37 |
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} |
38 |
|
39 |
post-stage-DOCS-on: |
40 |
${INSTALL_MAN} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS |
41 |
|
42 |
post-stage-EXAMPLES-on: |
43 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
44 |
cd ${WRKSRC}/examples; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} \ |
45 |
"! -name *\.bak ! -name *\.orig" |
46 |
|
47 |
add-plist-docs: ${STAGE_COOKIE} |
48 |
cd ${STAGEDIR}; ${FIND} ${DOCSDIR:C@^/@@} -type f | \ |
49 |
${SED} -e 's@^@/@' >> ${TMPPLIST} |
50 |
|
51 |
add-plist-examples: ${STAGE_COOKIE} |
52 |
cd ${STAGEDIR}; ${FIND} ${EXAMPLESDIR:C@^/@@} -type f | \ |
53 |
${SED} -e 's@^@/@' >> ${TMPPLIST} |
54 |
|
22 |
.include <bsd.port.mk> |
55 |
.include <bsd.port.mk> |