aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/claraocr/Makefile
blob: c8590c43f6aaf293816eba441bb0c26c493d4f0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    claraocr
# Date created:             5 November 2001
# Whom:                 petef
#
# $FreeBSD$
#

PORTNAME=   claraocr
PORTVERSION=    20031214
CATEGORIES= graphics accessibility
MASTER_SITES=   http://www.geocities.com/claraocr/
DISTNAME=   clara-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Optical character recognition (OCR) utility

RUN_DEPENDS=    pnmenlarge:${PORTSDIR}/graphics/netpbm

USE_XORG=   x11
USE_PERL5=  yes
MAKE_ENV=   MKDIR="${MKDIR}"
MAKE_ARGS=  -j`${SYSCTL} -n hw.ncpu`

MAN1=   clara-adv.1 clara-dev.1 clara.1

post-patch:
    @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|g' \
        clara.pl mkdoc.pl selthresh

.include <bsd.port.mk>