summaryrefslogtreecommitdiff
path: root/graphics/gd/buildlink2.mk
blob: ff4b90bd0b0ecd67de1b3db16c2f2efcefeaea5f (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
# $NetBSD: buildlink2.mk,v 1.5 2004/01/23 18:00:59 jlam Exp $

.if !defined(GD_BUILDLINK2_MK)
GD_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		gd
BUILDLINK_DEPENDS.gd?=		gd>=2.0.15
BUILDLINK_PKGSRCDIR.gd?=	../../graphics/gd

EVAL_PREFIX+=		BUILDLINK_PREFIX.gd=gd
BUILDLINK_PREFIX.gd_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.gd+=	include/gd*.h
BUILDLINK_FILES.gd+=	lib/libgd.*

USE_X11=	yes

.include "../../mk/pthread.buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"

BUILDLINK_TARGETS+=	gd-buildlink

gd-buildlink: _BUILDLINK_USE

.endif	# GD_BUILDLINK2_MK