mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
35 lines
695 B
Makefile
35 lines
695 B
Makefile
# Created by: Dmitri Goutnik <dg@syrec.org>
|
|
|
|
PORTNAME= xkb-switch
|
|
PORTVERSION= 1.8.5
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= dmgk@FreeBSD.org
|
|
COMMENT= Switch your X keyboard layouts from the command line
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= cmake xorg
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ierton
|
|
USE_XORG= x11 xkbfile
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DMAN_COMPRESSION="gz" -DMANDIR="${MANPREFIX}/man"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PLIST_FILES= bin/xkb-switch \
|
|
lib/libxkbswitch.so \
|
|
lib/libxkbswitch.so.1 \
|
|
lib/libxkbswitch.so.1.8.5 \
|
|
man/man1/xkb-switch.1.gz
|
|
|
|
PORTDOCS= README.md
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|