openbsd-ports/x11/gnome/libxklavier/Makefile

38 lines
989 B
Makefile
Raw Normal View History

# $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
2007-04-24 17:11:03 -04:00
SHARED_LIBS += xklavier 12.0 # .11.0
2006-11-18 17:05:20 -05:00
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
2007-04-24 17:11:03 -04:00
WANTLIB= X11 Xau Xdmcp m xkbfile z
# XXX To be fixed
2007-04-24 17:11:03 -04:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxklavier/3.2/}
MODULES= devel/gettext \
x11/gnome
2007-04-24 17:11:03 -04:00
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>