pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/pandoc-cli
Module Name: pkgsrc
Committed By: pho
Date: Sun May 5 09:27:05 UTC 2024
Added Files:
pkgsrc/converters/pandoc-cli: DESCR Makefile PLIST distinfo options.mk
Log Message:
converters/pandoc-cli: import pandoc-cli-3.1.13
Pandoc-cli provides a command-line executable that uses the pandoc library
to convert between markup formats.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/pandoc-cli/DESCR \
pkgsrc/converters/pandoc-cli/Makefile pkgsrc/converters/pandoc-cli/PLIST \
pkgsrc/converters/pandoc-cli/distinfo \
pkgsrc/converters/pandoc-cli/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-cli/DESCR
diff -u /dev/null pkgsrc/converters/pandoc-cli/DESCR:1.1
--- /dev/null Sun May 5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/DESCR Sun May 5 09:27:05 2024
@@ -0,0 +1,2 @@
+Pandoc-cli provides a command-line executable that uses the pandoc library
+to convert between markup formats.
Index: pkgsrc/converters/pandoc-cli/Makefile
diff -u /dev/null pkgsrc/converters/pandoc-cli/Makefile:1.1
--- /dev/null Sun May 5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/Makefile Sun May 5 09:27:05 2024
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2024/05/05 09:27:05 pho Exp $
+
+DISTNAME= pandoc-cli-3.1.13
+PKGNAME= ${DISTNAME}
+CATEGORIES= converters
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Conversion between documentation formats
+LICENSE= gnu-gpl-v2
+
+# If pandoc is to be linked dynamically, it will depend on more than 180
+# shared objects and the dynamic linker will spend several seconds to
+# resolve symbols on startup. This is unacceptable because pandoc tends to
+# be launched very frequently by build systems and editors. This wastes
+# storage, but time is more expensive than disks.
+HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no
+
+.include "options.mk"
+
+.include "../../converters/hs-pandoc/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/converters/pandoc-cli/PLIST
diff -u /dev/null pkgsrc/converters/pandoc-cli/PLIST:1.1
--- /dev/null Sun May 5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/PLIST Sun May 5 09:27:05 2024
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/05 09:27:05 pho Exp $
+bin/pandoc
+share/doc/${HS_PLATFORM}/${PKGNAME}/COPYING.md
Index: pkgsrc/converters/pandoc-cli/distinfo
diff -u /dev/null pkgsrc/converters/pandoc-cli/distinfo:1.1
--- /dev/null Sun May 5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/distinfo Sun May 5 09:27:05 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/05 09:27:05 pho Exp $
+
+BLAKE2s (pandoc-cli-3.1.13.tar.gz) = 2cc09e7a5c920a1604bd1d2f6384e8bbf49756c24b3f119e7789ebcd9909adb6
+SHA512 (pandoc-cli-3.1.13.tar.gz) = 3536accceb38db443e16d2f9f4827d5ecf123e39d3e684ad08324152149baa16d299484e5782bfa2cec1f41ba88c6bb7c62914a6e495e24e71126e79f1f5ff30
+Size (pandoc-cli-3.1.13.tar.gz) = 94034 bytes
Index: pkgsrc/converters/pandoc-cli/options.mk
diff -u /dev/null pkgsrc/converters/pandoc-cli/options.mk:1.1
--- /dev/null Sun May 5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/options.mk Sun May 5 09:27:05 2024
@@ -0,0 +1,34 @@
+# $NetBSD: options.mk,v 1.1 2024/05/05 09:27:05 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"
+.include "../../sysutils/hs-temporary/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