diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-16 23:25:01 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-16 23:25:01 +0800 |
commit | 143bf5aee35b6ea1d39b89c510c48e7095c02f95 (patch) | |
tree | b130624e7a2c39d1f0b2bcbd63877d4f5b7868ca /graphics/evince/Makefile | |
parent | 9642a519b59e6938cc6ddbeacd4b9ad14dbf6db5 (diff) | |
download | marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.tar marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.tar.gz marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.tar.bz2 marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.tar.lz marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.tar.xz marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.tar.zst marcuscom-ports-143bf5aee35b6ea1d39b89c510c48e7095c02f95.zip |
- Update to 0.3.3
- Add support for nautilus plugins, enabled by default
can be disabeled with WITHOUT_NAUTILUS
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4507 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/evince/Makefile')
-rw-r--r-- | graphics/evince/Makefile | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index f55d1de3d..e6f03cf03 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -3,11 +3,11 @@ # Whom: Adam Weinberger <adamw@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/graphics/evince/Makefile,v 1.17 2005/06/28 05:40:04 adamw Exp $ +# $MCom: ports/graphics/evince/Makefile,v 1.18 2005/07/04 00:11:28 marcus Exp $ # PORTNAME= evince -PORTVERSION= 0.3.2 +PORTVERSION= 0.3.3 CATEGORIES= graphics print gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3 @@ -30,6 +30,17 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_NAUTILUS) +USE_GNOME+= nautilus2 +CONFIGURE_ARGS+= --enable-nautilus +PLIST_SUB+= NAUTILUS="" +.else +CONFIGURE_ARGS+= --disable-nautilus +PLIST_SUB+= NAUTILUS="@comment " +.endif + .if defined(WITH_DJVU) LIB_DEPENDS+= djvulibre.14:${PORTSDIR}/graphics/djvulibre CONFIGURE_ARGS+= --enable-djvu @@ -39,8 +50,13 @@ CONFIGURE_ARGS+= --disable-djvu .endif pre-everything:: -.if !defined(WITH_DJVU) +.if !defined(WITHOUT_NAUTILUS) + @${ECHO_MSG} + @${ECHO_MSG} "You can disable nautilus plugins by defining" + @${ECHO_MSG} "WITHOUT_NAUTILUS=yes" @${ECHO_MSG} +.endif +.if !defined(WITH_DJVU) @${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" @@ -52,4 +68,4 @@ pre-everything:: post-install: @-update-desktop-database -.include <bsd.port.mk> +.include <bsd.port.post.mk> |