pkgsrc/textproc/serd/Makefile

36 lines
910 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2019/04/25 07:33:24 maya Exp $
Update serd to 0.30.0. Incidentally, this fixes compilation with Python 3.7. Serd 0.30.0 * Upgrade to waf 2.0.9 and autowaf a328983 * Fix length of base64 encoded nodes * Clarify errors returned by serd_env_expand() * Fix reported error when reading statements with only a blank node * Fix parsing local names that end with escaped dots * Improve relative URI serialisation * Add serdi option to write ASCII output * Make serdi guess input syntax from extension if unspecified * Make serdi syntax options case-insensitive * Add basic error tolerant parsing for line-based formats * Support strict parsing of prefixed names * Report errors for all failing test cases * Use more efficient stack allocation and growth policies * Add NTriples test suite * Fix building with MSVC * Clean up testing code * Add serd_free for freeing memory allocated by serd Serd 0.28.0 * Add support for reading from a user provided callback * Add serd_node_from_substring() * Fix strict parsing of abolute URI schemes * Fix parsing of hex escapes in file URIs (thanks Johannes Mueller) * Gracefully handle applications that write corrupt UTF-8 * Fix hangs when reading corrupt UTF-8 Serd 0.26.0 * Add support for TriG and NQuads * Add support for braindead SPARQL PREFIX and BASE directives Serd 0.24.0 * Add serd_node_new_relative_uri() * Fix construction and comparison of URIs with UTF-8 characters * Report I/O errors with message and return appropriate status code * Report missing statement separator errors * Fix potential out of bounds read * Fix unaligned memory access, undefined behaviour which breaks on ARM * Fix documentation generation * Update serdi man page Serd 0.22.0 * Remove dependence on fmax() to avoid portability issues * Fix serd_reader_read_file() for URIs with escaped characters (spaces) * Add serd_reader_set_strict() and -l (lax) option to serdi to tolerate parsing URIs with escaped characters * Fix reading statements ending with a blank then dot with no space * Fix clash resolution when a blank node ID prefix is set * Fix serializing fractional decimals that would round up * Add support for Turtle named inline nodes extension * Report errors for invalid IRI characters and missing terminators * Show serdi errors in standard format * Fix warnings when building with ISO C++ compilers * Upgrade to waf 1.8.14
2019-01-02 20:39:23 +01:00
DISTNAME= serd-0.30.0
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://download.drobilla.net/
EXTRACT_SUFX= .tar.bz2
2017-09-16 21:26:41 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://drobilla.net/software/serd/
COMMENT= Lightweight C library for RDF syntax
LICENSE= isc
USE_LANGUAGES= c99
USE_TOOLS+= gsed pkg-config
PKGCONFIG_OVERRIDE+= serd.pc.in
.include "options.mk"
BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} ${BUILD_VALGRIND}
do-configure:
cd ${WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
--destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \
${BUILD_OPTIONS}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
do-install:
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"