openbsd-ports/x11/gnome/libxklavier/Makefile
2008-06-26 17:03:58 +00:00

38 lines
989 B
Makefile

# $OpenBSD: Makefile,v 1.14 2008/06/26 17:03:58 jasper Exp $
COMMENT= utility library for XKB
GNOME_PROJECT= libxklavier
GNOME_VERSION= 3.2
PKGNAME= ${DISTNAME}p4
SHARED_LIBS += xklavier 12.0 # .11.0
HOMEPAGE= http://www.freedesktop.org/wiki/Software/LibXklavier
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp m xkbfile z
# XXX To be fixed
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxklavier/3.2/}
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= glib-2.0.>=1200.0,gobject-2.0.>=1200.0::devel/glib2 \
xml2::textproc/libxml
USE_X11= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-x \
--with-xkb-base="${SYSCONFDIR}/X11/xkb/" \
--with-xkb-bin-base="${X11BASE}/bin/" \
--with-xmodmap-base="${LOCALBASE}/share/xmodmap"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>