pkgsrc/graphics/ImageMagick6/options.mk
ryoon 723f930d24 Import ImageMagick6-6.9.4.4 as graphics/ImageMagick6.
ImageMagick TM, is a package for display and interactive manipulation
of images for the X Window System.  It is written in C and interfaces
to the X library, and therefore does not require any proprietary
toolkit in order to compile.  Although the software is copyrighted, it
is available for free and can be redistributed without fee.

The ImageMagick image display program can display an image on any
workstation screen running an X server.  It can read and write many of
the more popular image formats including JPEG, TIFF, PNM, GIF, and
Photo CD.  In addition you can interactively resize, rotate, sharpen,
color reduce, or add special effects to an image and save your
completed work in the same or differing image format.

This package tracks 6 release branch for backward compatibility.
2016-05-25 12:41:17 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: options.mk,v 1.1 2016/05/25 12:41:17 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ImageMagick
PKG_SUPPORTED_OPTIONS= x11 jasper djvu openexr wmf
PKG_SUGGESTED_OPTIONS= x11 jasper
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mx11)
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.endif
.if !empty(PKG_OPTIONS:Mjasper)
BUILDLINK_API_DEPENDS.jasper+= jasper>=1.701.0
.include "../../graphics/jasper/buildlink3.mk"
CONFIGURE_ARGS+= --with-jp2
.else
CONFIGURE_ARGS+= --without-jp2
.endif
.if !empty(PKG_OPTIONS:Mdjvu)
.include "../../graphics/djvulibre-lib/buildlink3.mk"
CONFIGURE_ARGS+= --with-djvu
.else
CONFIGURE_ARGS+= --without-djvu
.endif
.if !empty(PKG_OPTIONS:Mopenexr)
.include "../../graphics/openexr/buildlink3.mk"
CONFIGURE_ARGS+= --with-openexr
.else
CONFIGURE_ARGS+= --without-openexr
.endif
.if !empty(PKG_OPTIONS:Mwmf)
.include "../../graphics/libwmf/buildlink3.mk"
CONFIGURE_ARGS+= --with-wmf
.else
CONFIGURE_ARGS+= --without-wmf
.endif