head	1.4;
access;
symbols
	pkgsrc-2026Q2:1.3.0.2
	pkgsrc-2026Q2-base:1.3;
locks; strict;
comment	@# @;


1.4
date	2026.08.02.20.26.26;	author js;	state Exp;
branches;
next	1.3;
commitid	T95nkd6G5LAtt6QG;

1.3
date	2026.06.21.21.24.22;	author js;	state Exp;
branches;
next	1.2;
commitid	Bo1LiIDbvNbM8IKG;

1.2
date	2026.06.20.19.54.39;	author js;	state Exp;
branches;
next	1.1;
commitid	Pq7wD4CiMRGgGzKG;

1.1
date	2026.06.18.22.03.18;	author js;	state Exp;
branches;
next	;
commitid	5hFvcvnHbyCoskKG;


desc
@@


1.4
log
@Update textproc/gemtext2html to 1.2

- Migrates build system from Meson to buildsys.mk for better
  portability.
@
text
@# $NetBSD: Makefile,v 1.3 2026/06/21 21:24:22 js Exp $

PKGNAME=	gemtext2html-1.2
DISTNAME=	v${PKGVERSION_NOREV}
CATEGORIES=	textproc
MASTER_SITES=	https://git.nil.im/js/Gemtext2HTML/archive/
DIST_SUBDIR=	gemtext2html

MAINTAINER=	js@@NetBSD.org
HOMEPAGE=	gemini://nil.im/gemtext2html
COMMENT=	Simple library and command line utility to translate Gemtext to HTML
LICENSE=	gnu-lgpl-v3

WRKSRC=			${WRKDIR}/gemtext2html
GNU_CONFIGURE=		yes
USE_LANGUAGES=		objc
PKGSRC_COMPILER=	clang	# Needs to be the same as devel/objfw
USE_TOOLS+=		autoconf automake

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Darwin"
TOOL_DEPENDS+=		clang>=3.2:../../lang/clang
.endif

PLIST_SRC=		PLIST
.if ${OPSYS} == "Darwin"
PLIST_SRC+=		PLIST.framework
.endif

pre-configure:
	cd ${WRKSRC} && ./autogen.sh

.include "../../devel/objfw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.3
log
@Update textproc/gemtext2html to 1.1

* Includes encoding in <meta> tag.
* Includes xmlns in <html> tag for XHTML compatibility.
* Allows specifying a prefix for local links.
* Makes e-mail address links a separate link class.
* Adds SVG to default list of image formats.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2026/06/20 19:54:39 js Exp $
d3 1
a3 1
PKGNAME=	gemtext2html-1.1
d15 1
a16 1
USE_TOOLS+=		pkg-config
d18 1
d26 8
a34 1
.include "../../devel/meson/build.mk"
@


1.2
log
@Update textproc/gemtext2html to 1.0.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/06/18 22:03:18 js Exp $
d3 1
a3 1
PKGNAME=	gemtext2html-1.0.1
@


1.1
log
@Add textproc/gemtext2html

Gemtext2HTML is a simple ObjC library with a C interface and a command line
utility that translates Gemtext to HTML.

The command line utitlity acts as a filter, meaning it reads Gemtext from stdin
and outputs HTML to stdout. This can be used to render Gemtext in Forgejo,
including a "README.gmi" file.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
PKGNAME=	gemtext2html-0.1
@

