pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

texlab: install man page



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Apr 6 19:14:21 2021 +0200
Changeset:	b139c11de46e5c6370568d0630b551a9f2036608

Modified Files:
	texlab/Makefile
	texlab/PLIST
	texlab/cargo-depends.mk

Log Message:
texlab: install man page

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b139c11de46e5c6370568d0630b551a9f2036608

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

diffstat:
 texlab/Makefile         | 4 +++-
 texlab/PLIST            | 1 +
 texlab/cargo-depends.mk | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

diffs:
diff --git a/texlab/Makefile b/texlab/Makefile
index d58a2bce9d..53e2c62c99 100644
--- a/texlab/Makefile
+++ b/texlab/Makefile
@@ -19,7 +19,7 @@ DISTFILES+=	citeproc-rs-${CITEPROC_REV}.tar.gz
 SITES.citeproc-rs-${CITEPROC_REV}.tar.gz+=	-${MASTER_SITE_GITHUB:=cormacrelf/}citeproc-rs/archive/${CITEPROC_REV}.tar.gz
 
 USE_LANGUAGES=		c c++	# Rust, but needs toolchain for linking
-INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
 post-extract:
 	mv ${WRKDIR}/citeproc-rs* ${WRKDIR}/citeproc-rs
@@ -27,6 +27,8 @@ post-extract:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/target/release/texlab	\
 	  ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/texlab.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/texlab/PLIST b/texlab/PLIST
index 3e1d39f4ad..d075ed4fd3 100644
--- a/texlab/PLIST
+++ b/texlab/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/texlab
+man/man1/texlab.1
diff --git a/texlab/cargo-depends.mk b/texlab/cargo-depends.mk
index c51602a09a..954f993c1f 100644
--- a/texlab/cargo-depends.mk
+++ b/texlab/cargo-depends.mk
@@ -37,7 +37,8 @@ CARGO_CRATE_DEPENDS+=	cesu8-1.1.0
 CARGO_CRATE_DEPENDS+=	cfg-if-0.1.10
 CARGO_CRATE_DEPENDS+=	cfg-if-1.0.0
 CARGO_CRATE_DEPENDS+=	chashmap-2.2.2
-# next four don't work because the crates are not on crates.io
+# there's a workaround for the next four in the Makefile
+# because these are not on crates.io yet
 # https://github.com/zotero/citeproc-rs/issues/61
 #CARGO_CRATE_DEPENDS+=	citeproc-0.0.1
 #CARGO_CRATE_DEPENDS+=	citeproc-db-0.1.0


Home | Main Index | Thread Index | Old Index