2009-03-02 17:31:59 +01:00
|
|
|
# New ports collection makefile for: xfce4-settings
|
|
|
|
# Date created: 2 October 2008
|
|
|
|
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xfce4-settings
|
2010-01-10 10:52:19 +01:00
|
|
|
PORTVERSION= 4.6.4
|
2010-02-05 12:46:55 +01:00
|
|
|
PORTREVISION= 1
|
2009-03-02 17:31:59 +01:00
|
|
|
CATEGORIES= sysutils xfce
|
2010-01-10 10:52:19 +01:00
|
|
|
MASTER_SITES= http://www.xfce.org/archive/src/xfce/xfce4-settings/4.6/
|
2009-03-02 17:31:59 +01:00
|
|
|
DIST_SUBDIR= xfce4
|
|
|
|
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
|
|
COMMENT= XFce 4 settings application
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
LIB_DEPENDS= wnck-1.22:${PORTSDIR}/x11-toolkits/libwnck
|
|
|
|
|
2009-12-02 17:32:36 +01:00
|
|
|
OPTIONS= XKLAVIER "Keyboard layout settings" off
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --disable-sound-settings
|
2009-03-02 17:31:59 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnometarget gtk20 intltool intlhack pkgconfig
|
|
|
|
USE_XFCE= configenv libexo libgui libutil xfconf
|
|
|
|
|
2009-12-02 17:32:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_XKLAVIER)
|
|
|
|
LIB_DEPENDS+= xklavier.12:${PORTSDIR}/x11/libxklavier
|
|
|
|
CONFIGURE_ARGS+=--enable-libxklavier
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-libxklavier
|
|
|
|
.endif
|
|
|
|
|
2009-03-02 17:31:59 +01:00
|
|
|
post-patch:
|
|
|
|
# until xfce4-icon-theme is back we rely on Tango
|
|
|
|
@${REINPLACE_CMD} -e 's|Rodent|Tango|g' \
|
|
|
|
${WRKSRC}/dialogs/appearance-settings/main.c \
|
|
|
|
${WRKSRC}/xfsettingsd/xsettings.xml
|
2009-12-02 17:32:36 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|xkl_config_registry_load (settings->priv->xkl_registry)|xkl_config_registry_load (settings->priv->xkl_registry, FALSE)|g' \
|
|
|
|
${WRKSRC}/dialogs/keyboard-settings/xfce-keyboard-settings.c
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|