summaryrefslogtreecommitdiffstats
path: root/graphics/evince/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-05-22 12:07:40 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-05-22 12:07:40 +0800
commiteeff762b1bf6425c558a77e9e069e434210e5275 (patch)
treecd998fb91dbd82a9ce7d2afdfb7cb0b15e6b25b4 /graphics/evince/Makefile
parent266c6db2b9e8b22007b53a6c5d4688c914a81fb8 (diff)
downloadmarcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.tar
marcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.tar.gz
marcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.tar.bz2
marcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.tar.lz
marcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.tar.xz
marcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.tar.zst
marcuscom-ports-eeff762b1bf6425c558a77e9e069e434210e5275.zip
- Add evince at version 0.3.1
* cario 0.5.0 update port. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4006 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/evince/Makefile')
-rw-r--r--graphics/evince/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
new file mode 100644
index 000000000..17eb813bc
--- /dev/null
+++ b/graphics/evince/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: evince
+# Date created: 09 January 2005
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD: ports/graphics/evince/Makefile,v 1.10 2005/05/08 02:51:06 ahze Exp $
+#
+
+PORTNAME= evince
+PORTVERSION= 0.3.1
+CATEGORIES= graphics print gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME 2 multi-format document viewer
+
+LIB_DEPENDS= poppler.0:${PORTSDIR}/graphics/poppler
+
+USE_BZIP2= yes
+USE_LIBTOOL_VER=15
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GHOSTSCRIPT=yes
+INSTALLS_OMF= yes
+USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui libgnomeprintui \
+ desktopfileutils
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas
+
+.if defined(WITH_DJVU)
+LIB_DEPENDS+= djvulibre.14:${PORTSDIR}/graphics/djvulibre
+CONFIGURE_ARGS+= --enable-djvu
+GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas
+.else
+CONFIGURE_ARGS+= --disable-djvu
+.endif
+
+pre-everything::
+.if !defined(WITH_DJVU)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want DjVu support included, hit Ctrl-C now and use"
+ @${ECHO_MSG} "\"make WITH_DJVU=yes\""
+ @${ECHO_MSG} "NOTE: GNOME/Gtk+ users may want to avoid QT dependency required"
+ @${ECHO_MSG} "by defaut djvulibre installation. They need to use
+ @${ECHO_MSG} "\"make WITHOUT_X11=yes\" when build that library then."
+ @${ECHO_MSG}
+.endif
+
+post-install:
+ @-update-desktop-database
+
+.include <bsd.port.mk>