pkgsrc/textproc/sablotron/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

2006-07-10 09:59:02 +02:00
# $NetBSD: Makefile,v 1.38 2006/07/10 07:59:02 rillig Exp $
DISTNAME= Sablot-1.0.2
Updated sablotron to 1.0 Changes: Version 1.0 August 8, 2003 --------------- - two flags SAB_DUMP_SHEET_STRUCTURE (0x40) and SAB_NO_EXTERNAL_ENTITIES (0x80) added - nested xsl:attribute reported as error - > is always escaped to prevent problems with CDATA end - new configurable set of makefiles for Windows MSVC++ has been created to replace existing Makefile.nt file [by Rosimildo daSilva, patch by Bob Kline] - fixed a type comparison failing on arm, powerpc and s390 [reported by Debian maintainers] - fixed a bug of default NS in imported/included templates - fixed a segfault in keys defined on empty nodes [reported by Simon Spanihel] - minor changes to compile under QNX 6.2 [patch by Adrian Weiler] - fixed a bug of nested imports [reported by Dave Brooks] - fixed a bug of UTF-16 encoded files on Win [reported by Andrey Sokolov] - fixed a bug of defenition check in shandler.h for Borland compilers [reported by Vladimir Lukianov] - fixed a bug of crashing sorting on Windows - fixed a bug of crashing key() on RTF [reported by Valeriy Ovechkin] - solved the issue of too many files open with exsl:document - fixed a bug of casting of 64-bit pointers to (int) [patch by Steve Crockett] - fixed a bug absolute paths starting with a drive letter on Windows (unsupported scheme is reported) - fixed a bug of SDOM_DestroyDocument Version 0.98 April 7, 2003 ------------- - added stylesheet chaining to sabcmd [by Stefan Behnel] - changes in XML::Sablotron (new layout, added DOMHandler SXP interface) [by Nicolas Trebst and Anselm Kruis] - fixed a bug of variables bound for SXP queries - fixed a bug of the self axis (principal node type) - fix for Metrowerks C/C++ compiler [suggested by Tim Crook] - fixed a bug of forbidden XPath (child::xxx@yyy) - configuration fixes (APIDOC docs are built only when Perl/XML::Parser found) - fixed defaults for xsl:number - fixed a bug of required order of top-level variables - fixes in the outputting of NS declarations - fixes in the import precedence [report by Roy Huggins] - added a new config switch for sabcmd to abort on XSLT error (--enable-abort-on-error) - fixed a bug in namespace-alias - fixed segfault occurring when formating big numbers (>1e127) - fixed comparison of char to 0 for unsigned-char platforms Version 0.97 December 30, 2002 ----------------- - fixed the problem with Expat 1.95.5 - fixed a bug in xsl:message [report by Bob Kline] - fixed an infinite loop bug in recursive imports [report by Michael Vladimirov] - added SablotGetOptions() function - added a new option (SAB_FILES_TO_HANDLER) to pass the 'file' URIs to the scheme handler - fixed collisions with PHP/Java extension, Arena* renamed to SabArena [suggested by Christian Stocker] - mapping of namespaces added to xql() function (DOM) - chars illegal in output encoding displayed as references (for xml, html, xhtml output methods) - fixed resolution of relative URIs in document() - fixed a bug of not overridden imported parameters - documentation sources (APIDOC XML) added to distribution Closes my own PR pkg/22603.
2003-08-29 17:29:29 +02:00
PKGNAME= ${DISTNAME:S/Sablot/sablotron/}
PKGREVISION= 3
CATEGORIES= textproc
2004-05-09 06:56:45 +02:00
MASTER_SITES= http://download-1.gingerall.cz/download/sablot/
MAINTAINER= uithuis@dds.nl
HOMEPAGE= http://www.gingerall.com/charlie/ga/xml/p_sab.xml
COMMENT= XML toolkit implementing XSLT, DOM, and XPath
BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
GNU_CONFIGURE= YES
2006-07-10 09:59:02 +02:00
USE_TOOLS+= gmake perl
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/sablotron
# sablotron needs iconv but assumes it is in libc, so add what
2004-07-07 00:57:48 +02:00
# buildlink3 finds.
2004-04-25 02:50:46 +02:00
LIBS+= ${_BUILDLINK_LDADD.iconv}
.include "../../mk/compiler.mk"
# both libstdc++ and libm are required for gcc 2.95.x, as libstdc++
# does not include the math functions. gcc3 only needs libstdc++.
# SunPro needs libCrun and libm.
#
# XXX any extra libs needed on IRIX?
.if !empty(PKGSRC_COMPILER:Msunpro)
LIBS+= -lCrun -lm
.elif !empty(CC_VERSION:Mgcc-2*)
LIBS+= -lstdc++ -lm
.elif !empty(CC_VERSION:Mgcc-3*)
LIBS+= -lstdc++ -lm
.endif
2004-04-25 02:50:46 +02:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"