pkgsrc/graphics/freetype2/buildlink3.mk
rillig 17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00

36 lines
1,023 B
Makefile

# $NetBSD: buildlink3.mk,v 1.47 2018/01/07 13:04:14 rillig Exp $
BUILDLINK_TREE+= freetype2
.if !defined(FREETYPE2_BUILDLINK3_MK)
FREETYPE2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.4.5
BUILDLINK_ABI_DEPENDS.freetype2+= freetype2>=2.4.11
BUILDLINK_PKGSRCDIR.freetype2?= ../../graphics/freetype2
BUILDLINK_INCDIRS.freetype2?= include/freetype2
BUILDLINK_FILES.freetype2+= bin/freetype-config
FREETYPE_CONFIG?= ${BUILDLINK_PREFIX.freetype2}/bin/freetype-config
CONFIGURE_ENV+= FREETYPE_CONFIG=${FREETYPE_CONFIG:Q}
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
pkgbase := freetype2
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.freetype2:Mpng)
CHECK_BUILTIN.freetype2:= yes
.include "../../graphics/freetype2/builtin.mk"
CHECK_BUILTIN.freetype2:= no
. if empty(USE_BUILTIN.freetype2:M[yY][eE][sS])
. include "../../graphics/png/buildlink3.mk"
. endif
.endif
.endif # FREETYPE2_BUILDLINK3_MK
BUILDLINK_TREE+= -freetype2