aboutsummaryrefslogtreecommitdiff
path: root/graphics/djvulibre
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-07-03 14:15:55 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-07-03 14:15:55 +0000
commit65d37f64c376ca32fa16d967ea493a93b2614528 (patch)
tree7b060820c56190562bea82ea4907c3b77f30d86e /graphics/djvulibre
parent02c524ae47035b939180dde1489f94ef7c00a2b2 (diff)
downloadports-65d37f64c376ca32fa16d967ea493a93b2614528.tar.gz
ports-65d37f64c376ca32fa16d967ea493a93b2614528.zip
Notes
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile6
-rw-r--r--graphics/djvulibre/distinfo6
-rw-r--r--graphics/djvulibre/files/patch-configure24
-rw-r--r--graphics/djvulibre/files/patch-desktopfiles_Makefile.in41
4 files changed, 59 insertions, 18 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index def7456bba41..6295d5afaadc 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= djvulibre
-PORTVERSION= 3.5.21
-PORTREVISION= 1
+PORTVERSION= 3.5.22
+PORTREVISION= 0
CATEGORIES= graphics www
MASTER_SITES= SF/djvu
@@ -16,7 +16,7 @@ COMMENT= DjVu viewers and browser plugin
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff \
- djvulibre.21:${PORTSDIR}/graphics/djvulibre-nox11
+ djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11
USE_ICONV= yes
USE_GNOME= gnomehack gnometarget
diff --git a/graphics/djvulibre/distinfo b/graphics/djvulibre/distinfo
index d128ef1130b2..003f8f6a27e7 100644
--- a/graphics/djvulibre/distinfo
+++ b/graphics/djvulibre/distinfo
@@ -1,3 +1,3 @@
-MD5 (djvulibre-3.5.21.tar.gz) = 4c6f3eb03ffbd067b6d2fe2344b0d9ad
-SHA256 (djvulibre-3.5.21.tar.gz) = 39f80c1810be22c5ea7f6a44bbb449c3e29902895dcff9da6a8440891a67b8b4
-SIZE (djvulibre-3.5.21.tar.gz) = 2993718
+MD5 (djvulibre-3.5.22.tar.gz) = d1513784ce0e4f37d71595dc34c95ec7
+SHA256 (djvulibre-3.5.22.tar.gz) = 3d9242f98db8f5fc8ca239ccaa91e70c20451fe3b3fa8de6f133e0888f89f0be
+SIZE (djvulibre-3.5.22.tar.gz) = 3027985
diff --git a/graphics/djvulibre/files/patch-configure b/graphics/djvulibre/files/patch-configure
index ecfe48a92d0c..bf21e13ba438 100644
--- a/graphics/djvulibre/files/patch-configure
+++ b/graphics/djvulibre/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Mon Oct 31 19:34:47 2005
-+++ configure Tue Apr 18 13:55:47 2006
-@@ -486,7 +486,7 @@
+--- configure.orig 2009-07-03 15:21:12.000000000 +0400
++++ configure 2009-07-03 15:22:16.000000000 +0400
+@@ -945,7 +945,7 @@
srcdir=
verbose=
x_includes=NONE
@@ -9,12 +9,12 @@
# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
-@@ -26327,7 +26327,7 @@
- then
- NSDEJAVU_CFLAGS=${X_CFLAGS}
- case "$host" in
-- *-cygwin* | *-mingw*)
-+ *-cygwin* | *-mingw* | *-freebsd*)
- NSDEJAVU_LIBS="`echo ${X_LIBS} | sed -e 's/-lXext/-lXt -lXext/'`"
- NSDEJAVU_LIBS="-no-undefined $NSDEJAVU_LIBS"
- ;;
+@@ -28076,7 +28076,7 @@
+
+ NSDEJAVU_CFLAGS=${X_CFLAGS}
+ case "$host" in
+- *-cygwin* | *-mingw*)
++ *-cygwin* | *-mingw* | *-freebsd*)
+ NSDEJAVU_LIBS="`echo ${X_LIBS} | sed -e 's/-lXext/-lXt -lXext/'`"
+ NSDEJAVU_LIBS="-no-undefined $NSDEJAVU_LIBS"
+ ;;
diff --git a/graphics/djvulibre/files/patch-desktopfiles_Makefile.in b/graphics/djvulibre/files/patch-desktopfiles_Makefile.in
new file mode 100644
index 000000000000..fd218965e260
--- /dev/null
+++ b/graphics/djvulibre/files/patch-desktopfiles_Makefile.in
@@ -0,0 +1,41 @@
+--- ./desktopfiles/Makefile.in.orig 2009-07-03 16:20:19.000000000 +0400
++++ ./desktopfiles/Makefile.in 2009-07-03 16:20:48.000000000 +0400
+@@ -30,6 +30,7 @@
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
+ CONVERT = @CONVERT@
+ XDG_MIME = @XDG_MIME@
+@@ -64,10 +65,10 @@
+ || cp ${srcdir}/prebuilt-$@ $@
+
+ hi-djvu.svgz: djvu.svg
+- cat $< | gzip >$@
++ cat ${.ALLSRC} | gzip >$@
+
+ hi-djview3.svgz: djview.svg
+- cat $< | gzip >$@
++ cat ${.ALLSRC} | gzip >$@
+
+ register-djvu-mime: register-djvu-mime.in
+ sed < ${srcdir}/register-djvu-mime.in > register-djvu-mime \
+@@ -96,7 +97,7 @@
+
+ install-djvu-files: FORCE
+ ${INSTALL} -d ${DESTDIR}${datadir_djvu}
+- ${INSTALL_PROGRAM} register-djvu-mime ${DESTDIR}${datadir_djvu}
++ ${INSTALL_SCRIPT} register-djvu-mime ${DESTDIR}${datadir_djvu}
+ ${INSTALL_DATA} *djvu.png ${DESTDIR}${datadir_djvu}
+ ${INSTALL_DATA} *djvu.svgz ${DESTDIR}${datadir_djvu}
+ ${INSTALL_DATA} ${srcdir}/*mime.xml ${DESTDIR}${datadir_djvu}
+@@ -105,7 +106,7 @@
+
+ install-djview-files: FORCE
+ ${INSTALL} -d ${DESTDIR}${datadir_djview}
+- ${INSTALL_PROGRAM} register-djview-menu ${DESTDIR}${datadir_djview}
++ ${INSTALL_SCRIPT} register-djview-menu ${DESTDIR}${datadir_djview}
+ ${INSTALL_DATA} *djview3.png ${DESTDIR}${datadir_djview}
+ ${INSTALL_DATA} *djview3.svgz ${DESTDIR}${datadir_djview}
+ ${INSTALL_PROGRAM} ${srcdir}/*djview3.desktop ${DESTDIR}${datadir_djview}