summaryrefslogtreecommitdiff
path: root/x11/libXtst/Makefile
blob: bb7a9e7fae59b471b6008eda10087e2d9ea22476 (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
34
35
36
37
38
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.14 2018/03/07 11:57:37 wiz Exp $

DISTNAME=		libXtst-1.2.3
PKGREVISION=		1
CATEGORIES=		x11 devel
MASTER_SITES=		${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		joerg@NetBSD.org
HOMEPAGE=		http://xorg.freedesktop.org/
COMMENT=		X Tst Library

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

PKGCONFIG_OVERRIDE+=	xtst.pc.in

CONFIGURE_ENV+=		ac_cv_path_XMLTO=	# empty

SUBST_CLASSES+=		sofix
SUBST_SED.sofix+=	-e 's,^.so ,.so man3/,'
SUBST_FILES.sofix+=	man/XTestSetGContextOfGC.man
SUBST_FILES.sofix+=	man/XTestFakeButtonEvent.man
SUBST_FILES.sofix+=	man/XTestFakeKeyEvent.man
SUBST_FILES.sofix+=	man/XTestSetVisualIDOfVisual.man
SUBST_FILES.sofix+=	man/XTestFakeRelativeMotionEvent.man
SUBST_FILES.sofix+=	man/XTestDiscard.man
SUBST_FILES.sofix+=	man/XTestCompareCurrentCursorWithWindow.man
SUBST_FILES.sofix+=	man/XTestGrabControl.man
SUBST_FILES.sofix+=	man/XTestFakeMotionEvent.man
SUBST_FILES.sofix+=	man/XTestCompareCursorWithWindow.man
SUBST_STAGE.sofix=	post-configure
SUBST_MESSAGE.sofix=	Fix .so arguments.

.include "../../meta-pkgs/modular-xorg/hacks.mk"

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