1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11-wm/xfce4/Makefile
2004-07-19 03:31:36 +00:00

69 lines
2.0 KiB
Makefile

# New ports collection makefile for: xfce4
# Date created: 9 June 2003
# Whom: James Earl <jdearl@telus.net>
#
# $FreeBSD$
#
PORTNAME= xfce
PORTVERSION= 4.0.6
PORTREVISION= 0
CATEGORIES= x11-wm xfce
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= oliver@FreeBSD.org
COMMENT= The "meta-port" for the XFce 4 desktop environment
RUN_DEPENDS= ${X11BASE}/lib/xfce4/mcs-plugins/ui_plugin.so:${PORTSDIR}/sysutils/xfce4-mcs-plugins \
xfwm4:${PORTSDIR}/x11-wm/xfce4-wm \
xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel \
xfdesktop:${PORTSDIR}/x11-wm/xfce4-desktop \
startxfce4:${PORTSDIR}/sysutils/xfce4-utils \
xffm:${PORTSDIR}/x11-fm/xfce4-fm \
xfprint4:${PORTSDIR}/print/xfce4-print \
xfce4-iconbox:${PORTSDIR}/misc/xfce4-iconbox \
${X11BASE}/lib/gtk-2.0/2.4.0/engines/libxfce.so:${PORTSDIR}/x11-themes/gtk-xfce-engine
.if exists(${X11BASE}/bin/gdm)
WITH_GDM= yes
.endif
.if defined(WITH_GDM)
RUN_DEPENDS+= ${X11BASE}/bin/gdm:${PORTSDIR}/x11/gdm2
PLIST_SUB+= GDM=""
.else
PLIST_SUB+= GDM="@comment "
.endif
.if !defined(WITHOUT_EXTRAS)
.if !defined(WITHOUT_THEMES)
RUN_DEPENDS+= ${X11BASE}/share/xfce4/themes/BeOS/terminal.png:${PORTSDIR}/misc/xfce4-panel-themes \
${X11BASE}/share/xffm/pixmaps/xfce/mime.xml:${PORTSDIR}/x11-fm/xfce4-fm-icons \
${X11BASE}/share/xfwm4/themes/atlanta2/themerc:${PORTSDIR}/misc/xfce4-wm-themes
.endif
.if !defined(WITHOUT_PLUGINS)
RUN_DEPENDS+= ${X11BASE}/lib/xfce4/panel-plugins/libmixer.so:${PORTSDIR}/audio/xfce4-mixer \
${X11BASE}/lib/xfce4/panel-plugins/libsystray.so:${PORTSDIR}/x11-wm/xfce4-systray \
xfce4-tips:${PORTSDIR}/games/xfce4-toys
.endif
.endif
LATEST_LINK= xfce4
NO_BUILD= yes
USE_X_PREFIX= yes
do-install: # empty
post-install:
.if defined(WITH_GDM)
@${TEST} -d ${X11BASE}/etc/gdm/Sessions || \
${MKDIR} -p ${X11BASE}/etc/gdm/Sessions
@${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${X11BASE}/etc/gdm/Sessions
@${INSTALL_DATA} ${FILESDIR}/XFce4.desktop ${X11BASE}/etc/dm/Sessions
.endif
.include <bsd.port.mk>