1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/x11/gxkb/Makefile
Alexey Dokuchaev bd5b78f823 x11/gxkb: update the port to version 0.9.3
Now comes with Esperanto flag!

Source code had been reformatted, adjust GTK2 patch accordingly and
regenerate with ``make makepatch'' to make future diffs less noisy.

Reported by:	portscout
2021-10-24 15:13:28 +00:00

39 lines
892 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= gxkb
PORTVERSION= 0.9.3
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= X11 keyboard layout indicator and switcher
LICENSE= GPLv2
LIB_DEPENDS= libxklavier.so:x11/libxklavier
USES= gnome pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= gdkpixbuf2 glib20
PORTDOCS= AUTHORS NEWS
OPTIONS_DEFINE= DOCS GTK2
GTK2_DESC= Build against GTK version 2, not 3
GTK2_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gtk2
GTK2_LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck
GTK2_LIB_DEPENDS_OFF= libwnck-3.so:x11-toolkits/libwnck3
GTK2_USES= autoreconf
GTK2_USE= GNOME=gtk20
GTK2_USE_OFF= GNOME=gtk30
post-patch-DOCS-on:
@${REINPLACE_CMD} -e '/^doc_DATA/s, C[^ ]*,,g' \
${WRKSRC}/doc/Makefile.[ai][mn]
post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS/s, doc,,' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>