51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# Created by: Oliver Lehmann <oliver@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfce4-settings
|
|
PORTVERSION= 4.12.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils xfce
|
|
MASTER_SITES= XFCE
|
|
DIST_SUBDIR= xfce4
|
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
|
COMMENT= Xfce 4 settings application
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
|
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
|
|
libxklavier.so:${PORTSDIR}/x11/libxklavier
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
|
USE_XFCE= garcon libexo
|
|
USE_XORG= inputproto x11 xcursor xi xrandr
|
|
USES= libtool pkgconfig gmake gettext-tools xfce tar:bzip2
|
|
|
|
CONFIGURE_ARGS=--enable-debug=yes \
|
|
--disable-xorg-libinput
|
|
|
|
OPTIONS_DEFINE= NOTIFY NLS UPOWER
|
|
OPTIONS_DEFAULT= NOTIFY NLS
|
|
|
|
UPOWER_DESC= Power management tasks
|
|
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
|
|
NOTIFY_CONFIGURE_ENABLE= libnotify
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext-runtime
|
|
UPOWER_LIB_DEPENDS= libupower-glib.so:${PORTSDIR}/sysutils/upower
|
|
UPOWER_CONFIGURE_ENABLE= upower-glib
|
|
OPTIONS_SUB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|Rodent|Adwaita|g' \
|
|
${WRKSRC}/dialogs/appearance-settings/main.c
|
|
@${REINPLACE_CMD} -e 's|IconThemeName" type="empty|IconThemeName" type="string" value="Adwaita|; \
|
|
s|"ThemeName" type="empty|"ThemeName" type="string" value="Xfce|' \
|
|
${WRKSRC}/xfsettingsd/xsettings.xml
|
|
|
|
.include <bsd.port.mk>
|