freebsd-ports/deskutils/xfce4-xkb-plugin/Makefile
Guido Falsi 41ff4e536e Clenup xfce ports:
- Add missing dependencies
- Remove unneeded patches
- Regenerate and rename legacy patches
- Add NLS option to ports providing such a knob, and missing the
  option
- Add INSTALL_TARGET=install-strip where missing
- Sort things
- Remove unneeded +=
- Cosmetic changes to OPTION related variables to improve readability
- Update WWW
- Silence portlint warnings about variables order
- Bump PORTREVISION where changing dependencies and/or adding
  install-strip
2019-01-22 14:44:38 +00:00

36 lines
799 B
Makefile

# $FreeBSD$
PORTNAME= xfce4-xkb-plugin
PORTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= deskutils xfce
MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= xfce@FreeBSD.org
COMMENT= Keyboard layout switching plugin for the Xfce panel
LICENSE= GPLv2
LIB_DEPENDS= libxklavier.so:x11/libxklavier \
libdbus-glib-1.so:devel/dbus-glib \
libdbus-1.so:devel/dbus
USES= gettext-tools gmake gnome libtool pkgconfig tar:bzip2 xfce:gtk3
USE_GNOME= cairo gtk30 intltool librsvg2 libwnck3
USE_XFCE= panel
USE_XORG= x11
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
# Downgrade libxklavier
post-patch:
@${REINPLACE_CMD} -e 's|5.4|5.3|g' ${WRKSRC}/configure
.include <bsd.port.mk>