blob: 5ac1a001b245fdcf68d19f031aa4c76a0b06a90e (
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
25
26
27
28
29
30
31
32
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= unpaper
PORTVERSION= 0.3
CATEGORIES= graphics
MASTER_SITES= https://www.flameeyes.eu/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Post-processing tool for scanned sheets of paper
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-build:
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/src/${PORTNAME}.c -lm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|