aboutsummaryrefslogtreecommitdiff
path: root/print/wprint/Makefile
blob: 450450c42a4eb74f014973518b68764190ffc525 (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
35
# ex:ts=8
# Ports collection makefile for:	wprint
# Date created:			Oct 15, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	wprint
PORTVERSION=	2.04
CATEGORIES=	print
MASTER_SITES=	http://www.esperanto.org.uy/programoj/angle/

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Mozilla/HtmlDoc/Netscape Postscript Filter

LIB_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv \
		freetype:${PORTSDIR}/print/freetype2

USE_REINPLACE=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=	wprint.1

post-patch:
.for file in man/wprint.1.pod src/wprint.c
	@${REINPLACE_CMD} -e "s|/etc/wprint\.conf|${PREFIX}/etc/wprint.conf|g" \
		${WRKSRC}/${file}
.endfor

.include <bsd.port.mk>