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).
This commit is contained in:
ajacoutot 2010-07-17 07:59:37 +00:00
parent 3670f93c23
commit cf6d88b618
4 changed files with 51 additions and 0 deletions

35
print/unpaper/Makefile Executable file
View File

@ -0,0 +1,35 @@
# $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>

5
print/unpaper/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (unpaper-0.3.tar.gz) = vkHq+FVuffOatTk5yZxPew==
RMD160 (unpaper-0.3.tar.gz) = 9npBrk+AunT9cZNnQ0DVGNS7yJ8=
SHA1 (unpaper-0.3.tar.gz) = Eg7ufGNe646nVDHC37qJvYwTJJM=
SHA256 (unpaper-0.3.tar.gz) = NDNmQECUK/djiUbiMn5cZBGcYA/eis6Rj0cQn6+95b4=
SIZE (unpaper-0.3.tar.gz) = 546488

7
print/unpaper/pkg/DESCR Executable file
View File

@ -0,0 +1,7 @@
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).

4
print/unpaper/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/17 07:59:37 ajacoutot Exp $
@bin bin/unpaper
share/doc/unpaper/
share/doc/unpaper/README