summaryrefslogtreecommitdiff
path: root/devel/parol
diff options
context:
space:
mode:
Diffstat (limited to 'devel/parol')
-rw-r--r--devel/parol/Makefile10
-rw-r--r--devel/parol/files/patch-Cargo.toml13
2 files changed, 19 insertions, 4 deletions
diff --git a/devel/parol/Makefile b/devel/parol/Makefile
index 870e4aacae31..606fd7bce7df 100644
--- a/devel/parol/Makefile
+++ b/devel/parol/Makefile
@@ -1,6 +1,6 @@
PORTNAME= parol
DISTVERSION= 1.0.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@@ -9,15 +9,17 @@ WWW= https://github.com/jsinger67/parol
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
-LICENSE_FILE_APACHE20= ${WRKSRC}/../../LICENSE-APACHE
-LICENSE_FILE_MIT= ${WRKSRC}/../../LICENSE-MIT
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= jsinger67
-WRKSRC_SUBDIR= crates/parol
+CARGO_SRC_SUBDIR= crates/parol
+CARGO_BUILD= yes
+CARGO_INSTALL= yes
CARGO_CRATES= ahash-0.8.7 \
aho-corasick-1.0.1 \
diff --git a/devel/parol/files/patch-Cargo.toml b/devel/parol/files/patch-Cargo.toml
new file mode 100644
index 000000000000..285edd4cf135
--- /dev/null
+++ b/devel/parol/files/patch-Cargo.toml
@@ -0,0 +1,13 @@
+- prevent breakage due to crates/.cargo inclusion
+
+--- Cargo.toml.orig 2025-09-20 09:01:51 UTC
++++ Cargo.toml
+@@ -3,7 +3,7 @@ members = [
+ resolver = "2"
+
+ members = [
+- "crates/*",
++ "crates/parol",
+ ]
+
+ exclude = [