2003-12-13 00:15:31 +01:00
|
|
|
# New ports collection makefile for: xfce4-session
|
|
|
|
# Date created: 2003-10-30
|
|
|
|
# Whom: Matt Lancereau <matt@rimasec.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xfce4-session
|
2011-04-25 13:59:52 +02:00
|
|
|
PORTVERSION= 4.8.1
|
2003-12-13 00:15:31 +01:00
|
|
|
CATEGORIES= x11-wm xfce
|
2007-10-26 00:53:28 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2011-04-25 13:59:52 +02:00
|
|
|
MASTER_SITE_SUBDIR= src/xfce/${PORTNAME}/${PORTVERSION:R}
|
2004-07-21 14:39:13 +02:00
|
|
|
DIST_SUBDIR= xfce4
|
2003-12-13 00:15:31 +01:00
|
|
|
|
2005-01-26 17:57:40 +01:00
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
|
|
COMMENT= Session manager for the Xfce 4 desktop environment
|
2003-12-13 00:15:31 +01:00
|
|
|
|
2008-03-07 23:51:39 +01:00
|
|
|
BUILD_DEPENDS= iceauth:${PORTSDIR}/x11/iceauth
|
2011-04-25 13:59:52 +02:00
|
|
|
RUN_DEPENDS= iceauth:${PORTSDIR}/x11/iceauth \
|
|
|
|
console-kit-daemon:${PORTSDIR}/sysutils/consolekit
|
2009-03-02 17:51:57 +01:00
|
|
|
LIB_DEPENDS= wnck-1.22:${PORTSDIR}/x11-toolkits/libwnck \
|
2011-04-25 13:59:52 +02:00
|
|
|
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
upower-glib.1:${PORTSDIR}/sysutils/upower \
|
|
|
|
polkit.2:${PORTSDIR}/sysutils/policykit
|
2008-03-07 23:51:39 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-01-26 17:57:40 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-03-07 23:51:39 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2011-04-25 13:59:52 +02:00
|
|
|
USE_GNOME= gnomehack gtk20 intltool intlhack pkgconfig
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_LDCONFIG= yes
|
2011-04-25 13:59:52 +02:00
|
|
|
USE_XFCE= configenv libmenu libutil panel xfconf
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 sm ice
|
2005-05-17 23:29:50 +02:00
|
|
|
|
2011-04-25 13:59:52 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-panel-plugin \
|
|
|
|
--enable-session-screenshots \
|
|
|
|
--enable-legacy-sm \
|
|
|
|
--disable-gnome \
|
|
|
|
--disable-libgnome-keyring
|
|
|
|
|
2011-06-07 08:37:58 +02:00
|
|
|
OPTIONS= NLS "Enable Native Language Support" on \
|
|
|
|
HAL "Enable HAL Support" off
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2011-04-25 13:59:52 +02:00
|
|
|
|
2005-01-26 17:57:40 +01:00
|
|
|
MAN1= xfce4-session.1 xfce4-session-logout.1
|
2003-12-13 00:15:31 +01:00
|
|
|
|
2011-03-03 11:12:30 +01:00
|
|
|
PLIST_SUB= VERSION="4.6"
|
2010-05-31 17:27:35 +02:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2011-06-07 08:37:58 +02:00
|
|
|
.if !defined(WITHOUT_HAL)
|
|
|
|
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-hal
|
|
|
|
.endif
|
2010-05-31 17:27:35 +02:00
|
|
|
|
2011-04-25 13:59:52 +02:00
|
|
|
post-install:
|
|
|
|
@${SED} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${PKGMESSAGE}
|
|
|
|
|
2008-03-07 23:51:39 +01:00
|
|
|
.include <bsd.port.mk>
|