# $NetBSD: Makefile,v 1.4 2020/09/27 02:06:50 mef Exp $ DISTNAME= sile-0.10.9 PKGREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GITHUB:=sile-typesetter/} GITHUB_PROJECT= sile GITHUB_RELEASE= v${PKGVERSION_NOREV} EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://sile-typesetter.org/ COMMENT= Modern Layout Engine with Lua based scripting LICENSE= mit DEPENDS+= ${LUA_PKGPREFIX}-zlib-[0-9]*:../../archivers/lua-zlib DEPENDS+= ${LUA_PKGPREFIX}-bit32-[0-9]*:../../devel/lua-bit32 DEPENDS+= ${LUA_PKGPREFIX}-cliargs-[0-9]*:../../devel/lua-cliargs DEPENDS+= ${LUA_PKGPREFIX}-compat53-[0-9]*:../../devel/lua-compat53 DEPENDS+= ${LUA_PKGPREFIX}-epnf-[0-9]*:../../devel/lua-epnf DEPENDS+= ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem DEPENDS+= ${LUA_PKGPREFIX}-linenoise-[0-9]*:../../devel/lua-linenoise DEPENDS+= ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg DEPENDS+= ${LUA_PKGPREFIX}-penlight-[0-9]*:../../devel/lua-penlight DEPENDS+= ${LUA_PKGPREFIX}-repl-[0-9]*:../../devel/lua-repl DEPENDS+= ${LUA_PKGPREFIX}-stdlib-[0-9]*:../../devel/lua-stdlib DEPENDS+= ${LUA_PKGPREFIX}-vstruct-[0-9]*:../../devel/lua-vstruct DEPENDS+= ${LUA_PKGPREFIX}-cassowary-[0-9]*:../../math/lua-cassowary DEPENDS+= ${LUA_PKGPREFIX}-socket-[0-9]*:../../net/lua-socket DEPENDS+= ${LUA_PKGPREFIX}-sec-[0-9]*:../../security/lua-sec DEPENDS+= ${LUA_PKGPREFIX}-expat-[0-9]*:../../textproc/lua-expat DEPENDS+= ${LUA_PKGPREFIX}-cosmo-[0-9]*:../../textproc/lua-cosmo # Tests require additional font downloads #USE_TOOLS+= perl:test #TEST_TARGET= test GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake bash CONFIGURE_ARGS+= LUA=${LUA_INTERPRETER} CONFIGURE_ARGS+= --with-system-luarocks .include "../../fonts/fontconfig/buildlink3.mk" .include "../../fonts/harfbuzz/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../lang/lua/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" .include "../../textproc/icu/buildlink3.mk" .include "../../mk/bsd.pkg.mk"