Skip to content
Snippets Groups Projects
Commit 0a9279c8 authored by Gleb Popov's avatar Gleb Popov
Browse files

textproc/hs-pandoc: Install man pages

PR:		281076
parent 571995f2
No related branches found
No related tags found
No related merge requests found
PORTNAME= pandoc
DISTVERSION= 3.3
PORTREVISION= 1
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
......@@ -197,7 +198,6 @@ USE_CABAL= Glob-0.10.2_3 \
zip-archive-0.4.3.2_1 \
zlib-0.7.1.0_1
CABAL_FLAGS= lua
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
OPTIONS_DEFINE= EMBED_DATA
......@@ -222,6 +222,11 @@ HACKAGE_DISTNAME= pandoc-cli-${PORTVERSION}
BUILD_ARGS+= --disable-optimization
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/man/pandoc.1 ${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/man/pandoc-lua.1 ${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/man/pandoc-server.1 ${STAGEDIR}${PREFIX}/share/man/man1
post-install-EMBED_DATA-off:
cd ${CABAL_DEPSDIR}/${PORTNAME}-${PORTVERSION} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}
......
share/man/man1/pandoc-lua.1.gz
share/man/man1/pandoc-server.1.gz
share/man/man1/pandoc.1.gz
%%NO_EMBED_DATA%%%%DATADIR%%/data/abbreviations
%%NO_EMBED_DATA%%%%DATADIR%%/data/bash_completion.tpl
%%NO_EMBED_DATA%%%%DATADIR%%/data/creole.lua
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment