2013-03-03 17:08:46 +01:00
|
|
|
# Created by: Matt Lancereau <matt@rimasec.net>
|
2003-12-13 00:15:31 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xfce4-session
|
2013-05-08 17:20:15 +02:00
|
|
|
PORTVERSION= 4.10.1
|
2013-06-09 20:47:34 +02:00
|
|
|
PORTREVISION= 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}
|
2013-05-08 17:20:15 +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
|
|
|
|
2011-10-23 13:56:51 +02:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2012-05-25 18:51:40 +02:00
|
|
|
COMMENT= Xfce's session manager
|
|
|
|
|
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
|
2013-03-03 17:08:46 +01:00
|
|
|
LIB_DEPENDS= wnck-1:${PORTSDIR}/x11-toolkits/libwnck \
|
|
|
|
dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
upower-glib:${PORTSDIR}/sysutils/upower \
|
2013-06-09 20:47:34 +02:00
|
|
|
polkit.2:${PORTSDIR}/sysutils/policykit
|
|
|
|
# explicitly add SHLIB version number for policykit to prevent LIB_DEPENDS
|
|
|
|
# matching sysutils/polkit instead (which has libpolkit-agent.so.1)
|
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
|
2013-04-25 18:52:05 +02:00
|
|
|
USE_GNOME= gtk20 glib20 intltool intlhack
|
2013-04-27 22:20:45 +02:00
|
|
|
USES= pathfix pkgconfig
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_LDCONFIG= yes
|
2013-05-08 17:20:15 +02:00
|
|
|
USE_XFCE= configenv libmenu libutil 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
|
|
|
|
2012-05-25 18:51:40 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-legacy-sm \
|
2013-05-08 17:20:15 +02:00
|
|
|
--disable-systemd \
|
2013-04-25 18:52:05 +02:00
|
|
|
--with-xsession-prefix=${PREFIX}
|
2012-05-25 18:51:40 +02:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2011-04-25 13:59:52 +02:00
|
|
|
|
2013-05-08 17:20:15 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
2011-06-07 08:37:58 +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
|
|
|
|
2013-09-21 02:01:16 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-03 17:08:46 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-05-30 18:49:12 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-25 18:52:05 +02:00
|
|
|
USES+= gettext
|
2010-05-31 17:27:35 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2012-05-25 18:51:40 +02:00
|
|
|
|
2011-04-25 13:59:52 +02:00
|
|
|
post-install:
|
2012-05-25 18:51:40 +02:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO_MSG}
|
2011-04-25 13:59:52 +02:00
|
|
|
|
2008-03-07 23:51:39 +01:00
|
|
|
.include <bsd.port.mk>
|