openbsd-ports/graphics/ocrad/Makefile

30 lines
657 B
Makefile
Raw Normal View History

2010-10-18 14:13:12 -04:00
# $OpenBSD: Makefile,v 1.6 2010/10/18 18:13:14 espie Exp $
COMMENT= OCR program for pnm files
DISTNAME= ocrad-0.18
CATEGORIES= graphics
MAINTAINER= William Yodlowsky <william@openbsd.org>
2007-07-24 14:30:59 -04:00
# GPLv3
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/}
CONFIGURE_STYLE=gnu
MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
2010-10-18 14:13:12 -04:00
USE_GROFF = Yes
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>