diff options
author | minskim <minskim@pkgsrc.org> | 2018-12-12 04:51:35 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-12-12 04:51:35 +0000 |
commit | 0836acc8cc96614198d9c544d360bb99d903cdf1 (patch) | |
tree | 2116317b982bfac8cb02fdd28bfaa786792c6c08 /www/geckodriver | |
parent | 3caaa54a8d0810dd9df540e1c6aecd64796dce1c (diff) | |
download | pkgsrc-0836acc8cc96614198d9c544d360bb99d903cdf1.tar.gz |
www/geckodriver: Use cargo in do-install
Diffstat (limited to 'www/geckodriver')
-rw-r--r-- | www/geckodriver/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/geckodriver/Makefile b/www/geckodriver/Makefile index 64b30d270a5..adfc6c79aff 100644 --- a/www/geckodriver/Makefile +++ b/www/geckodriver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2018/09/21 21:26:33 minskim Exp $ +# $NetBSD: Makefile,v 1.6 2018/12/12 04:51:35 minskim Exp $ DISTNAME= geckodriver-0.20.1 CATEGORIES= www @@ -98,8 +98,8 @@ do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release do-install: - ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/target/release/geckodriver ${DESTDIR}${PREFIX}/bin + cd ${WRKSRC} && ${PREFIX}/bin/cargo install --root ${DESTDIR}${PREFIX} + rm ${DESTDIR}${PREFIX}/.crates.toml .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk" |