summaryrefslogtreecommitdiff
path: root/graphics/gd/Makefile
blob: 446507c850db05dfd1882e8fe49106505e9dca83 (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
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.88 2011/11/01 06:01:33 sbd Exp $

DISTNAME=	gd-2.0.35
PKGREVISION=	9
CATEGORIES=	graphics
MASTER_SITES=	http://www.libgd.org/releases/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://www.libgd.org/
COMMENT=	Graphics library for the dynamic creation of images

PKG_DESTDIR_SUPPORT=	user-destdir

.include "options.mk"

# fails in test not finding libgd.a
MAKE_JOBS_SAFE=		no

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_LIBTOOL=		yes
USE_TOOLS+=		perl:run
GNU_CONFIGURE=		yes
REPLACE_PERL+=		bdftogd
PTHREAD_AUTO_VARS=	yes

# Make sure configure doesn't find an old (possibly non-Pkgsrc)
# libpng12-config executable.  If it does, it will override the Pkgsrc
# version, but fail to configure, and fail to build in PNG support.
CONFIGURE_ENV+=		ac_cv_path_LIBPNG12_CONFIG=""

.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"