summaryrefslogtreecommitdiff
path: root/x11/libXi/Makefile
blob: 07398c3761169233672b2c7c948b50e2f28f5538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.36 2020/01/18 23:35:52 rillig Exp $

DISTNAME=		libXi-1.7.10
CATEGORIES=		x11 devel
MASTER_SITES=		${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		joerg@NetBSD.org
HOMEPAGE=		https://xorg.freedesktop.org/
COMMENT=		X Input extension library
LICENSE=		mit

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
USE_TOOLS+=		pkg-config

CONFIGURE_ENV+=		LIB_MAN_SUFFIX=3 ac_cv_path_ASCIIDOC= ac_cv_path_XMLTO=
PKGCONFIG_OVERRIDE+=	xi.pc.in

SUBST_CLASSES+=		sosubdir
SUBST_STAGE.sosubdir=	pre-configure
SUBST_FILES.sosubdir=	man/*.man
SUBST_SED.sosubdir=	-e 's|\.so X|.so manlibmansuffix/X|'

CONFIGURE_ARGS.NetBSD+=	--disable-malloc0returnsnull

BUILDLINK_API_DEPENDS.libX11+=		libX11>=1.6
BUILDLINK_API_DEPENDS.libXext+=		libXext>=1.1
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"