blob: 84ed89ba3277bf37c0fca19647722e3a9817eaea (
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
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.23 2004/01/22 08:38:29 grant Exp $
#
DISTNAME= xft-2.1.2
PKGNAME= Xft2-2.1.2
PKGREVISION= 1
CATEGORIES= fonts x11
MASTER_SITES= http://x2.freedesktop.org/Software/fontconfig/releases/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://fontconfig.org/
COMMENT= Library for configuring and customizing font access
# This can use 2.0.5 but things which use it (ala pango) require 2.0.9 so make
# sure to keep in step
BUILDLINK_DEPENDS.freetype2= freetype2>=2.0.9
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
# Uses libtool 1.5 features
#USE_LIBTOOL= YES
USE_GNU_TOOLS+= make
USE_X11= YES
USE_GNU_TOOLS+= awk
PKGCONFIG_OVERRIDE= ${WRKSRC}/xft.pc.in
#LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
MAKE_ENV+= EGREP="${EGREP}"
BUILDLINK_DEPENDS.Xrender= Xrender>=0.8.2
.include "../../mk/bsd.prefs.mk"
# XXX: Temporal fix for systems where libXft.so.$(MAJOR_VERSION).$(MINOR_VERSION)
# is not built (we have to use libtool 1.5 to have the same library between all
# systems)
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
PLIST_SUBST+= LIBXFT="@comment "
.else
PLIST_SUBST+= LIBXFT=""
.endif
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../fonts/fontconfig/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../x11/Xrender/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|