pkgsrc/print/evince/options.mk

23 lines
572 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.5 2009/10/21 17:28:02 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.evince
PKG_SUPPORTED_OPTIONS= dvi djvu
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mdvi)
CONFIGURE_ARGS+= --enable-dvi
PLIST.dvi= yes
GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas
.include "../../print/kpathsea/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mdjvu)
CONFIGURE_ARGS+= --enable-djvu
PLIST.djvu= yes
GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.endif