diff options
Diffstat (limited to 'graphics/librsvg2-rust/Makefile')
-rw-r--r-- | graphics/librsvg2-rust/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/graphics/librsvg2-rust/Makefile b/graphics/librsvg2-rust/Makefile index 008b63dffe83..73387dcbf41a 100644 --- a/graphics/librsvg2-rust/Makefile +++ b/graphics/librsvg2-rust/Makefile @@ -1,6 +1,6 @@ PORTNAME= librsvg DISTVERSION= 2.60.0 -PORTREVISION= 2 +PORTREVISION= 4 CATEGORIES= graphics gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 2-rust @@ -23,7 +23,7 @@ LIB_DEPENDS= libdav1d.so:multimedia/dav1d \ TEST_DEPENDS= urw-base35-fonts>0:x11-fonts/urw-base35-fonts USES= cargo compiler:c11 cpe gettext gnome meson pkgconfig \ - python:build shebangfix tar:xz vala:build + python:build shebangfix tar:xz CPE_VENDOR= gnome SHEBANG_FILES= meson/*.py \ benchmarks/*.py \ @@ -43,12 +43,17 @@ MAKE_ENV= ${CARGO_ENV} MESON_ARGS= -Dtests=true -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS VAPI +OPTIONS_DEFAULT= VAPI +OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_ENABLED= docs +VAPI_MESON_ENABLED= vala +VAPI_USES= vala:build + post-install-DOCS-off: - ${LOCALBASE}/bin/rst2man --no-datestamp ${WRKSRC}/rsvg-convert.rst --output=${STAGEDIR}${PREFIX}/share/man/man1/rsvg-convert.1 + ${LOCALBASE}/bin/rst2man --no-datestamp ${WRKSRC}/rsvg-convert.rst > ${STAGEDIR}${PREFIX}/share/man/man1/rsvg-convert.1 .include <bsd.port.mk> |