Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 gocr (0.49-1) unstable; urgency=low
 .
   * New upstream release.
Author: Cosimo Alfarano <kalfa@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- gocr-0.49.orig/Makefile
+++ gocr-0.49/Makefile
@@ -10,9 +10,9 @@
 #      make install DESTDIR=$RPM_BUILD_ROOT
 #
 
-prefix = /usr/local
+prefix = /usr
 #bindir = $(prefix)/bin
-bindir = /usr/local${exec_prefix}/bin
+bindir = /usr${exec_prefix}/bin
 
 SHELL = /bin/sh
 # this does not work on SuSE 6.0, why? (autoconf 2.12 do not set /bin/sh ?)
@@ -100,7 +100,7 @@ help:
 
 
 # you can override this variable by: make install DESTDIR=yourpath
-DESTDIR=/usr/local
+DESTDIR=/usr
 .PHONY : install uninstall test examples
 install:
 	$(MAKE) -C src install
--- gocr-0.49.orig/src/Makefile
+++ gocr-0.49/src/Makefile
@@ -60,7 +60,7 @@ CPPFLAGS=
 CFLAGS=-g -O2 $(CPPFLAGS) -I../include $(DEFS)
 LDFLAGS=-lm 
 LIBS=-lnetpbm 
-DESTDIR=/usr/local
+DESTDIR=/usr
 
 .SUFFIXES: .s .o .c .h
 # do not look for files if help (etc) is given
--- gocr-0.49.orig/man/Makefile
+++ gocr-0.49/man/Makefile
@@ -4,10 +4,10 @@
 
 PROGRAM = gocr
 
-mandir = ${prefix}/man
+mandir = ${prefix}/share/man
 
 INSTALL=/usr/bin/install -c
-DESTDIR=/usr/local
+DESTDIR=/usr
 
 default: all
 
