pkgsrc/x11/Xfixes/Makefile

34 lines
796 B
Makefile

# $NetBSD: Makefile,v 1.29 2014/10/09 14:07:13 wiz Exp $
DISTNAME= libXfixes-2.0.1
PKGNAME= ${DISTNAME:S/libX/X/}
PKGREVISION= 5
CATEGORIES= x11 devel
MASTER_SITES= http://xlibs.freedesktop.org/release/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://freedesktop.org/
COMMENT= X Fixes extension of X RandR
CONFLICTS+= libXfixes-[0-9]*
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= xfixes.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} != "native"
PKG_FAIL_REASON+="This package is for native X11 only; use libXfixes instead."
.endif
.if (${OPSYS} == "Darwin")
CFLAGS+= -fno-common
.endif
.include "../../x11/fixesproto4/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"