summaryrefslogtreecommitdiff
path: root/print/sile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/sile/Makefile')
-rw-r--r--print/sile/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/print/sile/Makefile b/print/sile/Makefile
new file mode 100644
index 00000000000..33946764995
--- /dev/null
+++ b/print/sile/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2020/08/06 23:52:48 joerg Exp $
+
+DISTNAME= sile-0.10.9
+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
+
+CONFIGURE_ARGS+= LUA=${PREFIX}/bin/lua5.3
+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"