summaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
authorwiz <wiz>2008-10-30 22:12:59 +0000
committerwiz <wiz>2008-10-30 22:12:59 +0000
commit9c74dfbe4904a04bb408b3417056daa81590f2f2 (patch)
tree9c75839570c53c86757b75ac13484a071efca65a /graphics/tesseract
parent831f770d39b8eb48621e0c03679b900eda4712e4 (diff)
downloadpkgsrc-9c74dfbe4904a04bb408b3417056daa81590f2f2.tar.gz
Replace patch-ab with a post-extract rule. No change to the binary package,
just one file less in pkgsrc ;)
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/Makefile5
-rw-r--r--graphics/tesseract/distinfo3
-rw-r--r--graphics/tesseract/patches/patch-ab18
3 files changed, 5 insertions, 21 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 2682fe0b650..07c544cbf05 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/05/30 13:06:26 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/10/30 22:12:59 wiz Exp $
#
DISTNAME= tesseract-2.03
@@ -15,6 +15,9 @@ GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
+post-extract:
+ ${RM} ${WRKSRC}/java/makefile
+
post-build:
${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/tesseract.sh \
> ${WRKSRC}/tesseract.sh
diff --git a/graphics/tesseract/distinfo b/graphics/tesseract/distinfo
index 2feda20c27a..1bebab54814 100644
--- a/graphics/tesseract/distinfo
+++ b/graphics/tesseract/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2008/05/30 13:06:26 wiz Exp $
+$NetBSD: distinfo,v 1.5 2008/10/30 22:12:59 wiz Exp $
SHA1 (tesseract-2.03.tar.gz) = b7859278ff98a8b64bf98b5a519688e1559cec57
RMD160 (tesseract-2.03.tar.gz) = 7519e7f4d876444bd3264d599dbf423e22443311
Size (tesseract-2.03.tar.gz) = 1075509 bytes
SHA1 (patch-aa) = 6edb250b22714ffec9490602fe11cd2b284ba4bb
-SHA1 (patch-ab) = 0ddb1a61d2bd445a65c54390f877b7d1c0aa39a0
diff --git a/graphics/tesseract/patches/patch-ab b/graphics/tesseract/patches/patch-ab
deleted file mode 100644
index f3ccdb4ec90..00000000000
--- a/graphics/tesseract/patches/patch-ab
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2008/05/30 13:06:26 wiz Exp $
-
-Without this patch:
-Entering directory `/scratch/graphics/tesseract/work/tesseract-2.03/java'
-*** No rule to make target `install'. Stop.
-Leaving directory `/scratch/graphics/tesseract/work/tesseract-2.03/java'
-
---- Makefile.in.orig 2008-05-30 12:43:20.000000000 +0000
-+++ Makefile.in
-@@ -76,7 +76,7 @@ PACKAGE_YEAR = @PACKAGE_YEAR@
- RANLIB = @RANLIB@
- VERSION = @VERSION@
-
--SUBDIRS = ccstruct ccutil classify cutil dict pageseg image textord viewer wordrec ccmain training tessdata testing dlltest java
-+SUBDIRS = ccstruct ccutil classify cutil dict pageseg image textord viewer wordrec ccmain training tessdata testing dlltest # java
-
- EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes tesseract.spec config tesseract.dsp tesseract.dsw tesseract.vcproj tesseract.sln StdAfx.cpp StdAfx.h tessdll.cpp tessdll.h tessdll.dsp tessdll.vcproj
-