pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/tokei: Use mk/cargo-binary.mk
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%NetBSD.org@localhost>
Pushed By: ng0
Date: Wed Aug 21 17:30:31 2019 +0000
Changeset: f152ba94514ae7be4a4b8d0c99d6af707d6d64bf
Modified Files:
tokei/Makefile
Log Message:
wip/tokei: Use mk/cargo-binary.mk
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f152ba94514ae7be4a4b8d0c99d6af707d6d64bf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tokei/Makefile | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diffs:
diff --git a/tokei/Makefile b/tokei/Makefile
index 771a8966bf..70995489e7 100644
--- a/tokei/Makefile
+++ b/tokei/Makefile
@@ -156,12 +156,5 @@ USE_TOOLS+= pkg-config
INSTALLATION_DIRS= bin
-do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --features=all --locked --frozen --release
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/target/release/tokei ${DESTDIR}${PREFIX}/bin
-
-.include "../../lang/rust/cargo.mk"
-.include "../../lang/rust/buildlink3.mk"
+.include "../../wip/mk/cargo-binary.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index