From 4be51b7284bebba1cf5345b333bcd610d3a23f55 Mon Sep 17 00:00:00 2001 From: Ryo ONODERA Date: Thu, 18 Nov 2010 10:05:20 +0000 Subject: [PATCH] Import ftgl-2.1.3rc5 as wip/ftgl. FTGL is a free cross-platform Open Source C++ library that uses Freetype2 to simplify rendering fonts in OpenGL applications. FTGL supports bitmaps, pixmaps, texture maps, outlines, polygon mesh, and extruded polygon rendering modes. --- ftgl/DESCR | 4 ++++ ftgl/Makefile | 30 ++++++++++++++++++++++++++++++ ftgl/PLIST | 26 ++++++++++++++++++++++++++ ftgl/buildlink3.mk | 18 ++++++++++++++++++ ftgl/distinfo | 5 +++++ 5 files changed, 83 insertions(+) create mode 100644 ftgl/DESCR create mode 100644 ftgl/Makefile create mode 100644 ftgl/PLIST create mode 100644 ftgl/buildlink3.mk create mode 100644 ftgl/distinfo diff --git a/ftgl/DESCR b/ftgl/DESCR new file mode 100644 index 0000000000..1022c4f898 --- /dev/null +++ b/ftgl/DESCR @@ -0,0 +1,4 @@ +FTGL is a free cross-platform Open Source C++ library that uses +Freetype2 to simplify rendering fonts in OpenGL applications. FTGL +supports bitmaps, pixmaps, texture maps, outlines, polygon mesh, +and extruded polygon rendering modes. diff --git a/ftgl/Makefile b/ftgl/Makefile new file mode 100644 index 0000000000..1f7f6b57a8 --- /dev/null +++ b/ftgl/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/11/18 10:05:20 ryo-on Exp $ +# + +DISTNAME= ftgl-2.1.3-rc5 +PKGNAME= ftgl-2.1.3rc5 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ftgl/} + +MAINTAINER= ryo_on@yk.rim.or.jp +HOMEPAGE= http://sourceforge.net/projects/ftgl/ +COMMENT= C++ library of Freetype2 in OpenGL applications +#LICENSE= # TODO: (see mk/license.mk) + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/ftgl-2.1.3~rc5 +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes + +PKGCONFIG_OVERRIDE+= ftgl.pc.in + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/glu/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../graphics/glut/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +#.include "../../devel/cppunit/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/ftgl/PLIST b/ftgl/PLIST new file mode 100644 index 0000000000..525e619f8e --- /dev/null +++ b/ftgl/PLIST @@ -0,0 +1,26 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/11/18 10:05:20 ryo-on Exp $ +include/FTGL/FTBBox.h +include/FTGL/FTBitmapGlyph.h +include/FTGL/FTBuffer.h +include/FTGL/FTBufferFont.h +include/FTGL/FTBufferGlyph.h +include/FTGL/FTExtrdGlyph.h +include/FTGL/FTFont.h +include/FTGL/FTGLBitmapFont.h +include/FTGL/FTGLExtrdFont.h +include/FTGL/FTGLOutlineFont.h +include/FTGL/FTGLPixmapFont.h +include/FTGL/FTGLPolygonFont.h +include/FTGL/FTGLTextureFont.h +include/FTGL/FTGlyph.h +include/FTGL/FTLayout.h +include/FTGL/FTOutlineGlyph.h +include/FTGL/FTPixmapGlyph.h +include/FTGL/FTPoint.h +include/FTGL/FTPolyGlyph.h +include/FTGL/FTSimpleLayout.h +include/FTGL/FTTextureGlyph.h +include/FTGL/ftgl.h +lib/libftgl.la +lib/pkgconfig/ftgl.pc +share/doc/ftgl/projects_using_ftgl.txt diff --git a/ftgl/buildlink3.mk b/ftgl/buildlink3.mk new file mode 100644 index 0000000000..603886d10d --- /dev/null +++ b/ftgl/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/11/18 10:05:20 ryo-on Exp $ + +BUILDLINK_TREE+= ftgl + +.if !defined(FTGL_BUILDLINK3_MK) +FTGL_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ftgl+= ftgl>=2.1.3rc5 +BUILDLINK_PKGSRCDIR.ftgl?= ../../wip/ftgl + +#.include "../../graphics/freetype2/buildlink3.mk" +#.include "../../graphics/glu/buildlink3.mk" +#.include "../../graphics/MesaLib/buildlink3.mk" +#.include "../../graphics/glut/buildlink3.mk" +#.include "../../devel/zlib/buildlink3.mk" +.endif # FTGL_BUILDLINK3_MK + +BUILDLINK_TREE+= -ftgl diff --git a/ftgl/distinfo b/ftgl/distinfo new file mode 100644 index 0000000000..cd0dfe73fd --- /dev/null +++ b/ftgl/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/11/18 10:05:20 ryo-on Exp $ + +SHA1 (ftgl-2.1.3-rc5.tar.gz) = b9c11d3a594896333f1bbe46e10d8617713b4fc6 +RMD160 (ftgl-2.1.3-rc5.tar.gz) = 22ead818fde748be1ffeedb31f8702b7924d212f +Size (ftgl-2.1.3-rc5.tar.gz) = 841597 bytes