PORTNAME=	pomsky
DISTVERSIONPREFIX=	v
DISTVERSION=	0.12.0
CATEGORIES=	lang textproc

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Portable, modern regular expression language
WWW=		https://pomsky-lang.org \
		https://github.com/pomsky-lang/pomsky

LICENSE=	MIT APACHE20
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/../LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/../LICENSE-MIT

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	rulex-rs

WRKSRC_SUBDIR=	pomsky-bin

CARGO_CRATES=	addr2line-0.25.1 \
		adler2-2.0.1 \
		ahash-0.8.12 \
		aho-corasick-1.1.4 \
		anstyle-1.0.13 \
		arbitrary-1.4.2 \
		assert_cmd-2.1.1 \
		assert_fs-1.1.3 \
		async-channel-2.5.0 \
		async-io-2.6.0 \
		async-lock-3.4.1 \
		async-process-2.5.0 \
		async-signal-0.2.13 \
		async-stream-0.3.6 \
		async-stream-impl-0.3.6 \
		async-task-4.7.1 \
		async-trait-0.1.89 \
		atomic-waker-1.1.2 \
		autocfg-1.5.0 \
		backtrace-0.3.76 \
		base64-0.21.7 \
		base64ct-1.8.0 \
		bindgen-0.71.1 \
		bitflags-1.3.2 \
		bitflags-2.10.0 \
		block-buffer-0.10.4 \
		blocking-1.6.2 \
		bstr-1.12.1 \
		bumpalo-3.19.0 \
		bytes-1.10.1 \
		camino-1.2.1 \
		cargo-platform-0.3.1 \
		cargo_metadata-0.23.0 \
		cc-1.2.44 \
		cexpr-0.6.0 \
		cfg-expr-0.20.4 \
		cfg-if-1.0.4 \
		clang-sys-1.8.1 \
		clap-4.5.51 \
		clap_builder-4.5.51 \
		clap_lex-0.7.6 \
		concurrent-queue-2.5.0 \
		condtype-1.3.0 \
		core-foundation-0.9.4 \
		core-foundation-sys-0.8.7 \
		cpufeatures-0.2.17 \
		crc32fast-1.5.0 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.21 \
		crypto-common-0.1.6 \
		debug-ignore-1.0.5 \
		derive_arbitrary-1.4.2 \
		difflib-0.4.0 \
		digest-0.10.7 \
		displaydoc-0.2.5 \
		divan-0.1.21 \
		divan-macros-0.1.21 \
		doc-comment-0.3.4 \
		either-1.15.0 \
		encoding_rs-0.8.35 \
		equivalent-1.0.2 \
		errno-0.3.14 \
		event-listener-5.4.1 \
		event-listener-strategy-0.5.4 \
		eyre-0.6.12 \
		fastrand-1.9.0 \
		fastrand-2.3.0 \
		filetime-0.2.26 \
		find-msvc-tools-0.1.4 \
		fixedbitset-0.5.7 \
		flate2-1.1.5 \
		float-cmp-0.9.0 \
		fnv-1.0.7 \
		foldhash-0.1.5 \
		foreign-types-0.3.2 \
		foreign-types-shared-0.1.1 \
		form_urlencoded-1.2.2 \
		fslock-0.2.1 \
		futures-0.3.31 \
		futures-channel-0.3.31 \
		futures-core-0.3.31 \
		futures-executor-0.3.31 \
		futures-io-0.3.31 \
		futures-lite-1.13.0 \
		futures-lite-2.6.1 \
		futures-macro-0.3.31 \
		futures-sink-0.3.31 \
		futures-task-0.3.31 \
		futures-util-0.3.31 \
		generic-array-0.14.9 \
		getrandom-0.3.4 \
		gimli-0.32.3 \
		glob-0.3.3 \
		globset-0.4.18 \
		globwalk-0.9.1 \
		guppy-0.17.23 \
		guppy-workspace-hack-0.1.0 \
		h2-0.3.27 \
		hashbrown-0.12.3 \
		hashbrown-0.15.5 \
		hashbrown-0.16.0 \
		hermit-abi-0.5.2 \
		hex-0.4.3 \
		hex-literal-0.3.4 \
		http-0.2.12 \
		http-body-0.4.6 \
		httparse-1.10.1 \
		httpdate-1.0.3 \
		hyper-0.14.32 \
		hyper-tls-0.5.0 \
		icu_collections-2.1.1 \
		icu_locale_core-2.1.1 \
		icu_normalizer-2.1.1 \
		icu_normalizer_data-2.1.1 \
		icu_properties-2.1.1 \
		icu_properties_data-2.1.1 \
		icu_provider-2.1.1 \
		idna-1.1.0 \
		idna_adapter-1.2.1 \
		ignore-0.4.25 \
		indenter-0.3.4 \
		indexmap-1.9.3 \
		indexmap-2.12.0 \
		instant-0.1.13 \
		ipnet-2.11.0 \
		is_ci-1.2.0 \
		itertools-0.10.5 \
		itertools-0.13.0 \
		itertools-0.14.0 \
		itoa-1.0.15 \
		jobserver-0.1.34 \
		js-sys-0.3.82 \
		keccak-0.1.5 \
		lexopt-0.3.1 \
		libc-0.2.177 \
		libloading-0.8.9 \
		libredox-0.1.10 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.11.0 \
		litemap-0.8.1 \
		lock_api-0.4.14 \
		log-0.4.28 \
		melody_compiler-0.20.0 \
		memchr-2.7.6 \
		miette-7.6.0 \
		mime-0.3.17 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.8.9 \
		mio-0.8.11 \
		native-tls-0.2.14 \
		nested-0.1.1 \
		nom-7.1.3 \
		normalize-line-endings-0.3.0 \
		num-traits-0.2.19 \
		num_cpus-1.17.0 \
		num_enum-0.6.1 \
		num_enum_derive-0.6.1 \
		object-0.37.3 \
		once_cell-1.21.3 \
		onig-6.5.1 \
		onig_sys-69.9.1 \
		openssl-0.10.74 \
		openssl-macros-0.1.1 \
		openssl-probe-0.1.6 \
		openssl-sys-0.9.110 \
		owo-colors-4.2.3 \
		parking-2.2.1 \
		parking_lot-0.12.5 \
		parking_lot_core-0.9.12 \
		pathdiff-0.2.3 \
		pcre2-0.2.11 \
		pcre2-sys-0.2.10 \
		percent-encoding-2.3.2 \
		pest-2.8.3 \
		pest_derive-2.8.3 \
		pest_generator-2.8.3 \
		pest_meta-2.8.3 \
		petgraph-0.8.3 \
		pin-project-lite-0.2.16 \
		pin-utils-0.1.0 \
		piper-0.2.4 \
		pkg-config-0.3.32 \
		polling-3.11.0 \
		potential_utf-0.1.4 \
		predicates-2.1.5 \
		predicates-3.1.3 \
		predicates-core-1.0.9 \
		predicates-tree-1.0.12 \
		prettyplease-0.2.37 \
		proc-macro-crate-1.3.1 \
		proc-macro2-1.0.103 \
		quote-1.0.41 \
		r-efi-5.3.0 \
		re2-0.0.11 \
		re2-sys-0.0.9 \
		redox_syscall-0.5.18 \
		regex-1.12.2 \
		regex-automata-0.4.13 \
		regex-lite-0.1.8 \
		regex-syntax-0.8.8 \
		reqwest-0.11.27 \
		rustc-demangle-0.1.26 \
		rustc-hash-2.1.1 \
		rustix-1.1.2 \
		rustls-pemfile-1.0.4 \
		rustversion-1.0.22 \
		ryu-1.0.20 \
		same-file-1.0.6 \
		schannel-0.1.28 \
		scopeguard-1.2.0 \
		security-framework-2.11.1 \
		security-framework-sys-2.15.0 \
		semver-1.0.27 \
		serde-1.0.228 \
		serde_core-1.0.228 \
		serde_derive-1.0.228 \
		serde_json-1.0.145 \
		serde_urlencoded-0.7.1 \
		serde_yaml-0.8.26 \
		sha2-0.10.9 \
		sha3-0.10.8 \
		shlex-1.3.0 \
		signal-hook-0.3.18 \
		signal-hook-registry-1.4.6 \
		simd-adler32-0.3.7 \
		slab-0.4.11 \
		smallvec-1.15.1 \
		socket2-0.5.10 \
		spack-rs-0.0.8 \
		stable_deref_trait-1.2.1 \
		static_assertions-1.1.0 \
		strsim-0.11.1 \
		super-process-0.0.1 \
		supports-color-3.0.2 \
		supports-hyperlinks-3.1.0 \
		supports-unicode-3.0.0 \
		syn-2.0.108 \
		sync_wrapper-0.1.2 \
		synstructure-0.13.2 \
		system-configuration-0.5.1 \
		system-configuration-sys-0.5.0 \
		tar-0.4.44 \
		target-lexicon-0.13.3 \
		target-spec-3.5.4 \
		tempfile-3.23.0 \
		terminal_size-0.4.3 \
		termtree-0.5.1 \
		textwrap-0.16.2 \
		thiserror-1.0.69 \
		thiserror-2.0.17 \
		thiserror-impl-1.0.69 \
		thiserror-impl-2.0.17 \
		tinystr-0.8.2 \
		tokio-1.33.0 \
		tokio-macros-2.1.0 \
		tokio-native-tls-0.3.1 \
		tokio-util-0.7.17 \
		toml_datetime-0.6.11 \
		toml_edit-0.19.15 \
		tower-service-0.3.3 \
		tracing-0.1.41 \
		tracing-core-0.1.34 \
		try-lock-0.2.5 \
		typenum-1.19.0 \
		ucd-trie-0.1.7 \
		unicode-ident-1.0.22 \
		unicode-linebreak-0.1.5 \
		unicode-width-0.1.14 \
		unicode-width-0.2.2 \
		url-2.5.7 \
		utf8_iter-1.0.4 \
		vcpkg-0.2.15 \
		version_check-0.9.5 \
		wait-timeout-0.2.1 \
		waker-fn-1.2.0 \
		walkdir-2.5.0 \
		want-0.3.1 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		wasip2-1.0.1+wasi-0.2.4 \
		wasm-bindgen-0.2.105 \
		wasm-bindgen-futures-0.4.55 \
		wasm-bindgen-macro-0.2.105 \
		wasm-bindgen-macro-support-0.2.105 \
		wasm-bindgen-shared-0.2.105 \
		web-sys-0.3.82 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.11 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-link-0.2.1 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-sys-0.60.2 \
		windows-sys-0.61.2 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows-targets-0.53.5 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_gnullvm-0.53.1 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_aarch64_msvc-0.53.1 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnu-0.53.1 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_gnullvm-0.53.1 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_i686_msvc-0.53.1 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnu-0.53.1 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_gnullvm-0.53.1 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		windows_x86_64_msvc-0.53.1 \
		winnow-0.5.40 \
		winreg-0.50.0 \
		wit-bindgen-0.46.0 \
		writeable-0.6.2 \
		xattr-1.6.1 \
		yaml-rust-0.4.5 \
		yoke-0.8.1 \
		yoke-derive-0.8.1 \
		zerocopy-0.8.27 \
		zerocopy-derive-0.8.27 \
		zerofrom-0.1.6 \
		zerofrom-derive-0.1.6 \
		zerotrie-0.2.3 \
		zerovec-0.11.5 \
		zerovec-derive-0.11.2

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
