[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / guile-haunt

File: [cvs.NetBSD.org] / pkgsrc / www / guile-haunt / Makefile (download)

Revision 1.1, Tue Nov 26 18:10:55 2019 UTC (4 months, 1 week ago) by ng0
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD

Add www/guile-haunt version 0.2.4

Haunt is a static site generator written in Guile Scheme.
Haunt features a functional build system and an extensible
interface for reading articles in any format.

# $NetBSD: Makefile,v 1.1 2019/11/26 18:10:55 ng0 Exp $

DISTNAME=	haunt-0.2.4
PKGNAME=	guile-${DISTNAME}
CATEGORIES=	www
MASTER_SITES=	https://files.dthompson.us/haunt/

MAINTAINER=	ng0@NetBSD.org
HOMEPAGE=	https://files.dthompson.us/haunt/
COMMENT=	Functional static web site generator
LICENSE=	gnu-gpl-v3

GNU_CONFIGURE=		yes
GUILE_NEED_BOOTSTRAP=	yes
GNU_CONFIGURE_PREFIX=	${PREFIX}/guile/2.2
USE_TOOLS+=		pkg-config
INFO_FILES=		yes

# \todo: add guile-reader, for Skribe support
DEPENDS+=	guile-commonmark-[0-9]*:../../textproc/guile-commonmark

# There is no check for guile scripts, the @GUILE@ ends up
# in the package with the WRKSRC/BL3 location of guile.
SUBST_CLASSES+=		guile
SUBST_STAGE.guile=	pre-configure
SUBST_FILES.guile=	scripts/haunt.in
SUBST_SED.guile+=	-e 's,@GUILE@,${PREFIX}/guile/2.2/bin/guile,g'

.include "../../lang/guile22/module.mk"
.include "../../mk/bsd.pkg.mk"