freebsd-ports/x11/xkeyboard-config/Makefile
Pav Lucistnik 770a563c2f - Install a symlink from PREFIX/share/xkb/compiled to /var/lib/compiled.
Fixes a lot of runtime problems for a lot of people

PR:		ports/114876, ports/114924
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk>
Reported by:	Craig Boston <craig@yekse.gank.org>,
		Antoine Vu-Ngoc <antoine@cleopatre.homeip.net> and many more
2007-07-27 09:51:19 +00:00

37 lines
863 B
Makefile

# New ports collection makefile for: xkeyboard-config
# Date Created: Dec 20 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xkeyboard-config
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://xlibs.freedesktop.org/xkbdesc/
DISTNAME= xkeyboard-config-${PORTVERSION}
MAINTAINER= x11@FreeBSD.org
COMMENT= X Keyboard Configuration Database
BUILD_DEPENDS= xkbcomp:${PORTSDIR}/x11/xkbcomp \
${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
# XXX - sigh
PREFIX= ${X11BASE}
USE_BZIP2= yes
USE_ICONV= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xkb-base=${PREFIX}/share/X11/xkb \
--with-xkb-rules-symlink=xorg
post-install:
${MKDIR} /var/lib/xkb
${LN} -s /var/lib/xkb ${PREFIX}/share/X11/xkb/compiled
.include <bsd.port.mk>