pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/phetch net/phetch: pkgrevision, install man page
details: https://anonhg.NetBSD.org/pkgsrc/rev/a088dda161d3
branches: trunk
changeset: 439132:a088dda161d3
user: pin <pin%pkgsrc.org@localhost>
date: Mon Sep 14 13:43:24 2020 +0000
description:
net/phetch: pkgrevision, install man page
diffstat:
net/phetch/Makefile | 7 +++++--
net/phetch/PLIST | 3 ++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r c51e5dcb5dbe -r a088dda161d3 net/phetch/Makefile
--- a/net/phetch/Makefile Mon Sep 14 13:43:10 2020 +0000
+++ b/net/phetch/Makefile Mon Sep 14 13:43:24 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/09/09 12:38:44 pin Exp $
+# $NetBSD: Makefile,v 1.2 2020/09/14 13:43:24 pin Exp $
DISTNAME= phetch-1.0.3
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=xvxx/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -116,7 +117,8 @@
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+= ws2_32-sys-0.2.1
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+MAKE_ENV+= MANPREFIX=${PREFIX}/${PKGMANDIR}
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
@@ -124,6 +126,7 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/phetch ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/phetch.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/rust/cargo.mk"
diff -r c51e5dcb5dbe -r a088dda161d3 net/phetch/PLIST
--- a/net/phetch/PLIST Mon Sep 14 13:43:10 2020 +0000
+++ b/net/phetch/PLIST Mon Sep 14 13:43:24 2020 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2020/09/09 12:38:44 pin Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/09/14 13:43:24 pin Exp $
bin/phetch
+man/man1/phetch.1
Home |
Main Index |
Thread Index |
Old Index