summaryrefslogtreecommitdiff
path: root/x11/pixman/Makefile
blob: 575e72a3bb50514eca81aa217f6e20ee9740242b (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
# $NetBSD: Makefile,v 1.65 2016/12/01 15:47:24 marino Exp $

DISTNAME=	pixman-0.34.0
PKGREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://xorg.freedesktop.org/
COMMENT=	Library of low-level pixel manipulation routines
LICENSE=	mit

GNU_CONFIGURE=	yes
.if ${MACHINE_ARCH} == i386
CONFIGURE_ARGS+= --disable-sse2
.endif

USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config perl

PKGCONFIG_OVERRIDE+=	pixman-1.pc.in
PKGCONFIG_OVERRIDE+=	pixman-1-uninstalled.pc.in

SUBST_CLASSES=		subdirs
SUBST_STAGE.subdirs=	post-patch
SUBST_FILES.subdirs=	Makefile.in
SUBST_SED.subdirs=	-e "s|pixman demos test|pixman|"
SUBST_MESSAGE.lbase=	Skip building demos and test SUBDIRS

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