head	1.2;
access;
symbols
	pkgsrc-2026Q3:1.2.0.2
	pkgsrc-2026Q3-base:1.2;
locks; strict;
comment	@# @;


1.2
date	2026.09.14.08.21.11;	author wiz;	state Exp;
branches;
next	1.1;
commitid	SsH5zj76223S4zVG;

1.1
date	2026.09.09.02.26.33;	author charlotte;	state Exp;
branches;
next	;
commitid	lrjsUOamsppbhTUG;


desc
@@


1.2
log
@libxo: add missing libtool dependency, force c99, fix PLIST

c99: This uses 'bool' as a variable name.
@
text
@# $NetBSD: Makefile,v 1.1 2026/09/09 02:26:33 charlotte Exp $

DISTNAME=	libxo-2.0.0
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=Juniper/}
GITHUB_RELEASE=	${PKGVERSION_NOREV}
GITHUB_TYPE=	release

MAINTAINER=	charlotte@@NetBSD.org
HOMEPAGE=	https://github.com/Juniper/libxo
COMMENT=	Library for generating text, XML, JSON, and HTML output
LICENSE=	2-clause-bsd

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c
# 'bool' as variable name
FORCE_C_STD=	c99
USE_LIBTOOL=	yes
USE_TOOLS+=	autoconf automake gmake msgfmt perl:run

REPLACE_PERL+=	xolint/xolint.pl

CONFIGURE_ARGS+=	MAKE=gmake

pre-configure:
	cd ${WRKSRC} && autoreconf -fi && automake

post-install:
	find ${DESTDIR} -type f -name \*.la -delete

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@textproc/libxo: New package

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.
@
text
@d1 1
a1 1
# $NetBSD$
d16 3
@

