2017-01-21 12:58:15 +00:00

38 lines
1017 B
Makefile

# $OpenBSD: Makefile,v 1.8 2017/01/21 12:58:15 jasper Exp $
COMMENT= library to handle keyboard descriptions
DISTNAME= libxkbcommon-0.7.1
SHARED_LIBS += xkbcommon 1.2 # unknown
SHARED_LIBS += xkbcommon-x11 1.0 # unknown
CATEGORIES= x11 inputmethods
HOMEPAGE= http://xkbcommon.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# All licenses are derivative of the MIT/X11 license, mostly identical other
# than no-endorsement clauses (e.g. paragraph 4 of The Open Group's license).
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}/download/
EXTRACT_SUFX= .tar.xz
WANTLIB += Xau Xdmcp pthread-stubs xcb xcb-xkb
BUILD_DEPENDS = devel/bison
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-doxygen
CONFIGURE_ENV += YACC=${LOCALBASE}/bin/bison
TEST_DEPENDS = devel/bison \
shells/bash
TEST_IS_INTERACTIVE= x11
# XXX: This test still fails
pre-test:
sed -i 's,bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/test/symbols-leak-test.bash
.include <bsd.port.mk>