aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kipi-plugins-kde4/Makefile
blob: e3dd0af4cfafe664b51d042884b19fb233598aac (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
# New ports collection makefile for:    kipi-plugins-kde4
# Date created:             Jan 23, 2009
# Whom:                 Kris Moore
#
# $FreeBSD$
#

PORTNAME=   kipi-plugins
PORTVERSION=    0.2.0
PORTREVISION=   3
PORTEPOCH=  1
CATEGORIES= graphics kde
MASTER_SITES=   SF/kipi
PKGNAMESUFFIX=  -kde4

MAINTAINER= kris@pcbsd.org
COMMENT=    KDE4 kipi graphics plugins

LIB_DEPENDS=    cv.1:${PORTSDIR}/graphics/opencv \
        expat.6:${PORTSDIR}/textproc/expat2 \
        kipi.6:${PORTSDIR}/graphics/kdegraphics4
RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_KDE4=   automoc4 kdehier kdeprefix kdelibs pimlibs
USE_QT_VER= 4
QT_COMPONENTS=  gui dbus network svg xml \
        qmake_build moc_build rcc_build uic_build
USE_LDCONFIG=   yes

# Disable IpodExport plugin for now.  Requires audio/libgpod >= 0.7.0.
CMAKE_ARGS= -DWITH_GLIB2:BOOL=OFF \
        -DWITH_GObject:BOOL=OFF \
        -DWITH_Gdk:BOOL=OFF \
        -DWITH_Gpod:BOOL=OFF

post-patch:
    ${GREP} -H -r "#include <q" ${WRKSRC} | ${CUT} -d: -f1 | uniq | \
        ${XARGS} ${REINPLACE_CMD} -f ${FILESDIR}/qt3to4headers.txt

.include <bsd.port.mk>