Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 04:15:51 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/93617: [NEW PORT] graphics/gltext: Portable font rendering library for C++
Message-ID:  <200602210415.k1L4FpUA014585@www.freebsd.org>
Resent-Message-ID: <200602210420.k1L4K7WD052857@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93617
>Category:       ports
>Synopsis:       [NEW PORT] graphics/gltext: Portable font rendering library for C++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 04:20:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Feb 15 20:23:11 PET 2006     
>Description:
GLText is a portable font rendering library for C++ OpenGL applications. It uses FreeType2 to read and render 
high-quality TrueType fonts with a minimal footprint. With just a few easy lines of C++, you can add gorgeously 
rendered text to your graphical applications. 

GLText is an open source project licensed under the LGPL. Basically this means that you can use and link your 
application with it regardless of what license your application uses. If you make changes to GLText, however, 
you must make those changes open source under the LGPL. 

Written with portablility in mind, GLText works on Windows, Linux, FreeBSD and IRIX - virtually anywhere that 
FreeType2 supports.

WWW:	http://gltext.sourceforge.net   
>How-To-Repeat:
              
>Fix:
--- gltext-0.3.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gltext
#	gltext/pkg-descr
#	gltext/Makefile
#	gltext/pkg-plist
#	gltext/distinfo
#
echo c - gltext
mkdir -p gltext > /dev/null 2>&1
echo x - gltext/pkg-descr
sed 's/^X//' >gltext/pkg-descr << 'END-of-gltext/pkg-descr'
XGLText is a portable font rendering library for C++ OpenGL applications. It uses FreeType2 to read and render 
Xhigh-quality TrueType fonts with a minimal footprint. With just a few easy lines of C++, you can add gorgeously 
Xrendered text to your graphical applications. 
X
XGLText is an open source project licensed under the LGPL. Basically this means that you can use and link your 
Xapplication with it regardless of what license your application uses. If you make changes to GLText, however, 
Xyou must make those changes open source under the LGPL. 
X
XWritten with portablility in mind, GLText works on Windows, Linux, FreeBSD and IRIX - virtually anywhere that 
XFreeType2 supports.
X
XWWW:	http://gltext.sourceforge.net
END-of-gltext/pkg-descr
echo x - gltext/Makefile
sed 's/^X//' >gltext/Makefile << 'END-of-gltext/Makefile'
X# New ports collection makefile for:	gltext
X# Date created:		2006-02-20
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gltext
XPORTVERSION=	0.3.1
XCATEGORIES=	graphics
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Portable font rendering library for C++
X
XLIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2
X
XUSE_X_PREFIX=	yes
XUSE_GL=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XCPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}"
X
XOPTIONS=	EXAMPLES	"Compile examples, need libglut"	off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_EXAMPLES)
XLIB_DEPENDS+=	glut.4:${PORTSDIR}/graphics/libglut
XFLAG_EXAMPLES=	true
X.endif
X
Xpre-build:
X.if !defined(FLAG_EXAMPLES)
X	${REINPLACE_CMD} -e 's|SUBDIRS = src examples doc|SUBDIRS = src doc|g' ${WRKSRC}/Makefile
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${DOCSDIR}
X.endif
X
X.if defined(FLAG_EXAMPLES)
X.for DIRE in alpha fps simple sizes
X	@${MKDIR} ${EXAMPLESDIR}/${DIRE}
X	@cd ${WRKSRC}/examples && \
X		${INSTALL_DATA} ${DIRE}/${DIRE} ${DIRE}/${DIRE}.cpp ${EXAMPLESDIR}/${DIRE}
X.endfor
X	@${ECHO_MSG}	""
X	@${ECHO_MSG}	"		Examples source and binary on ${EXAMPLESDIR}"
X	@${ECHO_MSG}	""
X.endif
X.include <bsd.port.post.mk>
END-of-gltext/Makefile
echo x - gltext/pkg-plist
sed 's/^X//' >gltext/pkg-plist << 'END-of-gltext/pkg-plist'
Xinclude/gltext.h
Xlib/libgltext-0.3.1.so
Xlib/libgltext.so
Xlib/libgltext.la
Xlib/libgltext.a
X%%DOCSDIR%%/tutorial.txt
X%%EXAMPLESDIR%%/alpha/alpha
X%%EXAMPLESDIR%%/alpha/alpha.cpp
X%%EXAMPLESDIR%%/fps/fps
X%%EXAMPLESDIR%%/fps/fps.cpp
X%%EXAMPLESDIR%%/simple/simple
X%%EXAMPLESDIR%%/simple/simple.cpp
X%%EXAMPLESDIR%%/sizes/sizes
X%%EXAMPLESDIR%%/sizes/sizes.cpp
X@dirrm %%DOCSDIR%%
X@dirrm %%EXAMPLESDIR%%/alpha
X@dirrm %%EXAMPLESDIR%%/fps
X@dirrm %%EXAMPLESDIR%%/simple
X@dirrm %%EXAMPLESDIR%%/sizes
X@dirrm %%EXAMPLESDIR%%
END-of-gltext/pkg-plist
echo x - gltext/distinfo
sed 's/^X//' >gltext/distinfo << 'END-of-gltext/distinfo'
XMD5 (gltext-0.3.1.tar.gz) = 561da5749a117a78a107291f7cb3ebd0
XSHA256 (gltext-0.3.1.tar.gz) = 44bcbf2ac0d9fa011b6ef703efb085bc2f21724d565a8ec6c334159304031bed
XSIZE (gltext-0.3.1.tar.gz) = 364843
END-of-gltext/distinfo
exit
--- gltext-0.3.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602210415.k1L4FpUA014585>