2009-03-02 17:51:57 +01:00
|
|
|
# New ports collection makefile for: xfce4-utils
|
2003-07-28 20:22:23 +02:00
|
|
|
# Date created: 7 June 2003
|
|
|
|
# Whom: James Earl <jdearl@telus.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xfce4-utils
|
2010-05-31 17:27:35 +02:00
|
|
|
PORTVERSION= 4.6.2
|
2003-08-16 09:03:34 +02:00
|
|
|
CATEGORIES= sysutils xfce
|
2007-10-26 00:53:28 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2003-07-28 20:22:23 +02:00
|
|
|
DISTNAME= xfce-utils-${PORTVERSION}
|
2003-09-28 19:52:45 +02:00
|
|
|
DIST_SUBDIR= xfce4
|
2003-07-28 20:22:23 +02:00
|
|
|
|
2003-08-17 09:40:39 +02:00
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
2003-07-28 20:22:23 +02:00
|
|
|
COMMENT= XFce 4 essential utilities and scripts
|
|
|
|
|
2009-03-02 17:51:57 +01:00
|
|
|
CONFIGURE_ARGS+=--with-xsession-prefix=${PREFIX}
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-01-22 17:45:10 +01:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnometarget gtk20 intltool intlhack pkgconfig
|
2009-03-02 17:51:57 +01:00
|
|
|
USE_XFCE= configenv libgui libutil panel
|
2007-01-22 17:45:10 +01:00
|
|
|
|
|
|
|
OPTIONS= DBUS "Enable D-BUS support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_DBUS)
|
|
|
|
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
|
|
|
CONFIGURE_ARGS+=--enable-dbus
|
|
|
|
PLIST_SUB+= WITH_DBUS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-dbus
|
|
|
|
PLIST_SUB+= WITH_DBUS="@comment "
|
|
|
|
.endif
|
2003-07-28 20:22:23 +02:00
|
|
|
|
2007-03-07 16:39:06 +01:00
|
|
|
post-patch:
|
- 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
|
|
|
@${REINPLACE_CMD} 's|/usr/local/share:|${LOCALBASE}/share:|' \
|
2007-03-07 16:39:06 +01:00
|
|
|
${WRKSRC}/scripts/startxfce4.in
|
|
|
|
@${REINPLACE_CMD} 's|/usr/local/share:||' \
|
|
|
|
${WRKSRC}/scripts/startxfce4.in
|
|
|
|
|
2007-01-22 17:45:10 +01:00
|
|
|
.include <bsd.port.post.mk>
|