summaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4/Makefile
blob: fa3060a31bd4086352d9f50b6e847b5beada1d07 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection Makefile for:	kdegraphics
# Date created:				2008-01-31
# Whom:					Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	kdegraphics
PORTVERSION=	${KDE4_VERSION}
CATEGORIES=	graphics kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Graphics utilities for the KDE4 integrated X11 desktop

BUILD_DEPENDS=	kpsewhich:${PORTSDIR}/print/teTeX-base \
		${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS=	art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl \
		fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
		freetype.9:${PORTSDIR}/print/freetype2 \
		fribidi.3:${PORTSDIR}/converters/fribidi \
		lcms.1:${PORTSDIR}/graphics/lcms \
		paper.2:${PORTSDIR}/print/libpaper \
		poppler-qt4.3:${PORTSDIR}/graphics/poppler-qt4 \
		exiv2.9:${PORTSDIR}/graphics/exiv2 \
		chm.0:${PORTSDIR}/misc/chmlib \
		sane.1:${PORTSDIR}/graphics/sane-backends \
		gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \
		djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11 \
		qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
		spectre.1:${PORTSDIR}/print/libspectre \
		qca.2:${PORTSDIR}/devel/qca \
		epub.0:${PORTSDIR}/textproc/ebook-tools

LATEST_LINK=	${PORTNAME}4

USE_GL=			glut
USE_GHOSTSCRIPT=	yes
USE_KDE4=	kdelibs kdeprefix kdehier automoc4
KDE4_BUILDENV=	yes
USE_BZIP2=	yes
USE_QT_VER=	4
QT_COMPONENTS=	opengl gui svg iconengines pixeltool \
		moc_build rcc_build uic_build qmake_build
MAKE_JOBS_SAFE=	yes

post-patch:
	${FIND} ${PATCH_WRKSRC} -type f -name CMakeLists.txt | ${XARGS} \
		${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|'

.include <bsd.port.mk>