summaryrefslogtreecommitdiff
path: root/graphics/claraocr
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-21 23:53:13 +0000
committerjlam <jlam@pkgsrc.org>2002-09-21 23:53:13 +0000
commit15361a02a4bac6faae9f9f86801fea27392d2c2f (patch)
tree958c67b9ccc780154722f396d860152968a46798 /graphics/claraocr
parent5e365bb384904b3a7344c0d329106e657817c942 (diff)
downloadpkgsrc-15361a02a4bac6faae9f9f86801fea27392d2c2f.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'graphics/claraocr')
-rw-r--r--graphics/claraocr/Makefile8
-rw-r--r--graphics/claraocr/distinfo4
-rw-r--r--graphics/claraocr/patches/patch-aa6
3 files changed, 9 insertions, 9 deletions
diff --git a/graphics/claraocr/Makefile b/graphics/claraocr/Makefile
index 095d06406f2..2a3813245c4 100644
--- a/graphics/claraocr/Makefile
+++ b/graphics/claraocr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/05/04 23:45:42 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/22 00:07:57 jlam Exp $
#
DISTNAME= clara-0.9.9
@@ -15,13 +15,13 @@ COMMENT= Optical Character Recognition (OCR) program for books
DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
-USE_PERL5= YES
+USE_BUILDLINK2= YES
+USE_X11= YES
REPLACE_PERL= clara.pl mkdoc.pl selthresh.pl
-USE_BUILDLINK_ONLY= YES
# install a example input file
post-install:
${INSTALL_DATA} ${WRKSRC}/imre.pbm ${PREFIX}/share/doc/clara
-.include "../../mk/x11.buildlink.mk"
+.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/claraocr/distinfo b/graphics/claraocr/distinfo
index 2eb1331a523..0764a1615e1 100644
--- a/graphics/claraocr/distinfo
+++ b/graphics/claraocr/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2002/05/04 23:45:43 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/09/22 00:07:57 jlam Exp $
SHA1 (clara-0.9.9.tar.gz) = 7d18088ad086d476cce2821497db16f4f444231e
Size (clara-0.9.9.tar.gz) = 419529 bytes
-SHA1 (patch-aa) = efc5d69e3330e814ad198d3cd9719402804eb3b1
+SHA1 (patch-aa) = 3c8ae0031b579917299f314eb34918b7e2b955a1
diff --git a/graphics/claraocr/patches/patch-aa b/graphics/claraocr/patches/patch-aa
index f8aa1b65ba4..c9619ac589c 100644
--- a/graphics/claraocr/patches/patch-aa
+++ b/graphics/claraocr/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2002/05/04 23:45:44 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2002/09/22 00:07:57 jlam Exp $
--- Makefile.orig Sat May 4 03:45:07 2002
+++ Makefile
@@ -24,8 +24,8 @@ $NetBSD: patch-aa,v 1.2 2002/05/04 23:45:44 wiz Exp $
#
-INCLUDE = -I/usr/X11R6/include
-LIBPATH = -L/usr/X11R6/lib
-+INCLUDE = -I${BUILDLINK_DIR}/include
-+LIBPATH = -L${BUILDLINK_DIR}/lib
++INCLUDE = -I${X11BASE}/include -I${LOCALBASE}/include
++LIBPATH = -L${X11BASE}/lib -L${LOCALBASE}/include
CC = gcc
#