summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GraphicsMagick/options.mk')
-rwxr-xr-xgraphics/GraphicsMagick/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/GraphicsMagick/options.mk b/graphics/GraphicsMagick/options.mk
index 25667b952c8..a1d5eabfbfc 100755
--- a/graphics/GraphicsMagick/options.mk
+++ b/graphics/GraphicsMagick/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2011/05/16 01:18:54 dmcmahill Exp $
+# $NetBSD: options.mk,v 1.2 2011/05/18 14:26:26 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.GraphicsMagick
PKG_SUPPORTED_OPTIONS= bzip2 x11 jasper ghostscript wmf
@@ -6,6 +6,8 @@ PKG_SUGGESTED_OPTIONS= bzip2 x11 jasper
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= jasper x11
+
.if !empty(PKG_OPTIONS:Mbzip2)
.include "../../archivers/bzip2/buildlink3.mk"
.else
@@ -17,6 +19,7 @@ CONFIGURE_ARGS+= --without-bzlib
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
+PLIST.x11= yes
.else
CONFIGURE_ARGS+= --without-x
.endif
@@ -25,6 +28,7 @@ CONFIGURE_ARGS+= --without-x
BUILDLINK_API_DEPENDS.jasper+= jasper>=1.701.0
.include "../../graphics/jasper/buildlink3.mk"
CONFIGURE_ARGS+= --with-jp2
+PLIST.jasper= yes
.else
CONFIGURE_ARGS+= --without-jp2
.endif