Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/xfce.mk
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# Provide support for Xfce related ports. | # Provide support for Xfce related ports. | ||||
# | # | ||||
# Feature: xfce | # Feature: xfce | ||||
# Usage: USES=xfce or USES=xfce:ARGS | # Usage: USES=xfce or USES=xfce | ||||
# Valid ARGS: gtk2 | |||||
# | # | ||||
# Variables, which can be set by the port: | # Variables, which can be set by the port: | ||||
# | # | ||||
# USE_XFCE List of components | # USE_XFCE List of components | ||||
# | # | ||||
# MAINTAINER: xfce@FreeBSD.org | # MAINTAINER: xfce@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_XFCE_Mk) | .if !defined(_INCLUDE_USES_XFCE_Mk) | ||||
_INCLUDE_USES_XFCE_Mk= yes | _INCLUDE_USES_XFCE_Mk= yes | ||||
_USES_POST+= xfce | _USES_POST+= xfce | ||||
_USE_XFCE_ALL= garcon libexo libgui libmenu libutil panel thunar xfconf | _USE_XFCE_ALL= garcon libexo libmenu libutil panel thunar xfconf | ||||
woodsb02: Delete libgui | |||||
xfce_ARGS?= # empty | xfce_ARGS?= # empty | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib | ||||
.if ${xfce_ARGS:Mgtk2} | |||||
libmenu_LIB_DEPENDS= libxfce4ui-1.so:x11/libxfce4menu | |||||
libmenu_USE_XFCE_REQ= libutil | |||||
garcon_LIB_DEPENDS= libgarcon-gtk2-1.so:sysutils/garcon | |||||
garcon_USE_XFCE_REQ= libmenu | |||||
libexo_LIB_DEPENDS= libexo-1.so:x11/libexo | |||||
libexo_USE_XFCE_REQ= libmenu | |||||
panel_LIB_DEPENDS= libxfce4panel-1.0.so:x11-wm/xfce4-panel | |||||
panel_RUN_DEPENDS= xfce4-panel:x11-wm/xfce4-panel | |||||
panel_USE_XFCE_REQ= garcon libexo xfconf | |||||
.else | |||||
libmenu_LIB_DEPENDS= libxfce4ui-2.so:x11/libxfce4menu | libmenu_LIB_DEPENDS= libxfce4ui-2.so:x11/libxfce4menu | ||||
libmenu_USE_XFCE_REQ= libutil | libmenu_USE_XFCE_REQ= libutil | ||||
garcon_LIB_DEPENDS= libgarcon-gtk3-1.so:sysutils/garcon | garcon_LIB_DEPENDS= libgarcon-gtk3-1.so:sysutils/garcon | ||||
garcon_USE_XFCE_REQ= libmenu | garcon_USE_XFCE_REQ= libmenu | ||||
libexo_LIB_DEPENDS= libexo-2.so:x11/libexo | libexo_LIB_DEPENDS= libexo-2.so:x11/libexo | ||||
libexo_USE_XFCE_REQ= libmenu | libexo_USE_XFCE_REQ= libmenu | ||||
panel_LIB_DEPENDS= libxfce4panel-2.0.so:x11-wm/xfce4-panel | panel_LIB_DEPENDS= libxfce4panel-2.0.so:x11-wm/xfce4-panel | ||||
panel_RUN_DEPENDS= xfce4-panel:x11-wm/xfce4-panel | panel_RUN_DEPENDS= xfce4-panel:x11-wm/xfce4-panel | ||||
panel_USE_XFCE_REQ= garcon libexo xfconf | panel_USE_XFCE_REQ= garcon libexo xfconf | ||||
.endif | |||||
libgui_LIB_DEPENDS= libxfcegui4.so:x11-toolkits/libxfce4gui | |||||
libgui_USE_XFCE_REQ= libutil | |||||
libutil_LIB_DEPENDS= libxfce4util.so:x11/libxfce4util | libutil_LIB_DEPENDS= libxfce4util.so:x11/libxfce4util | ||||
Done Inline ActionsDelete libgui woodsb02: Delete libgui | |||||
thunar_LIB_DEPENDS= libthunarx-3.so:x11-fm/thunar | thunar_LIB_DEPENDS= libthunarx-3.so:x11-fm/thunar | ||||
thunar_RUN_DEPENDS= Thunar:x11-fm/thunar | thunar_RUN_DEPENDS= Thunar:x11-fm/thunar | ||||
thunar_USE_XFCE_REQ= xfconf libmenu | thunar_USE_XFCE_REQ= xfconf libmenu | ||||
xfconf_LIB_DEPENDS= libxfconf-0.so:x11/xfce4-conf | xfconf_LIB_DEPENDS= libxfconf-0.so:x11/xfce4-conf | ||||
xfconf_USE_XFCE_REQ= libutil | xfconf_USE_XFCE_REQ= libutil | ||||
Show All 24 Lines | |||||
. if defined(${comp}_LIB_DEPENDS) | . if defined(${comp}_LIB_DEPENDS) | ||||
LIB_DEPENDS+= ${${comp}_LIB_DEPENDS} | LIB_DEPENDS+= ${${comp}_LIB_DEPENDS} | ||||
. endif | . endif | ||||
. if defined(${comp}_RUN_DEPENDS) | . if defined(${comp}_RUN_DEPENDS) | ||||
RUN_DEPENDS+= ${${comp}_RUN_DEPENDS} | RUN_DEPENDS+= ${${comp}_RUN_DEPENDS} | ||||
. endif | . endif | ||||
.endfor | .endfor | ||||
. if ${USE_XFCE:M*gui} == libgui | |||||
DEPRECATED?= Depends on unmaintained x11-toolkits/libxfce4gui | |||||
. endif | |||||
.endif # end of defined(USE_XFCE) | .endif # end of defined(USE_XFCE) | ||||
.endif | .endif | ||||
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_XFCE_POST_MK) | .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_XFCE_POST_MK) | ||||
_INCLUDE_USES_XFCE_POST_MK= yes | _INCLUDE_USES_XFCE_POST_MK= yes | ||||
.endif | .endif |
Delete libgui