FTGL is a font rendering library for OpenGL applications.
Supported rendering modes are: * Bitmaps * Anti-aliased pixmaps * Texture maps * Outlines * Polygon meshes * Extruded polygon meshes FTGL uses the Freetype font library to open and decode standard font files. It then takes that output and stores it in a format most efficient for OpenGL rendering. FTGL is designed to be used in commercial quality software. It has been written with performance, robustness and simplicity in mind. FTGL is free software. You may use it, modify it and redistribute it under the terms of the MIT license or the GNU LGPL, at your option. ok merdely@
This commit is contained in:
parent
647c8228f1
commit
2571ec5d09
29
graphics/ftgl/Makefile
Normal file
29
graphics/ftgl/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/06 05:18:56 phessler Exp $
|
||||
|
||||
COMMENT = font rendering library for OpenGL applications
|
||||
|
||||
DISTNAME = ftgl-2.1.3-rc5
|
||||
SHARED_LIBS = ftgl 0.0 # 2.1
|
||||
CATEGORIES = graphics
|
||||
|
||||
HOMEPAGE = http://ftgl.wiki.sourceforge.net
|
||||
MAINTAINER = Peter Hessler <phessler@openbsd.org>
|
||||
|
||||
# MIT license or the GNU LGPL, at your option.
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WRKDIST = ${WRKDIR}/${DISTNAME:S/-rc/~rc/}
|
||||
WANTLIB = GL GLU ICE SM X11 Xau Xdmcp Xext Xmu Xt freetype m z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ftgl/}
|
||||
USE_LIBTOOL = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
||||
--with-gl-inc=${X11BASE}/include \
|
||||
--with-gl-lib=${X11BASE}/lib
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
5
graphics/ftgl/distinfo
Normal file
5
graphics/ftgl/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (ftgl-2.1.3-rc5.tar.gz) = /PTQVnt96YddTpmp90I2Mw==
|
||||
RMD160 (ftgl-2.1.3-rc5.tar.gz) = IurYGP3nSL4f/u2zH4cCt5JNIS8=
|
||||
SHA1 (ftgl-2.1.3-rc5.tar.gz) = ucEdOllIljM/G75G4Q2GF3E7T8Y=
|
||||
SHA256 (ftgl-2.1.3-rc5.tar.gz) = VFjWISJFSGlXLTn4qoV0X8BdVRgAG876Y71su40mVls=
|
||||
SIZE (ftgl-2.1.3-rc5.tar.gz) = 841597
|
30
graphics/ftgl/patches/patch-configure
Normal file
30
graphics/ftgl/patches/patch-configure
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2009/06/06 05:18:56 phessler Exp $
|
||||
--- configure.orig Thu Jun 12 08:32:56 2008
|
||||
+++ configure Fri Jun 5 22:25:02 2009
|
||||
@@ -23000,7 +23000,7 @@ if test "x$FRAMEWORK_OPENGL" = "x" ; then
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for GLU library" >&5
|
||||
echo $ECHO_N "checking for GLU library... $ECHO_C" >&6; }
|
||||
-LIBS="-lGLU $GL_LIBS"
|
||||
+LIBS="$LIBS -lm -lGLU $GL_LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -23053,7 +23053,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_i
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
if test "x$HAVE_GLU" = xno ; then
|
||||
if test "x$GL_X_LIBS" != x ; then
|
||||
- LIBS="-lGLU $GL_LIBS $GL_X_LIBS"
|
||||
+ LIBS="-lGLU -lm $GL_LIBS $GL_X_LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -23109,7 +23109,7 @@ fi
|
||||
if test "x$HAVE_GLU" = xyes ; then
|
||||
{ echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6; }
|
||||
- GL_LIBS="$LIBS"
|
||||
+ GL_LIBS="$LIBS -lm"
|
||||
else
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
21
graphics/ftgl/pkg/DESCR
Normal file
21
graphics/ftgl/pkg/DESCR
Normal file
@ -0,0 +1,21 @@
|
||||
FTGL is a font rendering library for OpenGL applications.
|
||||
|
||||
Supported rendering modes are:
|
||||
|
||||
* Bitmaps
|
||||
* Anti-aliased pixmaps
|
||||
* Texture maps
|
||||
* Outlines
|
||||
* Polygon meshes
|
||||
* Extruded polygon meshes
|
||||
|
||||
|
||||
FTGL uses the Freetype font library to open and decode standard font
|
||||
files. It then takes that output and stores it in a format most
|
||||
efficient for OpenGL rendering.
|
||||
|
||||
FTGL is designed to be used in commercial quality software. It has been
|
||||
written with performance, robustness and simplicity in mind.
|
||||
|
||||
FTGL is free software. You may use it, modify it and redistribute it
|
||||
under the terms of the MIT license or the GNU LGPL, at your option.
|
2
graphics/ftgl/pkg/PFRAG.shared
Normal file
2
graphics/ftgl/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/06/06 05:18:56 phessler Exp $
|
||||
@lib lib/libftgl.so.${LIBftgl_VERSION}
|
31
graphics/ftgl/pkg/PLIST
Normal file
31
graphics/ftgl/pkg/PLIST
Normal file
@ -0,0 +1,31 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/06 05:18:56 phessler Exp $
|
||||
%%SHARED%%
|
||||
include/FTGL/
|
||||
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.a
|
||||
lib/libftgl.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/ftgl.pc
|
||||
share/doc/ftgl/
|
||||
share/doc/ftgl/projects_using_ftgl.txt
|
Loading…
Reference in New Issue
Block a user