2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2007-01-31 23:38:40 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= unpaper
|
2008-01-01 15:25:42 +01:00
|
|
|
PORTVERSION= 0.3
|
2007-01-31 23:38:40 +01:00
|
|
|
CATEGORIES= graphics
|
2014-07-29 17:51:02 +02:00
|
|
|
MASTER_SITES= https://www.flameeyes.eu/files/
|
2007-01-31 23:38:40 +01:00
|
|
|
|
2008-09-07 02:19:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-01-31 23:38:40 +01:00
|
|
|
COMMENT= Post-processing tool for scanned sheets of paper
|
|
|
|
|
2016-02-07 00:20:05 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2014-02-20 09:44:04 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2007-01-31 23:38:40 +01:00
|
|
|
do-build:
|
2008-01-01 15:25:42 +01:00
|
|
|
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
|
|
|
|
${WRKSRC}/src/${PORTNAME}.c -lm
|
2007-01-31 23:38:40 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-02-20 09:44:04 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2016-02-07 00:20:05 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-02-20 09:44:04 +01:00
|
|
|
@cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README ${STAGEDIR}${DOCSDIR}
|
|
|
|
@cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2007-01-31 23:38:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|