aboutsummaryrefslogtreecommitdiff
path: root/graphics/djvulibre
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2008-02-17 20:10:19 +0000
committerStanislav Sedov <stas@FreeBSD.org>2008-02-17 20:10:19 +0000
commit4c752974adeb4e6895da57abea2568fb5d8894b2 (patch)
tree41e3c3783a710b3a6eec06c96405a3a12091ab0c /graphics/djvulibre
parente74436709a07d7711396a09654b5ecd659ec4071 (diff)
downloadports-4c752974adeb4e6895da57abea2568fb5d8894b2.tar.gz
ports-4c752974adeb4e6895da57abea2568fb5d8894b2.zip
Notes
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r--graphics/djvulibre/Makefile2
-rw-r--r--graphics/djvulibre/distinfo6
-rw-r--r--graphics/djvulibre/files/patch-tools_any2djvu44
-rw-r--r--graphics/djvulibre/pkg-plist7
4 files changed, 32 insertions, 27 deletions
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index d680ce62a2de..4eb20d4a756f 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= djvulibre
-PORTVERSION= 3.5.19
+PORTVERSION= 3.5.20
PORTREVISION= 0
CATEGORIES= graphics www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/graphics/djvulibre/distinfo b/graphics/djvulibre/distinfo
index 7d8d57e6b7a8..4635bb276def 100644
--- a/graphics/djvulibre/distinfo
+++ b/graphics/djvulibre/distinfo
@@ -1,3 +1,3 @@
-MD5 (djvulibre-3.5.19.tar.gz) = 0330d87ad337e408e21e1018eb511839
-SHA256 (djvulibre-3.5.19.tar.gz) = 57ffa154f45de309b352ce53aa6618af2f8639d1e330470c3c955241d44ccd78
-SIZE (djvulibre-3.5.19.tar.gz) = 2380092
+MD5 (djvulibre-3.5.20.tar.gz) = c94091de014b3aaf037d3d0f398d36c2
+SHA256 (djvulibre-3.5.20.tar.gz) = d937528e10c16831d8df31893ee24da8ec2bfd9e9170671c482a1b1abfc5efc3
+SIZE (djvulibre-3.5.20.tar.gz) = 2416958
diff --git a/graphics/djvulibre/files/patch-tools_any2djvu b/graphics/djvulibre/files/patch-tools_any2djvu
index e62318a5eb2c..b906d741f7de 100644
--- a/graphics/djvulibre/files/patch-tools_any2djvu
+++ b/graphics/djvulibre/files/patch-tools_any2djvu
@@ -1,12 +1,12 @@
---- tools/any2djvu.orig Sat Feb 17 02:33:06 2007
-+++ tools/any2djvu Sat Feb 17 02:36:10 2007
+--- tools/any2djvu.orig 2008-02-17 20:18:08.000000000 +0300
++++ tools/any2djvu 2008-02-17 20:20:31.000000000 +0300
@@ -1,11 +1,11 @@
-#! /bin/bash -f
+#!/bin/sh
# CVS version control block - do not edit manually
# $RCSfile: any2djvu,v $
- # $Revision: 1.1 $
- # $Date: 2005/08/23 15:53:01 $
+ # $Revision: 1.3 $
+ # $Date: 2007/08/10 08:08:55 $
# $Source: /cvsroot/djvu/djvulibre-3.5/tools/any2djvu,v $
-function copyright()
@@ -59,37 +59,37 @@
{
echo "Convert files from .ps/.ps.gz/.pdf to .djvu"
echo "Usage: $0 [options] [url] {filename(s)}"
-@@ -121,13 +121,13 @@
+@@ -123,13 +123,13 @@
fi
# check OCR option
--if [ ! x$ocr == x0 ] && [ ! x$ocr == x1 ]; then
-+if [ ! x$ocr = x0 ] && [ ! x$ocr = x1 ]; then
+-if [ ! "x$ocr" == x0 ] && [ ! "x$ocr" == x1 ]; then
++if [ ! "x$ocr" = x0 ] && [ ! "x$ocr" = x1 ]; then
echo 'error: -o OCR must be 0 or 1'
exit 2
fi
# if help is requested or docformat is not specified right - show help
--if [ x$docformat == x'help' ]; then
-+if [ x$docformat = x'help' ]; then
+-if [ "x$docformat" == x'help' ]; then
++if [ "x$docformat" = x'help' ]; then
format_help
exit 0
fi
-@@ -190,7 +190,7 @@
- -F ocr=$ocr -F legal=1 $rurl/$rcgi \
- | eval tee $log $shellopts
+@@ -215,7 +215,7 @@
+ -F ocr=$ocr -F legal=1 "$rurl/$rcgi" \
+ | eval tee "'$log'" $shellopts
else
-- wget $wgetopts -O - "$rurl/$rcgi?urlupload=$lurl/$in$cgiopts" \
-+ /usr/bin/fetch $wgetopts -o - "$rurl/$rcgi?urlupload=$lurl/$in$cgiopts" \
- | eval tee $log $shellopts
+- wget $wgetopts -O - "$rurl/$rcgi?urlupload=$lurl/$in$cgiopts" \
++ /usr/bin/fetch$wgetopts -o - "$rurl/$rcgi?urlupload=$lurl/$in$cgiopts" \
+ | eval tee "'$log'" $shellopts
fi
- l=`egrep 'href=djvu/.*\.djvu' $log`
-@@ -200,7 +200,7 @@
- echo "error: something got wrong. check log file"
- exit 1
+ l=`egrep 'href=djvu/.*\.djvu' "$log"`
+@@ -225,7 +225,7 @@
+ echo "error: something got wrong. check log file"
+ exit 1
fi
-- wget $wgetopts -O $b.djvu "$rurl/$l"
+- wget $wgetopts -O "$b.djvu" "$rurl/$l"
+ /usr/bin/fetch $wgetopts -o $b.djvu "$rurl/$l"
- [ -z $doclean ] || rm $log
- [ -z $silent ] && ls -l $b.djvu
+ [ -z "$doclean" ] || rm "$log"
+ [ -z $silent ] && ls -l "$b.djvu"
diff --git a/graphics/djvulibre/pkg-plist b/graphics/djvulibre/pkg-plist
index 1f3b44a3db15..38f70b4c2341 100644
--- a/graphics/djvulibre/pkg-plist
+++ b/graphics/djvulibre/pkg-plist
@@ -24,8 +24,10 @@ include/libdjvu/miniexp.h
%%X11%%lib/djvulibre/plugins/nsdejavu.so
lib/libdjvulibre.la
lib/libdjvulibre.so
-lib/libdjvulibre.so.19
+lib/libdjvulibre.so.20
libdata/pkgconfig/ddjvuapi.pc
+%%X11%%share/djvu/djview3/cs/djview.qm
+%%X11%%share/djvu/djview3/cs/qt.qm
%%X11%%share/djvu/djview3/de/djview.qm
%%X11%%share/djvu/djview3/de/qt.qm
%%X11%%share/djvu/djview3/desktop/djvulibre-djview3.desktop
@@ -35,6 +37,7 @@ libdata/pkgconfig/ddjvuapi.pc
%%X11%%share/djvu/djview3/fr/qt.qm
%%X11%%share/djvu/djview3/ja/djview.qm
%%X11%%%%X11%%share/djvu/djview3/ja/qt.qm
+share/djvu/osi/cs/messages.xml
share/djvu/osi/de/libdjvu++.xml
share/djvu/osi/de/messages.xml
share/djvu/osi/desktop/djvulibre-mime.xml
@@ -67,11 +70,13 @@ share/djvu/pubtext/DjVuXML-s.dtd
@dirrm share/djvu/osi/en
@dirrm share/djvu/osi/desktop
@dirrm share/djvu/osi/de
+@dirrm share/djvu/osi/cs
@dirrm share/djvu/osi
%%X11%%@dirrm share/djvu/djview3/ja
%%X11%%@dirrm share/djvu/djview3/fr
%%X11%%@dirrm share/djvu/djview3/desktop
%%X11%%@dirrm share/djvu/djview3/de
+%%X11%%@dirrm share/djvu/djview3/cs
%%X11%%@dirrm share/djvu/djview3
@dirrmtry share/djvu
@dirrmtry man/fr/man1