1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/x11/gxkb/Makefile
Alexey Dokuchaev 947f7b90dd x11/gxkb: the port had been updated to the latest version 0.9.5
This release comes with 65 new country flags; others had been redrawn
in a new style (borderless with rounded corners).  Unfortunately, two
flags we pull from the earlier version adhere to the previous style
and thus do not quite fit.  This is acceptable for now, but we should
really replace them with better matching versions obtained elsewhere.

Reported by:	portscout
2024-02-13 08:09:56 +00:00

47 lines
1.2 KiB
Makefile

PORTNAME= gxkb
PORTVERSION= 0.9.5
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}
# RU and BY flags were removed as of version 0.9.4 so we need two distfiles
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-0.9.3${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= X11 keyboard layout indicator and switcher
WWW= https://zen-tools.github.io/gxkb/
LICENSE= GPLv2
LIB_DEPENDS= libxklavier.so:x11/libxklavier
USES= gnome pkgconfig
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
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
post-install:
.for c in by ru
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-0.9.3/data/flags/${c}.png \
${STAGEDIR}${DATADIR}/flags
.endfor
.include <bsd.port.mk>