summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-02 12:25:02 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-02 12:25:02 +0800
commit990e3c9b73029a9368df69a1fdfdb7c59cbb2b82 (patch)
tree3e9cfcc98e28fd98ec4276d2e6c787f72a67aa52 /graphics
parentef911fc55a2134fe20b8733e717c9739a5b5b8c1 (diff)
downloadmarcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.tar
marcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.tar.gz
marcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.tar.bz2
marcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.tar.lz
marcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.tar.xz
marcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.tar.zst
marcuscom-ports-990e3c9b73029a9368df69a1fdfdb7c59cbb2b82.zip
Correct plist when djvu and dvi are not available.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10324 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/evince/Makefile8
-rw-r--r--graphics/evince/pkg-plist18
2 files changed, 16 insertions, 10 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index b76da618c..3809efec7 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,11 +3,12 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/evince/Makefile,v 1.84 2008/01/14 06:16:09 mezz Exp $
+# $MCom: ports/graphics/evince/Makefile,v 1.85 2008/01/29 15:21:40 kwm Exp $
#
PORTNAME= evince
PORTVERSION= 2.21.90
+PORTREVISION= 1
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -56,11 +57,14 @@ RUN_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base
CONFIGURE_ARGS+= --enable-dvi
GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas
+PLIST_SUB+= DVI=""
. if defined(WITH_T1LIB)
LIB_DEPENDS+= t1.5:${PORTSDIR}/devel/t1lib
CONFIGURE_ARGS+= --enable-t1lib
. endif
+.else
+PLIST_SUB+= DVI="@comment "
.endif
.if !defined(WITHOUT_NAUTILUS)
@@ -88,8 +92,10 @@ DJVU_DIR?= -nox11
LIB_DEPENDS+= djvulibre.19:${PORTSDIR}/graphics/djvulibre${DJVU_DIR}
CONFIGURE_ARGS+= --enable-djvu
GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
+PLIST_SUB+= DJVU=""
.else
CONFIGURE_ARGS+= --disable-djvu
+PLIST_SUB+= DJVU="@comment "
.endif
.if !defined(WITHOUT_DBUS)
diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist
index 6cea18069..f037598ac 100644
--- a/graphics/evince/pkg-plist
+++ b/graphics/evince/pkg-plist
@@ -23,15 +23,15 @@ include/evince-2.20/evince/ev-link.h
include/evince-2.20/evince/ev-render-context.h
include/evince-2.20/evince/ev-selection.h
include/evince-2.20/evince/ev-transition-effect.h
-lib/evince/backends/djvudocument.evince-backend
-lib/evince/backends/dvidocument.evince-backend
-lib/evince/backends/libdjvudocument.a
-lib/evince/backends/libdjvudocument.la
-lib/evince/backends/libdjvudocument.so
-lib/evince/backends/libdvidocument.a
-lib/evince/backends/libdvidocument.la
-lib/evince/backends/libdvidocument.so
-lib/evince/backends/libdvidocument.so.0
+%%DJVU%%lib/evince/backends/djvudocument.evince-backend
+%%DVI%%lib/evince/backends/dvidocument.evince-backend
+%%DJVU%%lib/evince/backends/libdjvudocument.a
+%%DJVU%%lib/evince/backends/libdjvudocument.la
+%%DJVU%%lib/evince/backends/libdjvudocument.so
+%%DVI%%lib/evince/backends/libdvidocument.a
+%%DVI%%lib/evince/backends/libdvidocument.la
+%%DVI%%lib/evince/backends/libdvidocument.so
+%%DVI%%lib/evince/backends/libdvidocument.so.0
lib/evince/backends/libpdfdocument.a
lib/evince/backends/libpdfdocument.la
lib/evince/backends/libpdfdocument.so