freebsd-ports/graphics/claraocr/Makefile
Mikhail Teterin 3e9c2693a1 Set the WWW link(s) to existing domains again. Use Gentoo's set of mirrors
instead of the developers' own site, because they insist on using name of
"download.html" and don't provide a useful mtime.

The above was requested by one named: jhell,v

While here, add patches from Debian/Ubuntu to fix varargs-manipulations, and
from Gentoo to fix mode of the newly-created files.

Also, make sure the man-page of selthresh is installed.

Replace my hack from 2008 with the MAKE_JOBS_SAFE=yes.
2010-09-28 20:15:23 +00:00

35 lines
787 B
Makefile

# New ports collection makefile for: claraocr
# Date created: 5 November 2001
# Whom: petef
#
# $FreeBSD$
#
PORTNAME= claraocr
PORTVERSION= 20031214
PORTREVISION= 3
CATEGORIES= graphics accessibility
MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=distfiles
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_JOBS_SAFE= yes
MAN1= clara-adv.1 clara-dev.1 clara.1 selthresh.1
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|g' \
clara.pl mkdoc.pl selthresh
post-install:
${INSTALL_DATA} ${WRKSRC}/selthresh.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>