diff options
author | kwm <kwm@FreeBSD.org> | 2013-06-14 04:30:47 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-06-14 04:30:47 +0800 |
commit | bf6029ab481765e5bb1456de80a182f267a93b08 (patch) | |
tree | 8b1a938dbb8cd0cb450759737321cb72219ccebd /graphics | |
parent | c4ad7281ddb51daaea41cd3a6bdb82c8a2bcc9e9 (diff) | |
download | freebsd-ports-gnome-bf6029ab481765e5bb1456de80a182f267a93b08.tar.gz freebsd-ports-gnome-bf6029ab481765e5bb1456de80a182f267a93b08.tar.zst freebsd-ports-gnome-bf6029ab481765e5bb1456de80a182f267a93b08.zip |
Convert to USES=desktop-file-utils, drop depend on unzip it in base these
days, fix a bug the t1lib option that was missed in the OptionsNG conversion.
Obtained from: GNOME dev repo.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/evince/Makefile | 15 | ||||
-rw-r--r-- | graphics/evince/pkg-plist | 2 |
2 files changed, 5 insertions, 12 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 2bf0f7e163d9..80c280025374 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -1,10 +1,10 @@ # Created by: Adam Weinberger <adamw@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/graphics/evince/Makefile,v 1.159 2012/09/01 23:02:10 mezz Exp $ +# $MCom: ports/trunk/graphics/evince/Makefile 17268 2013-04-01 05:13:11Z marcus $ PORTNAME= evince PORTVERSION= 2.32.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -27,9 +27,8 @@ USE_AUTOTOOLS= libtool INSTALLS_ICONS= yes USE_GMAKE= yes INSTALLS_OMF= yes -USES= pathfix gettext -USE_GNOME= intlhack gnomeprefix desktopfileutils \ - gnomedocutils ltasneededhack gconf2 +USES= desktop-file-utils gettext pathfix +USE_GNOME= intlhack gnomeprefix gnomedocutils ltasneededhack gconf2 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -61,7 +60,7 @@ CONFIGURE_ARGS+= --enable-dvi GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas PLIST_SUB+= DVI="" -. if defined(WITH_T1LIB) +. if ${PORT_OPTIONS:MT1LIB} LIB_DEPENDS+= t1:${PORTSDIR}/devel/t1lib CONFIGURE_ARGS+= --enable-t1lib . else @@ -108,7 +107,6 @@ PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MCOMICS} -RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip CONFIGURE_ARGS+= --enable-comics GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas PLIST_SUB+= COMICS="" @@ -125,7 +123,4 @@ post-patch: ${WRKSRC}/help/reference/libdocument/Makefile.in \ ${WRKSRC}/help/reference/libview/Makefile.in -post-install: - @-update-desktop-database - .include <bsd.port.mk> diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist index 3ee286623577..8683642eb25f 100644 --- a/graphics/evince/pkg-plist +++ b/graphics/evince/pkg-plist @@ -489,8 +489,6 @@ share/omf/evince/evince-zh_CN.omf @dirrm include/evince/%%VERSION%%/libdocument @dirrm include/evince/%%VERSION%% @dirrm include/evince -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/te/LC_MESSAGES |