blob: cc4d0f73b3b173d72ffa69ff5d648c33ab120ee2 (
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
33
34
|
# New ports collection makefile for: unpaper
# Date created: 01 February 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= unpaper
DISTVERSION= 0_2
CATEGORIES= graphics
MASTER_SITES= BERLIOS
EXTRACT_SUFX= .tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Post-processing tool for scanned sheets of paper
NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|doc/||g' ${WRKSRC}/unpaper.html
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}/
@${INSTALL_DATA} ${WRKSRC}/unpaper.html ${WRKSRC}/readme.txt ${DOCSDIR}/
@${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}/
.endif
.include <bsd.port.mk>
|