[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / libXi

File: [cvs.NetBSD.org] / pkgsrc / x11 / libXi / Makefile (download)

Revision 1.18, Mon Oct 29 05:06:35 2012 UTC (6 years, 6 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.17: +1 -2 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.18 2012/10/29 05:06:35 asau Exp $
#

DISTNAME=		libXi-1.6.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 Input extension library
LICENSE=		mit

PKG_INSTALLATION_TYPES=	overwrite pkgviews

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|'

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+=	--disable-malloc0returnsnull
.endif

BUILDLINK_API_DEPENDS.inputproto+=	inputproto>=2.2
BUILDLINK_API_DEPENDS.libX11+=		libX11>=1.5
BUILDLINK_API_DEPENDS.libXext+=		libXext>=1.1
BUILDLINK_API_DEPENDS.xextproto+=	xextproto>=7.0.3
BUILDLINK_API_DEPENDS.xproto+=		xproto>=7.0.13
.include "../../x11/inputproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"