aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.xfce.mk
blob: 9771daffa885fd4bf91584f6f5fb07354ff075d2 (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
#
# $FreeBSD$
#

.if !defined(_POSTMKINCLUDED) && !defined(Xfce_Pre_Include)

Xfce_Pre_Include=       bsd.xfce.mk
Xfce_Include_MAINTAINER=    xfce@FreeBSD.org

# This file contains some variable definitions that are supposed to
# make your life easier when dealing with ports related to the Xfce
# desktop environment. It's automatically included when USE_XFCE
# is defined in the ports' makefile.

_USE_XFCE_ALL=          configenv garcon libexo libgui libmenu libutil panel \
                thunar thunarvfs wm xfconf xfdev

MASTER_SITE_SUBDIR?=        xfce/4.8/src

configenv_CONFIGURE_ENV=    CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"

garcon_BUILD_DEPENDS=       garcon>=0.1.9:${PORTSDIR}/sysutils/garcon
garcon_RUN_DEPENDS=     garcon>=0.1.9:${PORTSDIR}/sysutils/garcon

libexo_BUILD_DEPENDS=       libexo>=0.6.2:${PORTSDIR}/x11/libexo
libexo_RUN_DEPENDS=     libexo>=0.6.2:${PORTSDIR}/x11/libexo

libgui_BUILD_DEPENDS=       libxfce4gui>=4.8.1:${PORTSDIR}/x11-toolkits/libxfce4gui
libgui_RUN_DEPENDS=     libxfce4gui>=4.8.1:${PORTSDIR}/x11-toolkits/libxfce4gui

libmenu_BUILD_DEPENDS=      libxfce4menu>=4.8.0:${PORTSDIR}/x11/libxfce4menu
libmenu_RUN_DEPENDS=        libxfce4menu>=4.8.0:${PORTSDIR}/x11/libxfce4menu

libutil_BUILD_DEPENDS=      libxfce4util>=4.8.2:${PORTSDIR}/x11/libxfce4util
libutil_RUN_DEPENDS=        libxfce4util>=4.8.2:${PORTSDIR}/x11/libxfce4util

panel_BUILD_DEPENDS=        xfce4-panel>=4.8.6:${PORTSDIR}/x11-wm/xfce4-panel
panel_RUN_DEPENDS=      xfce4-panel>=4.8.6:${PORTSDIR}/x11-wm/xfce4-panel

thunar_BUILD_DEPENDS=       Thunar>=1.2.3:${PORTSDIR}/x11-fm/thunar
thunar_RUN_DEPENDS=     Thunar>=1.2.3:${PORTSDIR}/x11-fm/thunar

thunarvfs_BUILD_DEPENDS=    thunar-vfs>=1.2.0:${PORTSDIR}/x11-fm/thunar-vfs
thunarvfs_RUN_DEPENDS=      thunar-vfs>=1.2.0:${PORTSDIR}/x11-fm/thunar-vfs

wm_BUILD_DEPENDS=       xfce4-wm>=4.8.2:${PORTSDIR}/x11-wm/xfce4-wm
wm_RUN_DEPENDS=         xfce4-wm>=4.8.2:${PORTSDIR}/x11-wm/xfce4-wm

xfconf_BUILD_DEPENDS=       xfce4-conf>=4.8.0:${PORTSDIR}/x11/xfce4-conf
xfconf_RUN_DEPENDS=     xfce4-conf>=4.8.0:${PORTSDIR}/x11/xfce4-conf

xfdev_RUN_DEPENDS=      xfce4-dev-tools:${PORTSDIR}/devel/xfce4-dev-tools

.endif

.if defined(_POSTMKINCLUDED) && !defined(Xfce_Post_Include)

Xfce_Post_Include=      bsd.xfce.mk

.for component in ${USE_XFCE}
BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS}
LIB_DEPENDS+=   ${${component}_LIB_DEPENDS}
RUN_DEPENDS+=   ${${component}_RUN_DEPENDS}
CONFIGURE_ENV+= ${${component}_CONFIGURE_ENV}
.endfor

.for component in ${USE_XFCE}
. if ${_USE_XFCE_ALL:M${component}}==""
IGNORE= cannot install: Unknown component ${component}
. endif
.endfor

.endif