Sun May 5 09:56:16 2024 UTC (22d)
converters/pandoc-cli: Install man pages


(pho)
diff -r1.1 -r1.2 pkgsrc/converters/pandoc-cli/Makefile
diff -r1.1 -r1.2 pkgsrc/converters/pandoc-cli/PLIST

cvs diff -r1.1 -r1.2 pkgsrc/converters/pandoc-cli/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/pandoc-cli/Makefile 2024/05/05 09:27:05 1.1
+++ pkgsrc/converters/pandoc-cli/Makefile 2024/05/05 09:56:16 1.2
@@ -1,22 +1,30 @@ @@ -1,22 +1,30 @@
1# $NetBSD: Makefile,v 1.1 2024/05/05 09:27:05 pho Exp $ 1# $NetBSD: Makefile,v 1.2 2024/05/05 09:56:16 pho Exp $
2 2
3DISTNAME= pandoc-cli-3.1.13 3DISTNAME= pandoc-cli-3.1.13
4PKGNAME= ${DISTNAME} 4PKGNAME= ${DISTNAME}
 5PKGREVISION= 1
5CATEGORIES= converters 6CATEGORIES= converters
6 7
7MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= Conversion between documentation formats 9COMMENT= Conversion between documentation formats
9LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
10 11
11# If pandoc is to be linked dynamically, it will depend on more than 180 12# If pandoc is to be linked dynamically, it will depend on more than 180
12# shared objects and the dynamic linker will spend several seconds to 13# shared objects and the dynamic linker will spend several seconds to
13# resolve symbols on startup. This is unacceptable because pandoc tends to 14# resolve symbols on startup. This is unacceptable because pandoc tends to
14# be launched very frequently by build systems and editors. This wastes 15# be launched very frequently by build systems and editors. This wastes
15# storage, but time is more expensive than disks. 16# storage, but time is more expensive than disks.
16HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no 17HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no
17 18
 19INSTALLATION_DIRS+= ${PKGMANDIR}/man1
 20post-install:
 21 cd ${WRKSRC}/man && \
 22 for f in *.1; do \
 23 ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$f; \
 24 done
 25
18.include "options.mk" 26.include "options.mk"
19 27
20.include "../../converters/hs-pandoc/buildlink3.mk" 28.include "../../converters/hs-pandoc/buildlink3.mk"
21.include "../../mk/haskell.mk" 29.include "../../mk/haskell.mk"
22.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/converters/pandoc-cli/PLIST (expand / switch to unified diff)

--- pkgsrc/converters/pandoc-cli/PLIST 2024/05/05 09:27:05 1.1
+++ pkgsrc/converters/pandoc-cli/PLIST 2024/05/05 09:56:16 1.2
@@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
1@comment $NetBSD: PLIST,v 1.1 2024/05/05 09:27:05 pho Exp $ 1@comment $NetBSD: PLIST,v 1.2 2024/05/05 09:56:16 pho Exp $
2bin/pandoc 2bin/pandoc
 3man/man1/pandoc-lua.1
 4man/man1/pandoc-server.1
 5man/man1/pandoc.1
3share/doc/${HS_PLATFORM}/${PKGNAME}/COPYING.md 6share/doc/${HS_PLATFORM}/${PKGNAME}/COPYING.md