openbsd-ports/graphics/ocrad/Makefile
steven 3247812c99 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.

based on a submission from William Yodlowsky <bsd at openbsd.rutgers.edu>

ok ajacoutot@
2007-06-03 16:59:35 +00:00

30 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/06/03 16:59:35 steven Exp $
COMMENT= "OCR program for pnm files"
DISTNAME= ocrad-0.16
CATEGORIES= graphics
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MASTER_SITES= ${MASTER_SITE_GNU:=ocrad/}
EXTRACT_SUFX= .tar.bz2
CONFIGURE_STYLE=gnu
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
post-install:
${INSTALL_MAN} ${WRKBUILD}/doc/ocrad.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocrad
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ocrad
.include <bsd.port.mk>