pkgsrc/x11/Xrender/Makefile
2018-03-07 11:57:28 +00:00

30 lines
788 B
Makefile

# $NetBSD: Makefile,v 1.39 2018/03/07 11:57:33 wiz Exp $
DISTNAME= libXrender-0.9.0
PKGNAME= ${DISTNAME:S/lib//}
PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= https://xlibs.freedesktop.org/release/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fontconfig.org/
COMMENT= Client library for the X Rendering Extension protocol
CONFLICTS+= libXrender-[0-9]*
USE_TOOLS+= pkg-config
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
PKGCONFIG_OVERRIDE= xrender.pc.in
CONFIGURE_ENV+= X_LIBS=${X11_LDFLAGS:Q}
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} != "native"
PKG_FAIL_REASON+="This package is for native X11 only; use libXrender instead."
.endif
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"