summaryrefslogtreecommitdiff
path: root/x11/pixman/Makefile
blob: c6845d52a23a9a6a7bd1a1a04b73bd2ecefda75f (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.66 2018/07/04 13:40:44 jperkin 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=	pre-configure
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"