diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2012-06-13 14:26:58 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2012-06-13 14:26:58 +0000 |
commit | a80dfd38a878cbc5662e8ed929fb8dd1d78614af (patch) | |
tree | 2850d401111a608dcd9f4b7c2436d06401740f95 /graphics/djvulibre | |
parent | eed1042ec2ddd979f95df54c9bde31cbd5a94363 (diff) | |
download | ports-a80dfd38a878cbc5662e8ed929fb8dd1d78614af.tar.gz ports-a80dfd38a878cbc5662e8ed929fb8dd1d78614af.zip |
Notes
Diffstat (limited to 'graphics/djvulibre')
-rw-r--r-- | graphics/djvulibre/files/patch-desktopfiles_Makefile.in | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/graphics/djvulibre/files/patch-desktopfiles_Makefile.in b/graphics/djvulibre/files/patch-desktopfiles_Makefile.in index 6059dc24e4ad..bff3d33aebcd 100644 --- a/graphics/djvulibre/files/patch-desktopfiles_Makefile.in +++ b/graphics/djvulibre/files/patch-desktopfiles_Makefile.in @@ -1,23 +1,24 @@ ---- desktopfiles/Makefile.in.orig 2012-05-07 22:56:53.000000000 -0400 -+++ desktopfiles/Makefile.in 2012-06-09 21:00:25.000000000 -0400 -@@ -30,9 +30,10 @@ +--- desktopfiles/Makefile.in.orig 2012-06-13 09:31:40.000000000 -0400 ++++ desktopfiles/Makefile.in 2012-06-13 09:34:37.000000000 -0400 +@@ -30,6 +30,7 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ CONVERT = @CONVERT@ --INKSCAPE = @INKSCAPE@ -+INKSCAPE = false - RSVG = @RSVG@ - XDG_MIME = @XDG_MIME@ - XDG_ICON_RESOURCE = @XDG_ICON_RESOURCE@ -@@ -58,10 +59,10 @@ - || ${CONVERT} -geometry $${s}x$${s} -depth 8 -background none $< $@ \ - || ${INKSCAPE} --without-gui --export-width=$${s} \ - --export-height=$${s} --export-png=$@ $< \ + INKSCAPE = @INKSCAPE@ +@@ -53,15 +54,10 @@ + icons: ${PNGICONS} hi-djvu.svgz + + ${PNGICONS}: djvu.svg +- s=`echo $@ | sed -e 's/[a-z]*\([0-9]*\).*/\1/'`; \ +- ${RSVG} -w $${s} -h $${s} -o $@ $< \ +- || ${CONVERT} -geometry $${s}x$${s} -depth 8 -background none $< $@ \ +- || ${INKSCAPE} --without-gui --export-width=$${s} \ +- --export-height=$${s} --export-png=$@ $< \ - || cp ${srcdir}/prebuilt-$@ $@ -+ || if test -f ${srcdir}/prebuilt-$@ ; then cp ${srcdir}/prebuilt-$@ $@ ; fi ++ if test -f ${srcdir}/prebuilt-$@ ; then cp ${srcdir}/prebuilt-$@ $@ ; fi hi-djvu.svgz: djvu.svg - cat $< | gzip >$@ @@ -25,7 +26,7 @@ register-djvu-mime: register-djvu-mime.in sed < ${srcdir}/register-djvu-mime.in > register-djvu-mime \ -@@ -80,7 +81,7 @@ +@@ -80,7 +76,7 @@ install-djvu-files: FORCE ${INSTALL} -d ${DESTDIR}${datadir_djvu} |