Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2006 01:31:32 -0500
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org, bug-followup@FreeBSD.org
Subject:   Re: ports/93617: [NEW PORT] graphics/gltext: Portable font rendering library for C++
Message-ID:  <20060409013132.b36312b7.acardenas@bsd.org.pe>
In-Reply-To: <200604082350.k38NotPe038627@freefall.freebsd.org>
References:  <200604082350.k38NotPe038627@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Apr 2006 23:50:55 GMT
Pav Lucistnik <pav@FreeBSD.org> wrote:

> Synopsis: [NEW PORT] graphics/gltext: Portable font rendering library for C++
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: pav
> State-Changed-When: Sat Apr 8 23:50:09 UTC 2006
> State-Changed-Why: 
> Please fix the port to install shared libraries with FreeBSD naming scheme, ie
> 
> lib/libgltext.a
> lib/libgltext.la
> lib/libgltext.so
> lib/libgltext.so.0
> 
> 
> Responsible-Changed-From-To: freebsd-ports-bugs->pav
> Responsible-Changed-By: pav
> Responsible-Changed-When: Sat Apr 8 23:50:09 UTC 2006
> Responsible-Changed-Why: 
> Track
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=93617
> 

New shar file.

- Rename port to libgltext
- A few modifications

--- libgltext-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:
#
#	libgltext
#	libgltext/pkg-descr
#	libgltext/Makefile
#	libgltext/pkg-plist
#	libgltext/distinfo
#
echo c - libgltext
mkdir -p libgltext > /dev/null 2>&1
echo x - libgltext/pkg-descr
sed 's/^X//' >libgltext/pkg-descr << 'END-of-libgltext/pkg-descr'
XGLText is a portable font rendering library for C++ OpenGL applications. It 
Xuses FreeType2 to read and render high-quality TrueType fonts with a minimal 
Xfootprint. 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
Xthat you can use and link your application with it regardless of what license
Xyour 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
XIRIX - virtually anywhere that FreeType2 supports.
X
XWWW:	http://gltext.sourceforge.net
END-of-libgltext/pkg-descr
echo x - libgltext/Makefile
sed 's/^X//' >libgltext/Makefile << 'END-of-libgltext/Makefile'
X# New ports collection makefile for:	libgltext
X# Date created:		2006-02-20
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libgltext
XPORTVERSION=	0.3.1
XCATEGORIES=	graphics
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	gltext-${PORTVERSION}
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
X#pre-build:
X#.if !defined(FLAG_EXAMPLES)
X#	${REINPLACE_CMD} -e 's|SUBDIRS = src examples doc|SUBDIRS = src doc|g' ${WRKSRC}/Makefile
X#.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PORTNAME}-${PORTVERSION}.so \
X		${PREFIX}/lib/${PORTNAME}.so.0
X	${INSTALL_DATA} ${WRKSRC}/src/.libs/${PORTNAME}.a \
X		${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.la \
X		${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/src/gltext.h ${PREFIX}/include
X
X	@cd ${PREFIX}/lib && \
X		${LN} -s ${PORTNAME}.so.0 ${PORTNAME}.so
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
X.include <bsd.port.post.mk>
END-of-libgltext/Makefile
echo x - libgltext/pkg-plist
sed 's/^X//' >libgltext/pkg-plist << 'END-of-libgltext/pkg-plist'
Xinclude/gltext.h
Xlib/libgltext.so.0
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-libgltext/pkg-plist
echo x - libgltext/distinfo
sed 's/^X//' >libgltext/distinfo << 'END-of-libgltext/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-libgltext/distinfo
exit
--- libgltext-0.3.1.shar ends here ---

Greetings
ACM
-- 
Grupo de Usuarios *BSD Peru - BSDPeru
http://www.bsd.org.pe



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