| @@ -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 | |
3 | DISTNAME= pandoc-cli-3.1.13 | | 3 | DISTNAME= pandoc-cli-3.1.13 |
4 | PKGNAME= ${DISTNAME} | | 4 | PKGNAME= ${DISTNAME} |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= converters | | 6 | CATEGORIES= converters |
6 | | | 7 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | COMMENT= Conversion between documentation formats | | 9 | COMMENT= Conversion between documentation formats |
9 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= 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. |
16 | HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no | | 17 | HASKELL_ENABLE_DYNAMIC_EXECUTABLE= no |
17 | | | 18 | |
| | | 19 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 |
| | | 20 | post-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" |