pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/phetch



Module Name:    pkgsrc
Committed By:   pin
Date:           Mon Sep 14 13:43:24 UTC 2020

Modified Files:
        pkgsrc/net/phetch: Makefile PLIST

Log Message:
net/phetch: pkgrevision, install man page


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/phetch/Makefile pkgsrc/net/phetch/PLIST

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

Modified files:

Index: pkgsrc/net/phetch/Makefile
diff -u pkgsrc/net/phetch/Makefile:1.1 pkgsrc/net/phetch/Makefile:1.2
--- pkgsrc/net/phetch/Makefile:1.1      Wed Sep  9 12:38:44 2020
+++ pkgsrc/net/phetch/Makefile  Mon Sep 14 13:43:24 2020
@@ -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-util-0.1.3
 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 @@ MAKE_ENV+=  RUSTFLAGS=${RUSTFLAGS:Q}
 
 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"
Index: pkgsrc/net/phetch/PLIST
diff -u pkgsrc/net/phetch/PLIST:1.1 pkgsrc/net/phetch/PLIST:1.2
--- pkgsrc/net/phetch/PLIST:1.1 Wed Sep  9 12:38:44 2020
+++ pkgsrc/net/phetch/PLIST     Mon Sep 14 13:43:24 2020
@@ -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