summaryrefslogtreecommitdiff
path: root/graphics/evince
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-11-23 23:56:13 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-11-23 23:56:13 +0000
commit77d9d6af3d8833445a7916149646bf5cfb846e84 (patch)
treeb330cc4a4f6f11eea59db411843ac65f4a87512b /graphics/evince
parent - mark port deprecated (diff)
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@
Notes
Notes: svn path=/head/; revision=265036
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile5
-rw-r--r--graphics/evince/files/patch-configure13
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)