summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-14 14:16:09 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-14 14:16:09 +0800
commitc89e60decfbee3b08c6d41135f555cbd88087ce2 (patch)
treebe080207377204a2c37e9df03411a552b3026eb5
parentc75a493b6c8c9e0c73cc7890860436f1544bb295 (diff)
downloadmarcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.tar
marcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.tar.gz
marcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.tar.bz2
marcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.tar.lz
marcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.tar.xz
marcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.tar.zst
marcuscom-ports-c89e60decfbee3b08c6d41135f555cbd88087ce2.zip
Put COMICS option back in, I want to let grapics/comix to handle my *.cbr,
*.cbz and other files. It's enable by default. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10069 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/evince/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 0f6dbbe2c..eafb95b3d 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,7 +3,7 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports-stable/graphics/evince/Makefile,v 1.1 2007/12/01 19:16:37 marcus Exp $
+# $MCom: ports/graphics/evince/Makefile,v 1.83 2007/12/04 17:12:02 ahze Exp $
#
PORTNAME= evince
@@ -16,7 +16,6 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 multi-format document viewer
LIB_DEPENDS= poppler-glib.2:${PORTSDIR}/graphics/poppler-gtk
-RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
USE_LDCONFIG= yes
USE_BZIP2= yes
@@ -33,7 +32,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas \
- evince-thumbnailer-ps.schemas evince-thumbnailer-comics.schemas
+ evince-thumbnailer-ps.schemas
MAN1= evince.1
@@ -41,6 +40,7 @@ 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" on \
IMPRESS "Enable Impress presentations support" off \
DJVU "Enable DJVU support" off
@@ -96,6 +96,14 @@ CONFIGURE_ARGS+= --disable-djvu
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
.endif
+.if !defined(WITHOUT_COMICS)
+RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
+CONFIGURE_ARGS+= --enable-comics
+GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas
+.else
+CONFIGURE_ARGS+= --disable-comics
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
${WRKSRC}/configure