summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2007-03-14 04:06:11 +0000
committerMark Linimon <linimon@FreeBSD.org>2007-03-14 04:06:11 +0000
commit8e6c37241534425921b6c376ef965a8a9ffb9e90 (patch)
treeb692153c47a1f2197dd8b64a33e3b587d69288d9 /Mk
parentAdd bsd.ocaml.mk to support OCaml packages. (diff)
Move x11-wm/xfce4/bsd.xfce.mk to Mk/.
PR: ports/108862 Submitted by: oliver
Notes
Notes: svn path=/head/; revision=187348
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.xfce.mk61
1 files changed, 61 insertions, 0 deletions
diff --git a/Mk/bsd.xfce.mk b/Mk/bsd.xfce.mk
new file mode 100644
index 000000000000..f3e1b45fa7b2
--- /dev/null
+++ b/Mk/bsd.xfce.mk
@@ -0,0 +1,61 @@
+#
+# $FreeBSD$
+#
+
+.if !defined(_POSTMKINCLUDED) && !defined(Xfce_Pre_Include)
+
+Xfce_Pre_Include= bsd.xfce.mk
+Xfce_Include_MAINTAINER= oliver@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 libexo libgui libutil libmcs mcsmanager panel \
+ thunar wm xfdev
+
+MASTER_SITE_SUBDIR?= xfce-4.4.0
+
+configenv_CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
+
+libexo_LIB_DEPENDS= exo-0.3:${PORTSDIR}/x11/libexo
+
+libgui_LIB_DEPENDS= xfcegui4.6:${PORTSDIR}/x11-toolkits/libxfce4gui
+
+libutil_LIB_DEPENDS= xfce4util.4:${PORTSDIR}/x11/libxfce4util
+
+libmcs_LIB_DEPENDS= xfce4mcs-manager.3:${PORTSDIR}/x11/libxfce4mcs
+
+mcsmanager_BUILD_DEPENDS= xfce-mcs-manager:${PORTSDIR}/sysutils/xfce4-mcs-manager
+mcsmanager_RUN_DEPENDS= xfce-mcs-manager:${PORTSDIR}/sysutils/xfce4-mcs-manager
+
+panel_LIB_DEPENDS= xfce4panel.2:${PORTSDIR}/x11-wm/xfce4-panel
+
+thunar_LIB_DEPENDS= thunar-vfs-1.4:${PORTSDIR}/x11-fm/thunar
+
+wm_BUILD_DEPENDS= xfwm4:${PORTSDIR}/x11-wm/xfce4-wm
+wm_RUN_DEPENDS= xfwm4:${PORTSDIR}/x11-wm/xfce4-wm
+
+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