pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/converters/pandoc



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun Jan 29 10:10:04 UTC 2023

Added Files:
        pkgsrc/converters/pandoc: options.mk

Log Message:
converters/pandoc: Forgot to commit options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/pandoc/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/converters/pandoc/options.mk
diff -u /dev/null pkgsrc/converters/pandoc/options.mk:1.1
--- /dev/null   Sun Jan 29 10:10:04 2023
+++ pkgsrc/converters/pandoc/options.mk Sun Jan 29 10:10:04 2023
@@ -0,0 +1,33 @@
+# $NetBSD: options.mk,v 1.1 2023/01/29 10:10:04 pho Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.pandoc
+PKG_SUPPORTED_OPTIONS= lua server
+PKG_SUGGESTED_OPTIONS= lua
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Lua scripting engine, used for running filters, custom readers, and
+### custom writers written in Lua.
+###
+.if !empty(PKG_OPTIONS:Mlua)
+CONFIGURE_ARGS+=       -f lua
+.include "../../lang/hs-hslua-cli/buildlink3.mk"
+.include "../../converters/hs-pandoc-lua-engine/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       -f-lua
+.endif
+
+###
+### Pandoc as an HTTP server providing a REST API to perform format
+### conversions.
+###
+.if !empty(PKG_OPTIONS:Mserver)
+CONFIGURE_ARGS+=       -f server
+.include "../../converters/hs-pandoc-server/buildlink3.mk"
+.include "../../devel/hs-safe/buildlink3.mk"
+.include "../../www/hs-wai-extra/buildlink3.mk"
+.include "../../www/hs-warp/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       -f-server
+.endif



Home | Main Index | Thread Index | Old Index