Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

7
graphics/ocrad/DESCR Normal file
View File

@@ -0,0 +1,7 @@
GNU Ocrad is an OCR (Optical Character Recognition) program based on a
feature extraction method. It reads images in pbm (bitmap), pgm
(greyscale) or ppm (color) formats and produces text in byte (8-bit) or
UTF-8 formats.
Also includes a layout analyser able to separate the columns or blocks of
text normally found on printed pages.

24
graphics/ocrad/Makefile Normal file
View File

@@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.9 2012/10/06 14:11:08 asau Exp $
DISTNAME= ocrad-0.21
CATEGORIES= graphics
MASTER_SITES= http://ftp.gnu.org/gnu/ocrad/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/ocrad/ocrad.html
COMMENT= GNU OCR (Optical Character Recognition) program
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c++
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ENV+= CXXFLAGS=${CXXFLAGS:Q}
INFO_FILES= yes
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"

6
graphics/ocrad/PLIST Normal file
View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.4 2010/03/08 12:35:54 adam Exp $
bin/ocrad
include/ocradlib.h
info/ocrad.info
lib/libocrad.a
man/man1/ocrad.1

12
graphics/ocrad/distinfo Normal file
View File

@@ -0,0 +1,12 @@
$NetBSD: distinfo,v 1.7 2013/05/23 15:04:44 joerg Exp $
SHA1 (ocrad-0.21.tar.gz) = 857a7e0b671d4216ddf2ec1ec2daf0b21d2a6a64
RMD160 (ocrad-0.21.tar.gz) = 9477787f07b35165c1091ce2cf8ad76fba3daea1
Size (ocrad-0.21.tar.gz) = 103962 bytes
SHA1 (patch-aa) = 39729c825c1b9591c7dda23597f7d8f900b42b2c
SHA1 (patch-ab) = 8bbfafd788c4fd377f8f8b51cb297b528b9be65c
SHA1 (patch-ac) = 952531f89f29a93c20dd4af8050b8e6fa8a5a6a4
SHA1 (patch-character__r11.cc) = 40503e81f216b278cfc603c795ec9465f51410af
SHA1 (patch-feats__test0.cc) = 7c09ed58efac3be114947bb317262742f6525545
SHA1 (patch-profile.cc) = 84ff427fd4294e32c92a5bd31403c9dabbc1d427
SHA1 (patch-track.cc) = 5c842497fa58510be3f8a2f37bc76de0df8d1cb4

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.3 2010/03/08 12:35:54 adam Exp $
--- configure.orig 2010-03-08 12:32:58.000000000 +0000
+++ configure
@@ -29,10 +29,6 @@ infodir='$(datadir)/info'
libdir='${exec_prefix}/lib'
mandir='$(datadir)/man'
sysconfdir='$(prefix)/etc'
-CXX=
-CPPFLAGS=
-CXXFLAGS='-Wall -W -O2'
-LDFLAGS=
# Loop over all args
while [ -n "$1" ] ; do

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.2 2009/07/11 08:05:06 obache Exp $
--- common.h.orig 2009-04-26 14:28:37.000000000 +0000
+++ common.h
@@ -18,6 +18,9 @@
extern int verbosity;
+#if !defined(__GNUC__) && !defined(__attribute__)
+# define __attribute__(x) /**/
+#endif
namespace Ocrad {

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.3 2010/03/08 12:35:54 adam Exp $
--- Makefile.in.orig 2010-01-27 12:02:48.000000000 +0000
+++ Makefile.in
@@ -2,8 +2,8 @@
DISTNAME = $(pkgname)-$(pkgversion)
AR = ar
INSTALL = install
-INSTALL_PROGRAM = $(INSTALL) -p -m 755
-INSTALL_DATA = $(INSTALL) -p -m 644
+INSTALL_PROGRAM = $(INSTALL) -m 755
+INSTALL_DATA = $(INSTALL) -m 644
INSTALL_DIR = $(INSTALL) -d -m 755
SHELL = /bin/sh

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-character__r11.cc,v 1.1 2013/05/23 15:04:44 joerg Exp $
--- character_r11.cc.orig 2013-05-23 11:21:53.000000000 +0000
+++ character_r11.cc
@@ -18,6 +18,7 @@
#include <algorithm>
#include <cstdio>
+#include <cstdlib>
#include <vector>
#include "common.h"

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-feats__test0.cc,v 1.1 2013/05/23 15:04:44 joerg Exp $
--- feats_test0.cc.orig 2013-05-23 11:22:05.000000000 +0000
+++ feats_test0.cc
@@ -18,6 +18,7 @@
#include <algorithm>
#include <cstdio>
+#include <cstdlib>
#include <vector>
#include "common.h"

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-profile.cc,v 1.1 2013/05/23 15:04:44 joerg Exp $
--- profile.cc.orig 2013-05-23 11:21:35.000000000 +0000
+++ profile.cc
@@ -18,6 +18,7 @@
#include <algorithm>
#include <cstdio>
+#include <cstdlib>
#include <vector>
#include "common.h"

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-track.cc,v 1.1 2013/05/23 15:04:44 joerg Exp $
--- track.cc.orig 2013-05-23 11:21:18.000000000 +0000
+++ track.cc
@@ -18,6 +18,7 @@
#include <algorithm>
#include <cstdio>
+#include <cstdlib>
#include <vector>
#include "common.h"