Date: Tue, 16 Dec 2014 20:01:12 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374819 - in head/devel: . libxo libxo/files Message-ID: <201412162001.sBGK1Cht078872@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Tue Dec 16 20:01:11 2014 New Revision: 374819 URL: https://svnweb.freebsd.org/changeset/ports/374819 QAT: https://qat.redports.org/buildarchive/r374819/ Log: Add a port of libxo: libxo - A Library for Generating Text, XML, JSON, and HTML Output The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced. The application calls a function "xo_emit" to product output that is described in a format string. A "field descriptor" tells libxo what the field is and what it means. Sponsored by: DARPA, AFRL Added: head/devel/libxo/ head/devel/libxo/Makefile (contents, props changed) head/devel/libxo/distinfo (contents, props changed) head/devel/libxo/files/ head/devel/libxo/files/patch-libxo_Makefile.in (contents, props changed) head/devel/libxo/files/patch-xolint_Makefile.in (contents, props changed) head/devel/libxo/pkg-descr (contents, props changed) head/devel/libxo/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Dec 16 19:58:29 2014 (r374818) +++ head/devel/Makefile Tue Dec 16 20:01:11 2014 (r374819) @@ -1189,6 +1189,7 @@ SUBDIR += libwfut SUBDIR += libx86 SUBDIR += libxalloc + SUBDIR += libxo SUBDIR += libxs SUBDIR += libytnef SUBDIR += libzookeeper Added: head/devel/libxo/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libxo/Makefile Tue Dec 16 20:01:11 2014 (r374819) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= libxo +PORTVERSION= 0.1.6 +CATEGORIES= devel textproc +MASTER_SITES= http://github.com/Juniper/${PORTNAME}/releases/download/${PORTVERSION}/ + +MAINTAINER= brooks@FreeBSD.org +COMMENT= Library to generate text, XML, JSON, and HTML output + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/Copyright + +USES= gmake libtool perl5 +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USE_PERL5= run + +.include <bsd.port.mk> Added: head/devel/libxo/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libxo/distinfo Tue Dec 16 20:01:11 2014 (r374819) @@ -0,0 +1,2 @@ +SHA256 (libxo-0.1.6.tar.gz) = 7a290d906f2cf7c4930dd8ccb3b0646ed00d0abeedee004e68afecc2794fdca4 +SIZE (libxo-0.1.6.tar.gz) = 649450 Added: head/devel/libxo/files/patch-libxo_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libxo/files/patch-libxo_Makefile.in Tue Dec 16 20:01:11 2014 (r374819) @@ -0,0 +1,47 @@ +--- libxo/Makefile.in.orig 2014-11-18 07:39:34 UTC ++++ libxo/Makefile.in +@@ -352,25 +352,25 @@ libxoinc_HEADERS = \ + libxo_la_SOURCES = \ + libxo.c + +-man_MANS = \ +- libxo.3 \ +- xo_attr.3 \ +- xo_create.3 \ +- xo_emit.3 \ +- xo_err.3 \ +- xo_finish.3 \ +- xo_flush.3 \ +- xo_format.5 \ +- xo_no_setlocale.3 \ +- xo_open_container.3 \ +- xo_open_list.3 \ +- xo_parse_args.3 \ +- xo_set_allocator.3 \ +- xo_set_flags.3 \ +- xo_set_info.3 \ +- xo_set_options.3 \ +- xo_set_style.3 \ +- xo_set_writer.3 ++#man_MANS = \ ++# libxo.3 \ ++# xo_attr.3 \ ++# xo_create.3 \ ++# xo_emit.3 \ ++# xo_err.3 \ ++# xo_finish.3 \ ++# xo_flush.3 \ ++# xo_format.5 \ ++# xo_no_setlocale.3 \ ++# xo_open_container.3 \ ++# xo_open_list.3 \ ++# xo_parse_args.3 \ ++# xo_set_allocator.3 \ ++# xo_set_flags.3 \ ++# xo_set_info.3 \ ++# xo_set_options.3 \ ++# xo_set_style.3 \ ++# xo_set_writer.3 + + EXTRA_DIST = + all: xoconfig.h Added: head/devel/libxo/files/patch-xolint_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libxo/files/patch-xolint_Makefile.in Tue Dec 16 20:01:11 2014 (r374819) @@ -0,0 +1,11 @@ +--- xolint/Makefile.in.orig 2014-11-18 07:39:34 UTC ++++ xolint/Makefile.in +@@ -529,7 +529,7 @@ uninstall-man: uninstall-man1 + + + install-exec-hook: +- install ${srcdir}/xolint.pl ${bindir}/xolint ++ install ${srcdir}/xolint.pl $(DESTDIR)${bindir}/xolint + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. Added: head/devel/libxo/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libxo/pkg-descr Tue Dec 16 20:01:11 2014 (r374819) @@ -0,0 +1,10 @@ +libxo - A Library for Generating Text, XML, JSON, and HTML Output + +The libxo library allows an application to generate text, XML, JSON, +and HTML output using a common set of function calls. The application +decides at run time which output style should be produced. The +application calls a function "xo_emit" to product output that is +described in a format string. A "field descriptor" tells libxo what +the field is and what it means. + +WWW: https://github.com/Juniper/libxo Added: head/devel/libxo/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libxo/pkg-plist Tue Dec 16 20:01:11 2014 (r374819) @@ -0,0 +1,12 @@ +bin/libxo-config +bin/xo +bin/xolint +include/libxo/xo.h +lib/libxo.a +lib/libxo.so +lib/libxo.so.0 +lib/libxo.so.0.0.0 +lib/pkgconfig/libxo.pc +man/man1/xo.1.gz +man/man1/xolint.1.gz +%%PORTDOCS%%%%DOCSDIR%%/Copyright
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412162001.sBGK1Cht078872>