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:56:16 UTC 2024

Modified Files:
        pkgsrc/converters/pandoc-cli: Makefile PLIST

Log Message:
converters/pandoc-cli: Install man pages


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/converters/pandoc-cli/Makefile \
    pkgsrc/converters/pandoc-cli/PLIST

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

Modified files:

Index: pkgsrc/converters/pandoc-cli/Makefile
diff -u pkgsrc/converters/pandoc-cli/Makefile:1.1 pkgsrc/converters/pandoc-cli/Makefile:1.2
--- pkgsrc/converters/pandoc-cli/Makefile:1.1   Sun May  5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/Makefile       Sun May  5 09:56:16 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2024/05/05 09:27:05 pho Exp $
+# $NetBSD: Makefile,v 1.2 2024/05/05 09:56:16 pho Exp $
 
 DISTNAME=      pandoc-cli-3.1.13
 PKGNAME=       ${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    converters
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -15,6 +16,13 @@ LICENSE=     gnu-gpl-v2
 # storage, but time is more expensive than disks.
 HASKELL_ENABLE_DYNAMIC_EXECUTABLE=     no
 
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+post-install:
+       cd ${WRKSRC}/man && \
+       for f in *.1; do \
+               ${INSTALL_MAN} $$f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$$f; \
+       done
+
 .include "options.mk"
 
 .include "../../converters/hs-pandoc/buildlink3.mk"
Index: pkgsrc/converters/pandoc-cli/PLIST
diff -u pkgsrc/converters/pandoc-cli/PLIST:1.1 pkgsrc/converters/pandoc-cli/PLIST:1.2
--- pkgsrc/converters/pandoc-cli/PLIST:1.1      Sun May  5 09:27:05 2024
+++ pkgsrc/converters/pandoc-cli/PLIST  Sun May  5 09:56:16 2024
@@ -1,3 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2024/05/05 09:27:05 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/05/05 09:56:16 pho Exp $
 bin/pandoc
+man/man1/pandoc-lua.1
+man/man1/pandoc-server.1
+man/man1/pandoc.1
 share/doc/${HS_PLATFORM}/${PKGNAME}/COPYING.md



Home | Main Index | Thread Index | Old Index