PORTNAME=	termusic
DISTVERSIONPREFIX=	v
DISTVERSION=	0.12.1
PORTREVISION=	1
CATEGORIES=	multimedia

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Music Player TUI
WWW=		https://github.com/tramhao/termusic

LICENSE=	GPLv3 MIT
LICENSE_COMB=	multi
LICENSE_FILE_GPLv3=	${WRKSRC}/LICENSE_GPLv3
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE_MIT

BUILD_DEPENDS=	protoc:devel/protobuf
LIB_DEPENDS=	libasound.so:audio/alsa-lib

USES=		cargo pkgconfig ssl

USE_GITHUB=	yes
GH_ACCOUNT=	tramhao

CARGO_CRATES=	addr2line-0.24.2 \
		adler2-2.0.0 \
		ahash-0.8.12 \
		aho-corasick-1.1.3 \
		aligned-vec-0.5.0 \
		allocator-api2-0.2.18 \
		alphanumeric-sort-1.5.3 \
		alsa-0.9.1 \
		alsa-sys-0.3.1 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.5 \
		anes-0.1.6 \
		ansi_colours-1.2.3 \
		anstream-0.6.15 \
		anstyle-1.0.8 \
		anstyle-parse-0.2.5 \
		anstyle-query-1.1.1 \
		anstyle-wincon-3.0.4 \
		anyhow-1.0.99 \
		arbitrary-1.3.2 \
		arg_enum_proc_macro-0.3.4 \
		arrayvec-0.7.6 \
		async-broadcast-0.5.1 \
		async-channel-2.3.1 \
		async-compression-0.4.12 \
		async-executor-1.13.0 \
		async-fs-1.6.0 \
		async-io-1.13.0 \
		async-io-2.3.4 \
		async-lock-2.8.0 \
		async-lock-3.4.0 \
		async-process-1.8.1 \
		async-recursion-1.1.1 \
		async-ringbuf-0.3.4 \
		async-signal-0.2.10 \
		async-task-4.7.1 \
		async-trait-0.1.89 \
		atomic-0.6.0 \
		atomic-waker-1.1.2 \
		autocfg-1.3.0 \
		av1-grain-0.2.3 \
		avif-serialize-0.8.2 \
		axum-0.8.1 \
		axum-core-0.5.0 \
		backtrace-0.3.74 \
		base64-0.22.1 \
		bindgen-0.71.1 \
		bit_field-0.10.2 \
		bitflags-1.3.2 \
		bitflags-2.9.1 \
		bitstream-io-2.5.3 \
		block-0.1.6 \
		block-buffer-0.10.4 \
		blocking-1.6.1 \
		bstr-1.10.0 \
		built-0.7.5 \
		bumpalo-3.16.0 \
		bytemuck-1.17.0 \
		byteorder-1.5.0 \
		byteorder-lite-0.1.0 \
		bytes-1.10.1 \
		bytesize-2.0.1 \
		camino-1.1.9 \
		cassowary-0.3.0 \
		cast-0.3.0 \
		castaway-0.2.3 \
		cc-1.2.17 \
		cesu8-1.1.0 \
		cexpr-0.6.0 \
		cfg-expr-0.15.8 \
		cfg-expr-0.16.0 \
		cfg-if-1.0.0 \
		cfg_aliases-0.2.1 \
		chrono-0.4.41 \
		ciborium-0.2.2 \
		ciborium-io-0.2.2 \
		ciborium-ll-0.2.2 \
		clang-sys-1.8.1 \
		clap-4.5.46 \
		clap_builder-4.5.46 \
		clap_derive-4.5.45 \
		clap_lex-0.7.4 \
		cocoa-0.24.1 \
		cocoa-foundation-0.1.2 \
		color_quant-1.1.0 \
		colorchoice-1.0.2 \
		colored-3.0.0 \
		combine-4.6.7 \
		compact_str-0.8.0 \
		concurrent-queue-2.5.0 \
		console-0.15.8 \
		convert_case-0.7.1 \
		cookie-0.18.1 \
		cookie_store-0.21.1 \
		core-foundation-0.9.4 \
		core-foundation-sys-0.8.7 \
		core-graphics-0.22.3 \
		core-graphics-types-0.1.3 \
		coreaudio-rs-0.13.0 \
		cpal-0.16.0 \
		cpufeatures-0.2.13 \
		crc32fast-1.4.2 \
		criterion-0.7.0 \
		criterion-plot-0.6.0 \
		crossbeam-deque-0.8.5 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.20 \
		crossterm-0.28.1 \
		crossterm-0.29.0 \
		crossterm_winapi-0.9.1 \
		crunchy-0.2.2 \
		crypto-common-0.1.6 \
		ctrlc-3.4.7 \
		dasp_sample-0.11.0 \
		data-encoding-2.6.0 \
		deranged-0.3.11 \
		derivative-2.2.0 \
		derive_more-2.0.1 \
		derive_more-impl-2.0.1 \
		diff-0.1.13 \
		digest-0.10.7 \
		dirs-6.0.0 \
		dirs-sys-0.5.0 \
		discord-rich-presence-0.2.5 \
		dispatch-0.2.0 \
		dispatch2-0.3.0 \
		displaydoc-0.2.5 \
		document-features-0.2.11 \
		educe-0.6.0 \
		either-1.15.0 \
		encode_unicode-0.3.6 \
		encoding_rs-0.8.34 \
		entities-1.0.1 \
		enum-ordinalize-4.3.0 \
		enum-ordinalize-derive-4.3.1 \
		enumflags2-0.7.10 \
		enumflags2_derive-0.7.10 \
		equivalent-1.0.1 \
		errno-0.3.12 \
		escaper-0.1.1 \
		event-listener-2.5.3 \
		event-listener-3.1.0 \
		event-listener-5.3.1 \
		event-listener-strategy-0.5.2 \
		exr-1.73.0 \
		extended-0.1.0 \
		fallible-iterator-0.3.0 \
		fallible-streaming-iterator-0.1.9 \
		fastrand-1.9.0 \
		fastrand-2.1.1 \
		fdeflate-0.3.4 \
		figment-0.10.19 \
		fixedbitset-0.5.7 \
		flate2-1.0.32 \
		flexi_logger-0.31.5 \
		fnv-1.0.7 \
		foldhash-0.1.3 \
		foreign-types-0.3.2 \
		foreign-types-shared-0.1.1 \
		form_urlencoded-1.2.1 \
		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.3.0 \
		futures-macro-0.3.31 \
		futures-sink-0.3.31 \
		futures-task-0.3.31 \
		futures-util-0.3.31 \
		generic-array-0.14.7 \
		getrandom-0.2.15 \
		getrandom-0.3.2 \
		gif-0.13.1 \
		gimli-0.31.1 \
		gio-sys-0.21.1 \
		glib-0.21.1 \
		glib-macros-0.21.0 \
		glib-sys-0.21.1 \
		glob-0.3.1 \
		gobject-sys-0.21.1 \
		gstreamer-0.24.1 \
		gstreamer-sys-0.24.0 \
		h2-0.4.6 \
		half-2.4.1 \
		hard-xml-1.36.0 \
		hard-xml-derive-1.36.0 \
		hashbrown-0.15.0 \
		hashlink-0.10.0 \
		heck-0.5.0 \
		hermit-abi-0.3.9 \
		hermit-abi-0.4.0 \
		hex-0.4.3 \
		http-1.1.0 \
		http-body-1.0.1 \
		http-body-util-0.1.2 \
		httparse-1.9.4 \
		httpdate-1.0.3 \
		hyper-1.7.0 \
		hyper-rustls-0.27.2 \
		hyper-timeout-0.5.1 \
		hyper-tls-0.6.0 \
		hyper-util-0.1.16 \
		iana-time-zone-0.1.60 \
		iana-time-zone-haiku-0.1.2 \
		icu_collections-1.5.0 \
		icu_locid-1.5.0 \
		icu_locid_transform-1.5.0 \
		icu_locid_transform_data-1.5.1 \
		icu_normalizer-1.5.0 \
		icu_normalizer_data-1.5.1 \
		icu_properties-1.5.1 \
		icu_properties_data-1.5.1 \
		icu_provider-1.5.0 \
		icu_provider_macros-1.5.0 \
		id3-1.16.3 \
		idna-1.0.3 \
		idna_adapter-1.2.0 \
		image-0.25.6 \
		image-webp-0.2.0 \
		imgref-1.11.0 \
		include_dir-0.7.4 \
		include_dir_macros-0.7.4 \
		indexmap-2.11.0 \
		indoc-2.0.6 \
		instability-0.3.2 \
		instant-0.1.13 \
		interpolate_name-0.2.4 \
		io-lifetimes-1.0.11 \
		io-uring-0.7.10 \
		ipnet-2.9.0 \
		iri-string-0.7.8 \
		is_terminal_polyfill-1.70.1 \
		itertools-0.12.1 \
		itertools-0.13.0 \
		itertools-0.14.0 \
		itoa-1.0.11 \
		jetscii-0.5.3 \
		jni-0.21.1 \
		jni-sys-0.3.0 \
		jobserver-0.1.32 \
		jpeg-decoder-0.3.1 \
		js-sys-0.3.77 \
		kstring-2.0.2 \
		lazy-regex-3.3.0 \
		lazy-regex-proc_macros-3.3.0 \
		lazy_static-1.5.0 \
		lebe-0.5.2 \
		libaes-0.7.0 \
		libc-0.2.175 \
		libfuzzer-sys-0.4.7 \
		libloading-0.8.5 \
		libmpv-sirno-2.0.2-fork.1 \
		libmpv-sys-sirno-2.0.0-fork.1 \
		libredox-0.1.3 \
		libsqlite3-sys-0.35.0 \
		linux-raw-sys-0.3.8 \
		linux-raw-sys-0.4.14 \
		linux-raw-sys-0.9.4 \
		litemap-0.7.5 \
		litrs-0.4.1 \
		lock_api-0.4.13 \
		lofty-0.22.4 \
		lofty_attr-0.11.1 \
		log-0.4.27 \
		loop9-0.1.5 \
		lru-0.12.5 \
		mach2-0.4.3 \
		make-cmd-0.1.0 \
		malloc_buf-0.0.6 \
		matchit-0.8.4 \
		maybe-rayon-0.1.1 \
		md5-0.8.0 \
		mediatype-0.20.0 \
		memchr-2.7.5 \
		memoffset-0.7.1 \
		memoffset-0.9.1 \
		mime-0.3.17 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.8.0 \
		mio-1.0.2 \
		muldiv-1.0.1 \
		multimap-0.10.1 \
		native-tls-0.2.12 \
		ndk-0.9.0 \
		ndk-context-0.1.1 \
		ndk-sys-0.6.0+11769913 \
		new_debug_unreachable-1.0.6 \
		nix-0.26.4 \
		nix-0.30.1 \
		nom-7.1.3 \
		noop_proc_macro-0.3.0 \
		ntapi-0.4.1 \
		nu-ansi-term-0.50.1 \
		num-bigint-0.4.6 \
		num-complex-0.4.6 \
		num-conv-0.1.0 \
		num-derive-0.4.2 \
		num-integer-0.1.46 \
		num-rational-0.4.2 \
		num-traits-0.2.19 \
		num_enum-0.7.4 \
		num_enum_derive-0.7.4 \
		objc-0.2.7 \
		objc2-0.6.1 \
		objc2-audio-toolbox-0.3.1 \
		objc2-core-audio-0.3.1 \
		objc2-core-audio-types-0.3.1 \
		objc2-core-foundation-0.3.1 \
		objc2-encode-4.1.0 \
		objc2-foundation-0.3.1 \
		objc2-io-kit-0.3.1 \
		object-0.36.3 \
		ogg_pager-0.7.0 \
		once_cell-1.19.0 \
		oorandom-11.1.5 \
		openssl-0.10.66 \
		openssl-macros-0.1.1 \
		openssl-probe-0.1.5 \
		openssl-sys-0.9.103 \
		opml-1.1.6 \
		option-ext-0.2.0 \
		option-operations-0.5.0 \
		opusic-sys-0.5.8 \
		orange-trees-0.1.3 \
		ordered-stream-0.2.0 \
		os_str_bytes-6.6.1 \
		parking-2.2.0 \
		parking_lot-0.12.4 \
		parking_lot_core-0.9.11 \
		paste-1.0.15 \
		pathdiff-0.2.3 \
		percent-encoding-2.3.2 \
		petgraph-0.7.1 \
		pin-project-1.1.5 \
		pin-project-internal-1.1.5 \
		pin-project-lite-0.2.14 \
		pin-utils-0.1.0 \
		pinyin-0.10.0 \
		piper-0.2.4 \
		pkg-config-0.3.30 \
		plotters-0.3.7 \
		plotters-backend-0.3.7 \
		plotters-svg-0.3.7 \
		png-0.17.16 \
		polling-2.8.0 \
		polling-3.7.3 \
		pollster-0.3.0 \
		portable-atomic-1.11.0 \
		portable-atomic-util-0.2.4 \
		powerfmt-0.2.0 \
		ppv-lite86-0.2.21 \
		pretty_assertions-1.4.1 \
		prettyplease-0.2.20 \
		primal-check-0.3.4 \
		proc-macro-crate-1.3.1 \
		proc-macro-crate-3.3.0 \
		proc-macro2-1.0.92 \
		profiling-1.0.16 \
		profiling-procmacros-1.0.16 \
		prost-0.14.1 \
		prost-build-0.14.1 \
		prost-derive-0.14.1 \
		prost-types-0.14.1 \
		psl-types-2.0.11 \
		publicsuffix-2.3.0 \
		pulldown-cmark-0.13.0 \
		pulldown-cmark-to-cmark-21.0.0 \
		qoi-0.4.1 \
		quick-error-2.0.1 \
		quick-xml-0.37.5 \
		quick-xml-0.38.3 \
		quinn-0.11.3 \
		quinn-proto-0.11.6 \
		quinn-udp-0.5.4 \
		quote-1.0.37 \
		r-efi-5.2.0 \
		rand-0.8.5 \
		rand-0.9.2 \
		rand_chacha-0.3.1 \
		rand_chacha-0.9.0 \
		rand_core-0.6.4 \
		rand_core-0.9.3 \
		rangemap-1.5.1 \
		ratatui-0.29.0 \
		rav1e-0.7.1 \
		ravif-0.11.11 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		redox_syscall-0.5.3 \
		redox_users-0.5.0 \
		regex-1.11.2 \
		regex-automata-0.4.8 \
		regex-syntax-0.8.5 \
		reqwest-0.12.23 \
		rfc822_sanitizer-0.3.6 \
		rgb-0.8.50 \
		ring-0.17.14 \
		ringbuf-0.4.8 \
		rodio-0.21.1 \
		rss-2.0.12 \
		rusqlite-0.37.0 \
		rustc-demangle-0.1.24 \
		rustc-hash-2.1.1 \
		rustfft-6.2.0 \
		rustix-0.37.27 \
		rustix-0.38.34 \
		rustix-1.0.7 \
		rustls-0.23.12 \
		rustls-pki-types-1.12.0 \
		rustls-webpki-0.102.6 \
		rustversion-1.0.17 \
		ryu-1.0.18 \
		same-file-1.0.6 \
		sanitize-filename-0.6.0 \
		schannel-0.1.23 \
		scopeguard-1.2.0 \
		security-framework-2.11.1 \
		security-framework-sys-2.11.1 \
		semver-1.0.26 \
		serde-1.0.221 \
		serde_core-1.0.221 \
		serde_derive-1.0.221 \
		serde_json-1.0.143 \
		serde_repr-0.1.19 \
		serde_spanned-0.6.8 \
		serde_spanned-1.0.0 \
		serde_urlencoded-0.7.1 \
		serde_yaml-0.9.34+deprecated \
		sha1-0.10.6 \
		shell-words-1.1.0 \
		shellexpand-3.1.1 \
		shlex-1.3.0 \
		signal-hook-0.3.17 \
		signal-hook-mio-0.2.4 \
		signal-hook-registry-1.4.2 \
		simd-adler32-0.3.7 \
		simd_helpers-0.1.0 \
		sixel-rs-0.3.3 \
		sixel-sys-0.3.1 \
		slab-0.4.9 \
		smallvec-1.15.1 \
		smawk-0.3.2 \
		socket2-0.4.10 \
		socket2-0.5.7 \
		socket2-0.6.0 \
		soundtouch-0.5.1 \
		soundtouch-ffi-0.3.0 \
		souvlaki-0.8.3 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		stream-download-0.22.4 \
		strength_reduce-0.2.4 \
		strsim-0.11.1 \
		strum-0.26.3 \
		strum_macros-0.26.4 \
		subtle-2.6.1 \
		symphonia-0.5.5 \
		symphonia-adapter-libopus-0.2.0 \
		symphonia-bundle-flac-0.5.5 \
		symphonia-bundle-mp3-0.5.5 \
		symphonia-codec-aac-0.5.5 \
		symphonia-codec-adpcm-0.5.5 \
		symphonia-codec-alac-0.5.5 \
		symphonia-codec-pcm-0.5.5 \
		symphonia-codec-vorbis-0.5.5 \
		symphonia-core-0.5.5 \
		symphonia-format-isomp4-0.5.5 \
		symphonia-format-mkv-0.5.5 \
		symphonia-format-ogg-0.5.5 \
		symphonia-format-riff-0.5.5 \
		symphonia-metadata-0.5.5 \
		symphonia-utils-xiph-0.5.5 \
		syn-1.0.109 \
		syn-2.0.106 \
		sync_wrapper-1.0.2 \
		synstructure-0.13.1 \
		sysinfo-0.36.1 \
		system-configuration-0.6.1 \
		system-configuration-sys-0.6.0 \
		system-deps-6.2.2 \
		system-deps-7.0.2 \
		target-lexicon-0.12.16 \
		tempfile-3.12.0 \
		termcolor-1.4.1 \
		textwrap-0.16.2 \
		thiserror-1.0.63 \
		thiserror-2.0.16 \
		thiserror-impl-1.0.63 \
		thiserror-impl-2.0.16 \
		tiff-0.9.1 \
		time-0.3.36 \
		time-core-0.1.2 \
		time-macros-0.2.18 \
		tinystr-0.7.6 \
		tinytemplate-1.2.1 \
		tinyvec-1.8.0 \
		tinyvec_macros-0.1.1 \
		tokio-1.47.1 \
		tokio-macros-2.5.0 \
		tokio-native-tls-0.3.1 \
		tokio-rustls-0.26.0 \
		tokio-stream-0.1.17 \
		tokio-util-0.7.16 \
		toml-0.8.22 \
		toml-0.9.5 \
		toml_datetime-0.6.9 \
		toml_datetime-0.7.0 \
		toml_edit-0.19.15 \
		toml_edit-0.22.26 \
		toml_parser-1.0.2 \
		toml_write-0.1.1 \
		toml_writer-1.0.2 \
		tonic-0.14.1 \
		tonic-build-0.14.1 \
		tonic-prost-0.14.1 \
		tonic-prost-build-0.14.1 \
		tower-0.5.2 \
		tower-http-0.6.6 \
		tower-layer-0.3.3 \
		tower-service-0.3.3 \
		tracing-0.1.40 \
		tracing-attributes-0.1.27 \
		tracing-core-0.1.32 \
		transpose-0.2.3 \
		try-lock-0.2.5 \
		tui-realm-stdlib-3.0.0 \
		tui-realm-treeview-3.0.0 \
		tuirealm-3.2.0 \
		tuirealm_derive-2.0.0 \
		typenum-1.17.0 \
		uds_windows-1.1.0 \
		uncased-0.9.10 \
		unicase-2.8.1 \
		unicode-ident-1.0.12 \
		unicode-linebreak-0.1.5 \
		unicode-segmentation-1.12.0 \
		unicode-truncate-1.1.0 \
		unicode-width-0.1.13 \
		unicode-width-0.2.0 \
		unsafe-libyaml-0.2.11 \
		untrusted-0.9.0 \
		url-2.5.4 \
		urlencoding-2.1.3 \
		utf16_iter-1.0.5 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		uuid-0.8.2 \
		v_frame-0.3.8 \
		vcpkg-0.2.15 \
		version-compare-0.2.0 \
		version_check-0.9.5 \
		viuer-0.9.2 \
		waker-fn-1.2.0 \
		walkdir-2.5.0 \
		want-0.3.1 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasi-0.14.2+wasi-0.2.4 \
		wasm-bindgen-0.2.100 \
		wasm-bindgen-backend-0.2.100 \
		wasm-bindgen-futures-0.4.43 \
		wasm-bindgen-macro-0.2.100 \
		wasm-bindgen-macro-support-0.2.100 \
		wasm-bindgen-shared-0.2.100 \
		wasm-streams-0.4.0 \
		web-sys-0.3.70 \
		webpki-roots-0.26.3 \
		webpki-roots-1.0.2 \
		weezl-0.1.8 \
		wildmatch-2.4.0 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.9 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-0.44.0 \
		windows-0.54.0 \
		windows-0.58.0 \
		windows-0.61.1 \
		windows-collections-0.2.0 \
		windows-core-0.52.0 \
		windows-core-0.54.0 \
		windows-core-0.58.0 \
		windows-core-0.61.0 \
		windows-future-0.2.0 \
		windows-implement-0.58.0 \
		windows-implement-0.60.0 \
		windows-interface-0.58.0 \
		windows-interface-0.59.1 \
		windows-link-0.1.1 \
		windows-numerics-0.2.0 \
		windows-registry-0.5.1 \
		windows-result-0.1.2 \
		windows-result-0.2.0 \
		windows-result-0.3.2 \
		windows-strings-0.1.0 \
		windows-strings-0.4.0 \
		windows-sys-0.45.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-targets-0.42.2 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows_aarch64_gnullvm-0.42.2 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		winnow-0.5.40 \
		winnow-0.7.10 \
		wit-bindgen-rt-0.39.0 \
		write16-1.0.0 \
		writeable-0.5.5 \
		xdg-home-1.3.0 \
		xmlparser-0.13.6 \
		yansi-1.0.1 \
		yoke-0.7.5 \
		yoke-derive-0.7.5 \
		ytd-rs-0.1.7 \
		zbus-3.15.2 \
		zbus_macros-3.15.2 \
		zbus_names-2.6.1 \
		zerocopy-0.8.24 \
		zerocopy-derive-0.8.24 \
		zerofrom-0.1.6 \
		zerofrom-derive-0.1.6 \
		zeroize-1.8.1 \
		zerovec-0.10.4 \
		zerovec-derive-0.10.3 \
		zune-core-0.4.12 \
		zune-inflate-0.2.54 \
		zune-jpeg-0.4.13 \
		zvariant-3.15.2 \
		zvariant_derive-3.15.2 \
		zvariant_utils-1.0.1

OPENSSLINC=	/usr/include
OPENSSLLIB=	/usr/lib

PROGS=		termusic \
		termusic-server

PLIST_FILES=	${PROGS:S/^/bin\//}

do-install:
	# workaround for error: found a virtual manifest at `xx` instead of a package manifest
.for p in ${PROGS}
	${INSTALL_PROGRAM} \
		${WRKDIR}/target/release/${p} \
		${STAGEDIR}${PREFIX}/bin
.endfor

.include <bsd.port.mk>
