diff options
author | minskim <minskim@pkgsrc.org> | 2008-12-13 06:58:01 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2008-12-13 06:58:01 +0000 |
commit | f6677e623a33f7cd37367ee49c575a47333f0760 (patch) | |
tree | 6f8a6d17806f97acc894ca267905e9eac2901ca5 /graphics/silgraphite-ft | |
parent | dbbe0cf51038bb4125f9678a083da773f10343d1 (diff) | |
download | pkgsrc-f6677e623a33f7cd37367ee49c575a47333f0760.tar.gz |
Import silgraphite-ft from pkgsrc.
Graphite is a smart font engine that basically takes a unicode string
and font formatting information (features, size, etc.) and returns a
set of positioned glyphs. In reality, Graphite does more than this in
that it handles cursor tracking and interaction with the rendering
engine for string selection, etc.
This package is a wrapper for FreeType.
Diffstat (limited to 'graphics/silgraphite-ft')
-rw-r--r-- | graphics/silgraphite-ft/DESCR | 7 | ||||
-rw-r--r-- | graphics/silgraphite-ft/Makefile | 26 | ||||
-rw-r--r-- | graphics/silgraphite-ft/PLIST | 4 | ||||
-rw-r--r-- | graphics/silgraphite-ft/buildlink3.mk | 22 | ||||
-rw-r--r-- | graphics/silgraphite-ft/distinfo | 7 | ||||
-rw-r--r-- | graphics/silgraphite-ft/patches/patch-aa | 9 | ||||
-rw-r--r-- | graphics/silgraphite-ft/patches/patch-ab | 10 |
7 files changed, 85 insertions, 0 deletions
diff --git a/graphics/silgraphite-ft/DESCR b/graphics/silgraphite-ft/DESCR new file mode 100644 index 00000000000..eca59e48c55 --- /dev/null +++ b/graphics/silgraphite-ft/DESCR @@ -0,0 +1,7 @@ +Graphite is a smart font engine that basically takes a unicode string +and font formatting information (features, size, etc.) and returns a +set of positioned glyphs. In reality, Graphite does more than this in +that it handles cursor tracking and interaction with the rendering +engine for string selection, etc. + +This package is a wrapper for FreeType. diff --git a/graphics/silgraphite-ft/Makefile b/graphics/silgraphite-ft/Makefile new file mode 100644 index 00000000000..03e14394f66 --- /dev/null +++ b/graphics/silgraphite-ft/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ + +DISTNAME= silgraphite-2.3 +PKGNAME= ${DISTNAME:S/silgraphite/silgraphite-ft/} +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silgraphite/} + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://silgraphite.sourceforge.net/ +COMMENT= FreeType wrapper for SIL Graphite + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +WRKSRC= ${WRKDIR}/${DISTNAME}/wrappers/freetype + +PKGCONFIG_OVERRIDE+= silgraphite-ft.pc + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/silgraphite/buildlink3.mk" + +post-install: + ${INSTALL_DATA} ${WRKSRC}/silgraphite-ft.pc ${PREFIX}/lib/pkgconfig + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/silgraphite-ft/PLIST b/graphics/silgraphite-ft/PLIST new file mode 100644 index 00000000000..96e2ccc62ec --- /dev/null +++ b/graphics/silgraphite-ft/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ +include/graphite/FreetypeFont.h +lib/libgraphite-ft.la +lib/pkgconfig/silgraphite-ft.pc diff --git a/graphics/silgraphite-ft/buildlink3.mk b/graphics/silgraphite-ft/buildlink3.mk new file mode 100644 index 00000000000..7c0d0422315 --- /dev/null +++ b/graphics/silgraphite-ft/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SILGRAPHITE_FT_BUILDLINK3_MK:= ${SILGRAPHITE_FT_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= silgraphite-ft +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsilgraphite-ft} +BUILDLINK_PACKAGES+= silgraphite-ft +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}silgraphite-ft + +.if ${SILGRAPHITE_FT_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.silgraphite-ft+= silgraphite-ft>=2.2.0 +BUILDLINK_PKGSRCDIR.silgraphite-ft?= ../../graphics/silgraphite-ft +.endif # SILGRAPHITE_FT_BUILDLINK3_MK + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/silgraphite/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/silgraphite-ft/distinfo b/graphics/silgraphite-ft/distinfo new file mode 100644 index 00000000000..bff615859d6 --- /dev/null +++ b/graphics/silgraphite-ft/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ + +SHA1 (silgraphite-2.3.tar.gz) = f3f7ed75fd16197bae41953ffb8c13d53ffae773 +RMD160 (silgraphite-2.3.tar.gz) = 0a8ca776793c0835799387ea6ab11a5ea7d72e2f +Size (silgraphite-2.3.tar.gz) = 3394463 bytes +SHA1 (patch-aa) = 5d9288b9dc9f00deacf641c9b9b05101c6b5da2f +SHA1 (patch-ab) = 3235d51b94028e5135e9610451e5b09df9c8cd1a diff --git a/graphics/silgraphite-ft/patches/patch-aa b/graphics/silgraphite-ft/patches/patch-aa new file mode 100644 index 00000000000..d269ccc1dea --- /dev/null +++ b/graphics/silgraphite-ft/patches/patch-aa @@ -0,0 +1,9 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ + +--- installed-top.pc.in.orig 2007-06-28 01:12:11.000000000 -0700 ++++ installed-top.pc.in +@@ -1,2 +1,4 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ + libdir=@libdir@ + includedir=@includedir@ diff --git a/graphics/silgraphite-ft/patches/patch-ab b/graphics/silgraphite-ft/patches/patch-ab new file mode 100644 index 00000000000..c32f80ef4d5 --- /dev/null +++ b/graphics/silgraphite-ft/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/12/13 06:58:01 minskim Exp $ + +--- silgraphite-ft.pc.in.orig 2007-04-04 17:23:23.000000000 -0700 ++++ silgraphite-ft.pc.in +@@ -1,5 +1,3 @@ +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ + + Name: graphite-ft + Description: A freetype backend for Graphite |