sysutils/dust: install man-page
while here, install also an example config.
This commit is contained in:
parent
f66411a43b
commit
1fe57545e6
2 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.12 2023/01/29 20:04:52 pin Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/01/30 08:49:07 pin Exp $
|
||||
|
||||
DISTNAME= dust-0.8.4
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=bootandy/}
|
||||
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
|
@ -12,11 +13,15 @@ LICENSE= apache-2.0
|
|||
|
||||
.include "cargo-depends.mk"
|
||||
|
||||
INSTALLATION_DIRS= bin
|
||||
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/dust
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/target/release/dust \
|
||||
${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man-page/dust.1 \
|
||||
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dust.1
|
||||
${INSTALL_DATA} ${WRKSRC}/config/config.toml \
|
||||
${DESTDIR}${PREFIX}/share/examples/dust
|
||||
|
||||
.include "../../lang/rust/cargo.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2021/01/17 19:31:37 pin Exp $
|
||||
@comment $NetBSD: PLIST,v 1.2 2023/01/30 08:49:07 pin Exp $
|
||||
bin/dust
|
||||
man/man1/dust.1
|
||||
share/examples/dust/config.toml
|
||||
|
|
Loading…
Reference in a new issue