diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile --- a/graphics/cairomm/Makefile +++ b/graphics/cairomm/Makefile @@ -12,7 +12,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png -USES= compiler:c++11-lang gnome meson pkgconfig tar:xz +USES= compiler:c++11-lang gnome meson pkgconfig tar:xz xorg USE_GNOME= cairo libsigc++20 USE_XORG= x11 xext xrender USE_LDCONFIG= yes @@ -20,4 +20,18 @@ MESON_ARGS= -Dbuild-examples=false \ -Dbuild-tests=false +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-1.0 +PORTDOCS= * + +OPTIONS_DEFINE= DOCS TEST + +DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ + xsltproc:textproc/libxslt +DOCS_USES= perl5 +DOCS_USE= perl5=build +DOCS_MESON_TRUE= build-documentation + +TEST_LIB_DEPENDS= libboost_unit_test_framework.so:devel/boost-libs +TEST_MESON_TRUE= build-tests + .include diff --git a/graphics/cairomm/pkg-plist b/graphics/cairomm/pkg-plist --- a/graphics/cairomm/pkg-plist +++ b/graphics/cairomm/pkg-plist @@ -32,3 +32,4 @@ libdata/pkgconfig/cairomm-svg-1.0.pc libdata/pkgconfig/cairomm-xlib-1.0.pc libdata/pkgconfig/cairomm-xlib-xrender-1.0.pc +share/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2