33 lines
654 B
Makefile
Executable File
33 lines
654 B
Makefile
Executable File
# $OpenBSD: Makefile,v 1.2 2013/03/11 11:37:54 espie 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
|
|
|
|
WANTLIB += c m
|
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS:=unpaper/}
|
|
|
|
NO_TEST= 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>
|