From d25e12e5390827169c65739d195d68b0e220e1f3 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sun, 22 Apr 2012 20:37:35 +0000 Subject: [PATCH] Update to version 4.9 PR: ports/167189 Submitted by: Yuri --- graphics/djview4/Makefile | 4 +++- graphics/djview4/distinfo | 4 ++-- .../files/patch-desktopfiles_Makefile.in | 18 ++++++++++++++---- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile index 5bf6d513eb09..e2a9a10e3254 100644 --- a/graphics/djview4/Makefile +++ b/graphics/djview4/Makefile @@ -6,7 +6,7 @@ # PORTNAME= djview -PORTVERSION= 4.8 +PORTVERSION= 4.9 CATEGORIES= graphics MASTER_SITES= SF/djvu/DjView/${PORTVERSION} @@ -31,6 +31,8 @@ CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" +WRKSRC= ${WRKDIR}/djview4-${PORTVERSION} + .if defined(CXX) && ${CXX:M*icc} QMAKESPEC?= freebsd-icc .else diff --git a/graphics/djview4/distinfo b/graphics/djview4/distinfo index 2f211599a6e2..6775292cc263 100644 --- a/graphics/djview4/distinfo +++ b/graphics/djview4/distinfo @@ -1,2 +1,2 @@ -SHA256 (djview-4.8.tar.gz) = 8c746e7c2945ca6e08046b49d0d0aeca95d389d82365cd71111025b9d796c89f -SIZE (djview-4.8.tar.gz) = 883481 +SHA256 (djview-4.9.tar.gz) = d150f557aaa073356d77c1f5e566a6a566281df5f92395b6822139f0e5c90e0c +SIZE (djview-4.9.tar.gz) = 930676 diff --git a/graphics/djview4/files/patch-desktopfiles_Makefile.in b/graphics/djview4/files/patch-desktopfiles_Makefile.in index 1c34eb9931fe..984cc13f2d4d 100644 --- a/graphics/djview4/files/patch-desktopfiles_Makefile.in +++ b/graphics/djview4/files/patch-desktopfiles_Makefile.in @@ -1,6 +1,16 @@ ---- desktopfiles/Makefile.in.orig 2011-03-31 01:20:37.000000000 -0700 -+++ desktopfiles/Makefile.in 2011-03-31 01:21:48.000000000 -0700 -@@ -54,7 +54,7 @@ +--- desktopfiles/Makefile.in.orig 2012-04-09 20:56:55.000000000 -0700 ++++ desktopfiles/Makefile.in 2012-04-21 20:39:20.000000000 -0700 +@@ -50,14 +50,14 @@ + + hi32-djview4.png hi64-djview4.png: djview.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 $< $@ \ ++ ${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=$@ $< \ ++ --export-height=$${s} --export-png=$@ $> \ || cp ${srcdir}/prebuilt-$@ $@ hi-djview4.svgz: djview.svg @@ -9,7 +19,7 @@ register-djview-menu: register-djview-menu.in sed < ${srcdir}/register-djview-menu.in > register-djview-menu \ -@@ -71,10 +71,10 @@ +@@ -74,10 +74,10 @@ install-djview-files: FORCE ${INSTALL} -d ${DESTDIR}${datadir_djview}