summaryrefslogtreecommitdiff
path: root/fonts/fontconfig/buildlink2.mk
blob: 184ca176905b9dc83ed28f336e7a8a0583376fa0 (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
# $NetBSD: buildlink2.mk,v 1.5 2003/03/29 19:00:19 jmc Exp $
#
# This Makefile fragment is included by packages that use fontconfig.
#
# This file was created automatically using createbuildlink 2.2.
#

.if !defined(FONTCONFIG_BUILDLINK2_MK)
FONTCONFIG_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=			fontconfig
BUILDLINK_DEPENDS.fontconfig?=		fontconfig>=2.1nb1
BUILDLINK_PKGSRCDIR.fontconfig?=		../../fonts/fontconfig

EVAL_PREFIX+=	BUILDLINK_PREFIX.fontconfig=fontconfig
BUILDLINK_PREFIX.fontconfig_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.fontconfig+=	include/fontconfig/fcfreetype.h
BUILDLINK_FILES.fontconfig+=	include/fontconfig/fcprivate.h
BUILDLINK_FILES.fontconfig+=	include/fontconfig/fontconfig.h
BUILDLINK_FILES.fontconfig+=	lib/libfontconfig.*
BUILDLINK_FILES.fontconfig+=	lib/pkgconfig/fontconfig.pc

BUILDLINK_DEPENDS.freetype2=	freetype2>=2.0.9

.include "../../graphics/freetype2/buildlink2.mk"
.include "../../textproc/expat/buildlink2.mk"

BUILDLINK_TARGETS+=	fontconfig-buildlink

fontconfig-buildlink: _BUILDLINK_USE

.endif	# FONTCONFIG_BUILDLINK2_MK