pkgsrc/x11/Xrender/Makefile
2017-09-06 09:02:59 +00:00

30 lines
790 B
Makefile

# $NetBSD: Makefile,v 1.38 2017/09/06 09:03:05 wiz Exp $
DISTNAME= libXrender-0.9.0
PKGNAME= ${DISTNAME:S/lib//}
PKGREVISION= 2
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/renderproto/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"