2009-10-21 19:24:28 +02:00
|
|
|
# $NetBSD: options.mk,v 1.5 2009/10/21 17:28:02 drochner Exp $
|
2008-10-25 02:11:13 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.evince
|
2009-10-21 19:24:28 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= dvi djvu
|
2008-10-25 02:11:13 +02:00
|
|
|
|
|
|
|
.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
|
2009-02-18 13:39:04 +01:00
|
|
|
.include "../../print/kpathsea/buildlink3.mk"
|
2008-10-25 02:11:13 +02:00
|
|
|
.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
|