summaryrefslogtreecommitdiff
path: root/x11/libXft
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 21:26:36 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 21:26:36 +0000
commitb359f2db97f7f982259153acd3abd6580cd09294 (patch)
treee5fa41fe93d5275864c79061eb33daea59a61554 /x11/libXft
parent88cbbd99c89c3e0b7d6f71b915723dd453af10bf (diff)
downloadpkgsrc-b359f2db97f7f982259153acd3abd6580cd09294.tar.gz
Import libXft-2.1.10 from pkgsrc-wip:
Xft (2.0) provides a client-side font API for X applications. It uses Fontconfig to select fonts and the X protocol for rendering them. When available, Xft uses the Render extension to accelerate text drawing. When Render is not available, Xft uses the core protocol to draw client-side glyphs. This provides completely compatible support of client-side fonts for all X servers. Xft (2.0) hides most of the underlying system details so that developers can confidently use its API to access client-side fonts in any X environment.
Diffstat (limited to 'x11/libXft')
-rw-r--r--x11/libXft/DESCR10
-rw-r--r--x11/libXft/Makefile30
-rw-r--r--x11/libXft/PLIST10
-rw-r--r--x11/libXft/buildlink3.mk25
-rw-r--r--x11/libXft/distinfo5
5 files changed, 80 insertions, 0 deletions
diff --git a/x11/libXft/DESCR b/x11/libXft/DESCR
new file mode 100644
index 00000000000..e03bd429e5c
--- /dev/null
+++ b/x11/libXft/DESCR
@@ -0,0 +1,10 @@
+Xft (2.0) provides a client-side font API for X applications. It uses
+Fontconfig to select fonts and the X protocol for rendering them. When
+available, Xft uses the Render extension to accelerate text drawing.
+When Render is not available, Xft uses the core protocol to draw
+client-side glyphs. This provides completely compatible support of
+client-side fonts for all X servers.
+
+Xft (2.0) hides most of the underlying system details so that developers
+can confidently use its API to access client-side fonts in any X
+environment.
diff --git a/x11/libXft/Makefile b/x11/libXft/Makefile
new file mode 100644
index 00000000000..3be28c0f8df
--- /dev/null
+++ b/x11/libXft/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/11/03 21:26:36 joerg Exp $
+
+DISTNAME= libXft-2.1.10
+CATEGORIES= fonts x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= joerg@NetBSD.org
+HOMEPAGE= http://fontconfig.org/
+COMMENT= Library for configuring and customizing font access
+
+CONFLICTS+= Xft2-[0-9]*
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+USE_TOOLS+= pkg-config
+PKGCONFIG_OVERRIDE= xft.pc.in
+
+.include "../../devel/zlib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.fontconfig+= fontconfig>=2.2
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/libXrender/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/lxproto/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/libXft/PLIST b/x11/libXft/PLIST
new file mode 100644
index 00000000000..aa90c4fcb55
--- /dev/null
+++ b/x11/libXft/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/03 21:26:36 joerg Exp $
+bin/xft-config
+include/X11/Xft/Xft.h
+include/X11/Xft/XftCompat.h
+lib/libXft.la
+lib/pkgconfig/xft.pc
+man/man1/xft-config.1
+man/man3/Xft.3
+@dirrm include/X11/Xft
+@comment @dirrm include/X11
diff --git a/x11/libXft/buildlink3.mk b/x11/libXft/buildlink3.mk
new file mode 100644
index 00000000000..017cfca9761
--- /dev/null
+++ b/x11/libXft/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 21:26:36 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBXFT_BUILDLINK3_MK:= ${LIBXFT_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libXft
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXft}
+BUILDLINK_PACKAGES+= libXft
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXft
+
+.if ${LIBXFT_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libXft+= libXft>=2.1.10
+BUILDLINK_PKGSRCDIR.libXft?= ../../x11/libXft
+.endif # LIBXFT_BUILDLINK3_MK
+
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/libXrender/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/libXft/distinfo b/x11/libXft/distinfo
new file mode 100644
index 00000000000..53eb0a4157a
--- /dev/null
+++ b/x11/libXft/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/11/03 21:26:36 joerg Exp $
+
+SHA1 (libXft-2.1.10.tar.bz2) = a5d661544c5605c44d22ccd76383344dee03254b
+RMD160 (libXft-2.1.10.tar.bz2) = 41fa35fff3ff5c8e9d9402c73b2b9971283acbc3
+Size (libXft-2.1.10.tar.bz2) = 252786 bytes