Date: Thu, 10 Jan 2008 03:00:12 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/119499: Update port: graphics/gocr to 0.45 Message-ID: <20080110030012.77401daf.tkato432@yahoo.com> Resent-Message-ID: <200801091810.m09IA1Q6059687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119499 >Category: ports >Synopsis: Update port: graphics/gocr to 0.45 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 09 18:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 6.2-RELEASE-p8 i386 >Organization: >Environment: >Description: - Update to version 0.45 Remove file: files/patch-src_progress.h >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/gocr/Makefile graphics/gocr/Makefile --- /usr/ports/graphics/gocr/Makefile Mon Jul 23 03:38:20 2007 +++ graphics/gocr/Makefile Fri Jan 4 03:15:10 2008 @@ -6,37 +6,33 @@ # PORTNAME= gocr -PORTVERSION= 0.44 -PORTREVISION= 1 +PORTVERSION= 0.45 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= jocr +MASTER_SITES= SF/jocr MAINTAINER= ports@FreeBSD.org -COMMENT= GOCR/JOCR is an OCR (Optical Character Recognition) program +COMMENT= An OCR (Optical Character Recognition) program LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm +USE_GNOME= gnometarget USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-netpbm=${LOCALBASE} MAKE_ARGS= prefix=${PREFIX} exec_prefix=${PREFIX} DESTDIR=${DESTDIR} +MAN1= gocr.1 +PORTDOCS= examples.txt gocr.html unicode.txt +PLIST_FILES= bin/gocr include/gocr.h lib/libPgm2asc.a + .if !defined(WITHOUT_X11) -RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 +USE_TK_WRAPPER= yes PLIST_FILES+= bin/gocr.tcl .endif -MAN1= gocr.1 - -PORTDOCS= examples.txt gocr.html unicode.txt -PLIST_FILES+= bin/gocr include/gocr.h lib/libPgm2asc.a - post-patch: .if defined(WITHOUT_X11) @${REINPLACE_CMD} -e '/gocr.tcl/d' ${WRKSRC}/src/Makefile.in -.else - @${REINPLACE_CMD} -e 's/exec wish/exec wish8.4/' ${WRKSRC}/bin/gocr.tcl .endif post-install: diff -urN /usr/ports/graphics/gocr/distinfo graphics/gocr/distinfo --- /usr/ports/graphics/gocr/distinfo Sun Mar 11 03:24:22 2007 +++ graphics/gocr/distinfo Fri Jan 4 02:39:45 2008 @@ -1,3 +1,3 @@ -MD5 (gocr-0.44.tar.gz) = 8657cb057d7836ed171b5705d5e082c8 -SHA256 (gocr-0.44.tar.gz) = 20d7724db4d0a724ade2b36a5e95f329a0e1c46c972f08c123b67c33173b6b4f -SIZE (gocr-0.44.tar.gz) = 827497 +MD5 (gocr-0.45.tar.gz) = 134d459f64656b201ca66eebafa108f0 +SHA256 (gocr-0.45.tar.gz) = d1846fe037b5d509373c92c0bc7dd4e6e5c290962e30e03fea5766326ec4b7f4 +SIZE (gocr-0.45.tar.gz) = 362952 diff -urN /usr/ports/graphics/gocr/files/patch-src_progress.h graphics/gocr/files/patch-src_progress.h --- /usr/ports/graphics/gocr/files/patch-src_progress.h Sun Dec 17 07:03:04 2006 +++ graphics/gocr/files/patch-src_progress.h Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- src/progress.h.orig Sat Dec 16 16:12:16 2006 -+++ src/progress.h Sat Dec 16 16:12:46 2006 -@@ -6,6 +6,8 @@ - #ifndef GOCR_PROGRESS_H - #define GOCR_PROGRESS_H "Oct06" - -+#include <time.h> -+ - /* initialization of progress output, fname="<fileID>","<filename>","-" */ - int ini_progress(char *fname); - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080110030012.77401daf.tkato432>