diff options
-rw-r--r-- | graphics/evince/Makefile | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 4ddb3e166..2479577e0 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -3,7 +3,7 @@ # Whom: Adam Weinberger <adamw@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/graphics/evince/Makefile,v 1.70 2007/05/30 03:21:42 mezz Exp $ +# $MCom: ports/graphics/evince/Makefile,v 1.71 2007/06/20 17:10:30 ahze Exp $ # PORTNAME= evince @@ -40,9 +40,9 @@ OPTIONS= DVI "Enable DVI viewer support" off \ T1LIB "Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)" off \ NAUTILUS "Enable Nautilus plugin" on \ DBUS "Enable D-BUS support" on \ - COMICS "Enable comic book archives support" off -# IMPRESS "Enable Impress presentations support" off \ -# DJVU "Enable DJVU support" off + COMICS "Enable comic book archives support" off \ + IMPRESS "Enable Impress presentations support" off \ + DJVU "Enable DJVU support" off .include <bsd.port.pre.mk> @@ -73,25 +73,25 @@ CONFIGURE_ARGS+= --disable-nautilus PLIST_SUB+= NAUTILUS="@comment " .endif -#.if defined(WITH_IMPRESS) -#CONFIGURE_ARGS+= --enable-impress -#.else +.if defined(WITH_IMPRESS) +CONFIGURE_ARGS+= --enable-impress +.else CONFIGURE_ARGS+= --disable-impress -#.endif +.endif -#.if exists(${LOCALBASE}/bin/djview) -#DJVU_DIR?= # empty -#.else -#DJVU_DIR?= -nox11 -#.endif -# -#.if defined(WITH_DJVU) -#LIB_DEPENDS+= djvulibre.17:${PORTSDIR}/graphics/djvulibre${DJVU_DIR} -#CONFIGURE_ARGS+= --enable-djvu -#GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas -#.else +.if exists(${LOCALBASE}/bin/djview) +DJVU_DIR?= # empty +.else +DJVU_DIR?= -nox11 +.endif + +.if defined(WITH_DJVU) +LIB_DEPENDS+= djvulibre.17:${PORTSDIR}/graphics/djvulibre${DJVU_DIR} +CONFIGURE_ARGS+= --enable-djvu +GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas +.else CONFIGURE_ARGS+= --disable-djvu -#.endif +.endif .if !defined(WITHOUT_DBUS) LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib |