ports/146061: Update port: textproc/tinyxml Upgrade TinyXML to 2.6.1, and enable STL support

rdb me at rdb.name
Mon Apr 26 10:40:02 UTC 2010


>Number:         146061
>Category:       ports
>Synopsis:       Update port: textproc/tinyxml Upgrade TinyXML to 2.6.1, and enable STL support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 26 10:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     rdb
>Release:        8.0
>Organization:
>Environment:
>Description:
Attached is a shar containing a new, working textproc/tinyxml port. I upgraded the version to the latest stable version (2.6.1) and I added the -DTIXML_USE_STL cflag, which builds TinyXML with STL support enabled. Some programs that I tried to compile relied on having STL support compiled in, this port update fixes that common problem.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	tinyxml
#	tinyxml/files
#	tinyxml/files/Makefile
#	tinyxml/Makefile
#	tinyxml/pkg-descr
#	tinyxml/pkg-plist
#
echo c - tinyxml
mkdir -p tinyxml > /dev/null 2>&1
echo c - tinyxml/files
mkdir -p tinyxml/files > /dev/null 2>&1
echo x - tinyxml/files/Makefile
sed 's/^X//' >tinyxml/files/Makefile << '0a13c10d094aac6c2b6f7ab2c71b54b3'
X# $FreeBSD: ports/textproc/tinyxml/files/Makefile,v 1.1 2004/07/29 14:38:12 skv Exp $
X# $Id$
X
XLIB = 	tinyxml
XSRCS=	tinystr.cpp tinyxmlerror.cpp tinyxml.cpp tinyxmlparser.cpp
XINCS=	tinyxml.h tinystr.h
X
XCXXFLAGS+=	-DTIXML_USE_STL
X
XSHLIB_MAJOR=	%%SHLIB_MAJOR%%
X
XLIBDIR=		${PREFIX}/lib
XINCLUDEDIR=	${PREFIX}/include
X
X.include <bsd.lib.mk>
0a13c10d094aac6c2b6f7ab2c71b54b3
echo x - tinyxml/Makefile
sed 's/^X//' >tinyxml/Makefile << '430d53fcdbbc29940deb6e0a01e2358c'
X# New ports collection makefile for:	tinyxml
X# Date created:	   28 July 2004
X# Whom:		   Sergey Skvortsov <skv at protey.ru>
X#
X# $FreeBSD: ports/textproc/tinyxml/Makefile,v 1.7 2009/08/22 00:37:12 amdmi3 Exp $
X#
X
XPORTNAME=	tinyxml
XPORTVERSION=	2.6.1
XPORTREVISION=	1
XCATEGORIES=	textproc
XMASTER_SITES=	SF
XDISTNAME=	${PORTNAME}_${PORTVERSION:S/./_/g}
X
XMAINTAINER=	skv at FreeBSD.org
XCOMMENT=	Small C++ XML parser
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_LDCONFIG=	YES
XSHLIB_MAJOR=	2
XPLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
X
X.if defined(NOPROFILE) || defined(NO_PROFILE)
XPLIST_SUB+=	PROFILE="@comment "
X.else
XPLIST_SUB+=	PROFILE=""
X.endif
X
Xpost-patch:
X	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
X	@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
X		${FILESDIR}/Makefile > ${WRKSRC}/Makefile
X
Xpost-install:
X.ifndef(NOPORTDOCS)
X	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
430d53fcdbbc29940deb6e0a01e2358c
echo x - tinyxml/pkg-descr
sed 's/^X//' >tinyxml/pkg-descr << '7b4560c1b41dc07361e20da296eec643'
XTinyXml is a simple, small, C++ XML parser that can be easily
Xintegrating into other programs.
X
XWWW: http://sourceforge.net/projects/tinyxml/
7b4560c1b41dc07361e20da296eec643
echo x - tinyxml/pkg-plist
sed 's/^X//' >tinyxml/pkg-plist << '5e6d4c78d982206c1af7c522bb435f16'
Xinclude/tinystr.h
Xinclude/tinyxml.h
Xlib/libtinyxml.a
Xlib/libtinyxml.so
Xlib/libtinyxml.so.%%SHLIB_MAJOR%%
X%%PROFILE%%lib/libtinyxml_p.a
X%%PORTDOCS%%%%DOCSDIR%%/annotated.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlBase-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlBase.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlBase.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlComment-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlComment.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlComment.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlDeclaration-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlDeclaration.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlDeclaration.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlDocument-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlDocument.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlDocument.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlElement-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlElement.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlElement.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlHandle-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlHandle.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlNode-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlNode.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlNode.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlPrinter-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlPrinter.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlPrinter.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlText-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlText.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlText.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlUnknown-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlUnknown.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlUnknown.png
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlVisitor-members.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlVisitor.html
X%%PORTDOCS%%%%DOCSDIR%%/classTiXmlVisitor.png
X%%PORTDOCS%%%%DOCSDIR%%/classes.html
X%%PORTDOCS%%%%DOCSDIR%%/deprecated.html
X%%PORTDOCS%%%%DOCSDIR%%/doxygen.css
X%%PORTDOCS%%%%DOCSDIR%%/doxygen.png
X%%PORTDOCS%%%%DOCSDIR%%/files.html
X%%PORTDOCS%%%%DOCSDIR%%/functions.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x63.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x64.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x65.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x66.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x67.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x69.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x6c.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x6e.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x6f.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x70.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x71.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x72.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x73.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x74.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x75.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_0x76.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_enum.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x63.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x64.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x65.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x66.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x67.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x69.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x6c.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x6e.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x70.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x71.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x72.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x73.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x74.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x75.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_func_0x76.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_rela.html
X%%PORTDOCS%%%%DOCSDIR%%/functions_vars.html
X%%PORTDOCS%%%%DOCSDIR%%/hierarchy.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/pages.html
X%%PORTDOCS%%%%DOCSDIR%%/tab_b.gif
X%%PORTDOCS%%%%DOCSDIR%%/tab_l.gif
X%%PORTDOCS%%%%DOCSDIR%%/tab_r.gif
X%%PORTDOCS%%%%DOCSDIR%%/tabs.css
X%%PORTDOCS%%%%DOCSDIR%%/tinystr_8h_source.html
X%%PORTDOCS%%%%DOCSDIR%%/tinyxml_8h_source.html
X%%PORTDOCS%%%%DOCSDIR%%/tutorial0.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
5e6d4c78d982206c1af7c522bb435f16
exit



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



More information about the freebsd-ports-bugs mailing list