diff options
author | kwm <kwm@FreeBSD.org> | 2010-11-24 07:56:13 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2010-11-24 07:56:13 +0800 |
commit | f1c34deccd2082d19531231d860458505349a925 (patch) | |
tree | 831bdf7db9652c6c61112473cea0dd91386d215a /graphics/evince | |
parent | 2b89ccf68bc027e576579d49021c8943f18b4672 (diff) | |
download | freebsd-ports-gnome-f1c34deccd2082d19531231d860458505349a925.tar.gz freebsd-ports-gnome-f1c34deccd2082d19531231d860458505349a925.tar.zst freebsd-ports-gnome-f1c34deccd2082d19531231d860458505349a925.zip |
Let the port itself handle the installing of the glib schema file.
This will fix registration of said schema, and will enable evince to run.
While here remove extra PORTVERSION.
Reported and Tested by: lx@
Diffstat (limited to 'graphics/evince')
-rw-r--r-- | graphics/evince/Makefile | 5 | ||||
-rw-r--r-- | graphics/evince/files/patch-configure | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index fa9f2c828dee..a5c5cc5346dd 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -7,9 +7,8 @@ # PORTNAME= evince -PORTVERSION= 2.30.3 PORTVERSION= 2.32.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -132,7 +131,5 @@ post-patch: post-install: @-update-desktop-database - @${INSTALL_DATA} ${WRKSRC}/data/org.gnome.Evince.gschema.xml \ - ${PREFIX}/share/glib-2.0/schemas .include <bsd.port.post.mk> diff --git a/graphics/evince/files/patch-configure b/graphics/evince/files/patch-configure new file mode 100644 index 000000000000..5387253d21a3 --- /dev/null +++ b/graphics/evince/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig 2010-11-23 20:50:39.000000000 +0100 ++++ configure 2010-11-23 21:13:41.000000000 +0100 +@@ -18419,8 +18419,8 @@ + .SECONDARY: $(gsettings_SCHEMAS) + + gsettings__base_list = \ +- sed "$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g" | \ +- sed "$$!N;$$!N;$$!N;$$!N;s/\n/ /g" ++ sed '\''$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g'\'' | \ ++ sed '\''$$!N;$$!N;$$!N;$$!N;s/\n/ /g'\'' + + install-gsettings-schemas: $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) + @$(NORMAL_INSTALL) |