openbsd-ports/print/unpaper/Makefile
ajacoutot cf6d88b618 Import unpaper-0.3.
unpaper is a post-processing tool for scanned sheets of paper,
especially for book pages that have been scanned from previously created
photocopies.
The main purpose is to make scanned book pages better readable on screen
after conversion to PDF. Additionally, unpaper might be useful to
enhance the quality of scanned pages before performing optical character
recognition (OCR).
2010-07-17 07:59:37 +00:00

36 lines
743 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2010/07/17 07:59:37 ajacoutot Exp $
COMMENT= post-processing tool for scanned paper sheets
DISTNAME= unpaper-0.3
CATEGORIES= print graphics
HOMEPAGE= http://unpaper.berlios.de/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c m
MASTER_SITES= ${MASTER_SITE_BERLIOS:=unpaper/}
NO_REGRESS= Yes
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -lm -o unpaper src/unpaper.c
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/unpaper ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unpaper
${INSTALL_DATA} ${WRKSRC}/README \
${PREFIX}/share/doc/unpaper
.include <bsd.port.mk>