Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=nl1VaDR2; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=jRdvoehJ Received: by mail.netbsd.org (Postfix, from userid 605) id C8E3984E7E; Sun, 5 May 2024 09:27:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714901228; bh=9411lIqWzLMeDN0wOkc4Y0lpSpiuNxPzTqR1WJVXQQQ=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=nl1VaDR2YsRh5P/HaGzbBngk5lursNw/XGpEc1hPBsKB2L8JhT3nPV7klPwKQrV4a AWFh2z+pXGB/IJ2W7YavXdynevP/A+0zuDLCmjB8nrXLmhxPTbfJ1XaApz2QlfI3Ga I2ITRJJqidVqLyO1c55/VsvyLt83dL0P49VkndOo= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B9A4E84E62 for ; Sun, 5 May 2024 09:27:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Pq4TDWzZelUp for ; Sun, 5 May 2024 09:27:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 1331A84CE8 for ; Sun, 5 May 2024 09:27:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1714901226; bh=9411lIqWzLMeDN0wOkc4Y0lpSpiuNxPzTqR1WJVXQQQ=; h=Date:From:Subject:To:Reply-To; b=jRdvoehJBzDWkzTKFp4qDy/sAu8+3arwML3pOj038va6Gqp7IK0axelr8P/O1at/+ kl3Y2lD6ZCzvX0a7YSjvQngy+XBm3hdSHn39J9CJpmCTOlT82gOfYlYXVI8jJsUOt7 TWQthRSOBZus5jL7n5vp8My+oQz2jvbFo4jHWW6Q= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0A27FFA2C; Sun, 5 May 2024 09:27:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_171490122697120" MIME-Version: 1.0 Date: Sun, 5 May 2024 09:27:06 +0000 From: "Masatake Daimon" Subject: CVS commit: pkgsrc/converters/pandoc-cli To: pkgsrc-changes@NetBSD.org Reply-To: pho@netbsd.org X-Mailer: log_accum Message-Id: <20240505092706.0A27FFA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_171490122697120 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_171490122697120 Content-Disposition: inline Content-Length: 3506 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_171490122697120--