diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-06-10 10:57:04 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-06-10 10:57:04 +0000 |
commit | a3f86d0b70ec751afadbdf48b9959a4e203755a2 (patch) | |
tree | b6d4ef638b0d35c203f03e8880bf4239155e473d | |
parent | 4eab6d1261489035440e5973f12060d03dc98076 (diff) | |
download | freebsd-ports-a3f86d0b70ec751afadbdf48b9959a4e203755a2.zip |
devel/pijul: Use CARGO_INSTALL_PATH and remove some cruft
-rw-r--r-- | devel/pijul/Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/devel/pijul/Makefile b/devel/pijul/Makefile index 868ee01def7a..1661a2fab8b4 100644 --- a/devel/pijul/Makefile +++ b/devel/pijul/Makefile @@ -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 |