freebsd-ports/graphics/unpaper/Makefile

33 lines
760 B
Makefile
Raw Normal View History

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= unpaper
2008-01-01 15:25:42 +01:00
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}
2014-02-20 09:44:04 +01:00
OPTIONS_DEFINE= DOCS
do-build:
2008-01-01 15:25:42 +01:00
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/src/${PORTNAME}.c -lm
do-install:
2014-02-20 09:44:04 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
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}
.include <bsd.port.mk>