d72c560b21
Hat: portmgr
28 lines
677 B
Makefile
28 lines
677 B
Makefile
# New ports collection makefile for: unpaper
|
|
# Date created: 01 February 2007
|
|
# Whom: 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
|
|
|
|
do-build:
|
|
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} \
|
|
${WRKSRC}/src/${PORTNAME}.c -lm
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
.ifndef NOPORTDOCS
|
|
@${INSTALL} -d ${DOCSDIR}/
|
|
@cd ${WRKSRC}/&&${INSTALL_DATA} CHANGELOG README ${DOCSDIR}/
|
|
@cd ${WRKSRC}/doc/&&${COPYTREE_SHARE} . ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|