2010-07-25 04:15:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2010/07/25 08:15:33 ajacoutot Exp $
|
2004-06-21 23:27:12 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= utility library for XKB
|
2004-06-21 23:27:12 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= libxklavier
|
2010-04-20 14:48:06 -04:00
|
|
|
GNOME_VERSION= 5.0
|
2010-07-25 04:15:32 -04:00
|
|
|
REVISION= 1
|
2009-08-11 04:38:41 -04:00
|
|
|
|
2010-04-20 14:48:06 -04:00
|
|
|
SHARED_LIBS += xklavier 15.0 # .16.0
|
2004-06-21 23:27:12 -04:00
|
|
|
|
2006-11-18 17:05:20 -05:00
|
|
|
HOMEPAGE= http://www.freedesktop.org/wiki/Software/LibXklavier
|
2004-06-21 23:27:12 -04:00
|
|
|
|
2008-11-21 13:57:29 -05:00
|
|
|
# LGPLv2
|
2004-06-21 23:27:12 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-05-14 04:01:28 -04:00
|
|
|
|
|
|
|
WANTLIB += X11 Xau Xdmcp Xext Xi m pcre xkbfile z
|
2010-07-25 04:15:32 -04:00
|
|
|
WANTLIB += pthread-stubs xcb glib-2.0 gthread-2.0 gobject-2.0 xml2
|
2004-06-21 23:27:12 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
|
2008-11-21 13:57:29 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= ::devel/iso-codes
|
2010-07-25 04:15:32 -04:00
|
|
|
LIB_DEPENDS= ::devel/glib2 \
|
|
|
|
::textproc/libxml
|
2004-06-21 23:27:12 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
2007-10-24 11:02:31 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2008-06-26 13:03:58 -04:00
|
|
|
--with-x \
|
|
|
|
--with-xkb-base="${SYSCONFDIR}/X11/xkb/" \
|
|
|
|
--with-xkb-bin-base="${X11BASE}/bin/" \
|
|
|
|
--with-xmodmap-base="${LOCALBASE}/share/xmodmap"
|
2004-06-21 23:27:12 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|