update Sun Nov 15 06:37:00 PST 2009
[pkgsrc.git] / x11 / pixman / Makefile
1 # $NetBSD: Makefile,v 1.33 2009/11/15 13:00:01 drochner Exp $
2 #
3
4 DISTNAME=       pixman-0.16.2
5 CATEGORIES=     x11
6 MASTER_SITES=   ${MASTER_SITE_XORG:=lib/}
7 EXTRACT_SUFX=   .tar.bz2
8
9 MAINTAINER=     bjs@NetBSD.org
10 HOMEPAGE=       http://xorg.freedesktop.org/
11 COMMENT=        Library of low-level pixel manipulation routines
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 GNU_CONFIGURE=  yes
16 USE_LIBTOOL=    yes
17 USE_TOOLS+=     pkg-config perl
18 ###
19 ### XXX Quiet, please!
20 ###
21 .if empty(USE_TOOLS:Mauto*)
22 CONFIGURE_ENV+= AUTOCONF=${TRUE:Q}
23 CONFIGURE_ENV+= AUTOHEADER=${TRUE:Q}
24 CONFIGURE_ENV+= ACLOCAL=${TRUE:Q}
25 CONFIGURE_ENV+= AUTOMAKE=${TRUE:Q}
26 .endif
27
28 PKGCONFIG_OVERRIDE+=    pixman-1.pc.in
29 PKGCONFIG_OVERRIDE+=    pixman-1-uninstalled.pc.in
30 ###
31 ### XXX The configure script is written to fail if it detects gcc<4.0
32 ###     for lack of -fvisibility=hidden. In keeping with the pkgsrc
33 ###     tradition of portability, we'll opt to use libtool to export
34 ###     the desired symbols, hiding the rest.
35 ###
36 ###     Please, do not forget to ensure the currency of this file!
37
38 MAKE_ENV+=      PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q}
39 PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym
40
41 post-extract:
42         ${CP} ${FILESDIR}/pixman.sym ${WRKDIR}
43         ${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman
44
45 .include "../../mk/bsd.pkg.mk"