blob: 131a6bfcc3cac3c2d2040f3642ba235d31a3350b (
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# New ports collection makefile for: cairo-dock-plugins
# Date created: 2010-03-19
# Whom: Ivan Klymenko <fidaj@ukr.net>
#
# $FreeBSD$
#
PORTNAME= cairo-dock-plugins
DISTVERSION= 2.1.3-9
CATEGORIES= deskutils
MASTER_SITES= http://launchpadlibrarian.net/44930752/
MAINTAINER= fidaj@ukr.net
COMMENT= Cairo-Dock-Plugins for Cairo-Dock
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/cairo-dock.pc:${PORTSDIR}/deskutils/cairo-dock
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/cairo-dock.pc:${PORTSDIR}/deskutils/cairo-dock \
wget:${PORTSDIR}/ftp/wget
LIB_DEPENDS= etpan:${PORTSDIR}/mail/libetpan
DATADIR= ${PREFIX}/share/cairo-dock
GNU_CONFIGURE= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gnomehack pkgconfig glib20 gtk20 librsvg2 libxml2
USE_LDCONFIG= yes
USE_XORG= xrender
USE_DOS2UNIX= YES
MAKE_JOBS_SAFE= YES
OPTIONS+= GMENU "Common Applications menu" On \
KEYBOARD_INDICATOR "Control the keyboard layout" Off \
TERMINAL "Add a terminal to your dock" On \
WEBLETS "To show an interactive web page" On \
XFCE_INTEGRATION "For XFCE environnement" Off
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --disable-alsa-mixer \
--disable-old-gnome-integration
CONFIGURE_ENV+= CCFLAGS="-I${LOCALBASE}/include/cairo"
.if defined(WITH_GMENU)
LIB_DEPENDS+= gnome-menu:${PORTSDIR}/x11/gnome-menus
CONFIGURE_ARGS+= --enable-gmenu
PLIST_SUB+= GMENU=""
.else
CONFIGURE_ARGS+= --disable-gmenu
PLIST_SUB+= GMENU="@comment "
.endif
.if defined(WITH_KEYBOARD_INDICATOR)
LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif \
xklavier:${PORTSDIR}/x11/libxklavier
CONFIGURE_ARGS+= --enable-keyboard-indicator
PLIST_SUB+= KEYBOARD_INDICATOR=""
.else
CONFIGURE_ARGS+= --disable-keyboard-indicator
PLIST_SUB+= KEYBOARD_INDICATOR="@comment "
.endif
.if defined(WITH_TERMINAL)
LIB_DEPENDS+= vte:${PORTSDIR}/x11-toolkits/vte
CONFIGURE_ARGS+= --enable-terminal
PLIST_SUB+= TERMINAL=""
.else
CONFIGURE_ARGS+= --disable-terminal
PLIST_SUB+= TERMINAL="@comment "
.endif
.if defined(WITH_WEBLETS)
LIB_DEPENDS+= webkit-1.0:${PORTSDIR}/www/webkit-gtk2
CONFIGURE_ARGS+= --enable-weblets
PLIST_SUB+= WEBLETS=""
.else
CONFIGURE_ARGS+= --disable-weblets
PLIST_SUB+= WEBLETS="@comment "
.endif
.if defined(WITH_XFCE_INTEGRATION)
LIB_DEPENDS+= thunar-vfs-1:${PORTSDIR}/x11-fm/thunar \
exif:${PORTSDIR}/graphics/libexif
CONFIGURE_ARGS+= --enable-xfce-integration
PLIST_SUB+= XFCE_INTEGRATION=""
.else
CONFIGURE_ARGS+= --disable-xfce-integration
PLIST_SUB+= XFCE_INTEGRATION="@comment "
.endif
.include <bsd.port.mk>
|