aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gwenview-kde4/Makefile
blob: c5c2c4daccfbb2189261aa69132da23791139f7e (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
# New ports collection makefile for:    gwenview
# Date created:             5 September 2011
# Whom:                 Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= kde@FreeBSD.org
COMMENT=    Image viewer and browser for KDE 4

LATEST_LINK=    ${PORTNAME}-kde4

LIB_DEPENDS=    jpeg.11:${PORTSDIR}/graphics/jpeg \
        exiv2.10:${PORTSDIR}/graphics/exiv2

CONFLICTS=  kdegraphics-4.[0-6].*

USE_KDE4=   kdehier kdelibs kdeprefix libkipi libkonq \
        automoc4 soprano
KDE4_BUILDENV=  yes
USE_QT4=    dbus qmake_build moc_build uic_build rcc_build
USE_XZ= yes
MAKE_JOBS_SAFE= yes

.include <bsd.port.pre.mk>

# mkdtemp() is not defined in stdlib.h in FreeBSD 7.
.if ${OSVERSION} < 800000
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-importer__fileutils.cpp
.endif

.include <bsd.port.post.mk>