blob: 870a67abf4007544c5be91330342e6e175fc545d (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: kipi-plugins-kde4
# Date created: Jan 23, 2009
# Whom: Kris Moore
#
# $FreeBSD$
#
PORTNAME= kipi-plugins
PORTVERSION= 1.0.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics kde
MASTER_SITES= SF/kipi/${PORTNAME}/${PORTVERSION}
MAINTAINER= kris@pcbsd.org
COMMENT= KDE4 kipi graphics plugins
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
kipi.6:${PORTSDIR}/graphics/kdegraphics4
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
USE_CMAKE= yes
USE_GETTEXT= yes
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
USE_QT_VER= 4
QT_COMPONENTS= gui dbus network svg xml \
qmake_build moc_build rcc_build uic_build
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
OPTIONS= GPOD "Enable Ipod Export plugin" ON \
OPENCV "Enable Red Eye Removal plugin" ON \
PIMLIBS "Enable Calendar plugin" ON
.include <bsd.port.pre.mk>
.if defined(WITH_GPOD)
LIB_DEPENDS+= gpod.5:${PORTSDIR}/audio/libgpod
PLIST_SUB+= GPOD=""
.else
CMAKE_ARGS+= -DWITH_GLIB2:BOOL=OFF \
-DWITH_GObject:BOOL=OFF \
-DWITH_Gdk:BOOL=OFF \
-DWITH_Gpod:BOOL=OFF
PLIST_SUB+= GPOD="@comment "
.endif
.if defined(WITH_OPENCV)
LIB_DEPENDS+= cv.2:${PORTSDIR}/graphics/opencv
PLIST_SUB+= OPENCV=""
.else
CMAKE_ARGS+= -DWITH_OpenCV:BOOL=OFF
PLIST_SUB+= OPENCV="@comment "
.endif
.if defined(WITH_PIMLIBS)
USE_KDE4+= pimlibs
PLIST_SUB+= PIMLIBS=""
.else
CMAKE_ARGS+= -DWITH_KdepimLibs:BOOL=OFF
PLIST_SUB+= PIMLIBS="@comment "
.endif
.include <bsd.port.post.mk>
|