aboutsummaryrefslogtreecommitdiff
path: root/www/khtml2png/Makefile
blob: 1aa354d49935145a189a1a65a1c6ffd15876861f (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
# New ports collection makefile for:	www/khtml2png
# Date created:				Nov 27 2007
# Whom:                			Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	khtml2png
DISTVERSION=	2.7.5
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	rafan@FreeBSD.org
COMMENT=	Command line program to create screenshots of webpages

USE_KDELIBS_VER=	3
USE_CMAKE=		yes

PLIST_FILES=	bin/khtml2png2

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e 's,QT_QT_LIBRARY,QT_LIBRARIES,g' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.post.mk>