summaryrefslogtreecommitdiff
path: root/devel/exempi/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-04-12 10:56:18 +0000
committerwiz <wiz@pkgsrc.org>2008-04-12 10:56:18 +0000
commit19cdd84fe84bbafe488257dab9479d78223aa9f6 (patch)
treee5b72a9a016209e080d73a1d07777d4579b4daeb /devel/exempi/options.mk
parentc0138295c300d078724f6f7e4f6b53a764c32376 (diff)
downloadpkgsrc-19cdd84fe84bbafe488257dab9479d78223aa9f6.tar.gz
Import exempi-2.0.0 as devel/exempi.
XMP (Extensible Metadata Platform) facilitates embedding metadata in files using a subset of RDF. Most notably XMP supports embedding metadata in PDF and many image formats, though it is designed to support nearly any file type.
Diffstat (limited to 'devel/exempi/options.mk')
-rw-r--r--devel/exempi/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/exempi/options.mk b/devel/exempi/options.mk
new file mode 100644
index 00000000000..308c116a414
--- /dev/null
+++ b/devel/exempi/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1.1.1 2008/04/12 10:56:18 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.exempi
+PKG_SUPPORTED_OPTIONS= test
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtest)
+CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-libs}
+.include "../../devel/boost-libs/buildlink3.mk"
+
+# 2 self tests fail, see https://bugs.freedesktop.org/show_bug.cgi?id=15265
+TEST_TARGET= check
+.else
+CONFIGURE_ARGS+= --enable-unittest=no
+.endif