aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/unpaper/Makefile
blob: d89bc03bf0c389fb789a01d9a176310da3096564 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   unpaper
PORTVERSION=    0.3
CATEGORIES= graphics
MASTER_SITES=   CENKES BERLIOS

MAINTAINER= ports@FreeBSD.org
COMMENT=    Post-processing tool for scanned sheets of paper

OPTIONS_DEFINE= DOCS

do-build:
    @${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
        ${WRKSRC}/src/${PORTNAME}.c -lm

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL} -d ${STAGEDIR}${DOCSDIR}
    @cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README ${STAGEDIR}${DOCSDIR}
    @cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>