svn commit: r503891 - head/devel/pijul
Tobias Kortkamp
tobik at FreeBSD.org
Mon Jun 10 10:57:05 UTC 2019
Author: tobik
Date: Mon Jun 10 10:57:04 2019
New Revision: 503891
URL: https://svnweb.freebsd.org/changeset/ports/503891
Log:
devel/pijul: Use CARGO_INSTALL_PATH and remove some cruft
Modified:
head/devel/pijul/Makefile
Modified: head/devel/pijul/Makefile
==============================================================================
--- head/devel/pijul/Makefile Mon Jun 10 10:56:04 2019 (r503890)
+++ head/devel/pijul/Makefile Mon Jun 10 10:57:04 2019 (r503891)
@@ -291,19 +291,10 @@ CARGO_CRATES= MacTypes-sys-2.1.0 \
ws2_32-sys-0.2.1 \
xattr-0.2.2 \
yasna-0.1.3
-CARGO_CARGOLOCK= ${WRKSRC:H}/Cargo.lock
-PLIST_FILES= bin/pijul
-WRKSRC_SUBDIR= pijul
+CARGO_INSTALL_PATH= pijul
-# We are using pijul/Cargo.toml for all phases and profiles are ignored
-# if specified in non root packages. cargo.mk has no way to override
-# the Cargo.toml used for each phase, so append the release profile
-# to the root Cargo.toml.
-post-configure:
- @${ECHO_CMD} "[profile.release]" >> ${WRKSRC:H}/Cargo.toml
- @${ECHO_CMD} "opt-level = 2" >> ${WRKSRC:H}/Cargo.toml
- @${ECHO_CMD} "debug = false" >> ${WRKSRC:H}/Cargo.toml
+PLIST_FILES= bin/pijul
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pijul
More information about the svn-ports-head
mailing list