1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/www/py-pywry/Makefile
2024-01-09 13:15:54 +01:00

309 lines
6.8 KiB
Makefile

PORTNAME= pywry
DISTVERSION= 0.6.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= PyWry Web Viewer
WWW= https://github.com/tauri-apps/wry
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}maturin>0:devel/py-maturin@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
USES= cargo gnome python
USE_PYTHON= pep517 autoplist
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
# workaround for the problem that the ports framework doesn't add PYPI-related file to DISTFILES due to DISTFILES?= in Mk/bsd.port.mk
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
CARGO_CRATES= addr2line-0.21.0 \
adler-1.0.2 \
aho-corasick-1.0.5 \
anyhow-1.0.75 \
atk-0.15.1 \
atk-sys-0.15.1 \
autocfg-1.1.0 \
backtrace-0.3.69 \
base64-0.13.1 \
bitflags-1.3.2 \
block-0.1.6 \
block-buffer-0.10.4 \
bytemuck-1.13.1 \
byteorder-1.4.3 \
bytes-1.4.0 \
cairo-rs-0.15.12 \
cairo-sys-rs-0.15.1 \
cc-1.0.83 \
cesu8-1.1.0 \
cfg-expr-0.9.1 \
cfg-expr-0.15.5 \
cfg-if-1.0.0 \
cocoa-0.24.1 \
cocoa-foundation-0.1.1 \
color_quant-1.1.0 \
combine-4.6.6 \
convert_case-0.4.0 \
core-foundation-0.9.3 \
core-foundation-sys-0.8.4 \
core-graphics-0.22.3 \
core-graphics-types-0.1.2 \
cpufeatures-0.2.9 \
crc32fast-1.3.2 \
crossbeam-channel-0.5.8 \
crossbeam-utils-0.8.16 \
crypto-common-0.1.6 \
cssparser-0.27.2 \
cssparser-macros-0.6.1 \
derive_more-0.99.17 \
digest-0.10.7 \
dispatch-0.2.0 \
dtoa-1.0.9 \
dtoa-short-0.3.4 \
dunce-1.0.4 \
equivalent-1.0.1 \
fdeflate-0.3.0 \
field-offset-0.3.6 \
flate2-1.0.26 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.2.0 \
futf-0.1.5 \
futures-channel-0.3.28 \
futures-core-0.3.28 \
futures-executor-0.3.28 \
futures-io-0.3.28 \
futures-task-0.3.28 \
futures-util-0.3.28 \
fxhash-0.2.1 \
gdk-0.15.4 \
gdk-pixbuf-0.15.11 \
gdk-pixbuf-sys-0.15.10 \
gdk-sys-0.15.1 \
gdkwayland-sys-0.15.3 \
gdkx11-sys-0.15.1 \
generic-array-0.14.7 \
getrandom-0.1.16 \
getrandom-0.2.9 \
gimli-0.28.0 \
gio-0.15.12 \
gio-sys-0.15.10 \
glib-0.15.12 \
glib-macros-0.15.13 \
glib-sys-0.15.10 \
gobject-sys-0.15.10 \
gtk-0.15.5 \
gtk-sys-0.15.3 \
gtk3-macros-0.15.6 \
hashbrown-0.14.0 \
heck-0.3.3 \
heck-0.4.1 \
hermit-abi-0.2.6 \
html5ever-0.25.2 \
http-0.2.9 \
idna-0.4.0 \
image-0.24.7 \
indexmap-2.0.0 \
instant-0.1.12 \
is-docker-0.2.0 \
is-wsl-0.4.0 \
itoa-0.4.8 \
itoa-1.0.6 \
javascriptcore-rs-0.16.0 \
javascriptcore-rs-sys-0.4.0 \
jni-0.20.0 \
jni-sys-0.3.0 \
kuchiki-0.8.1 \
lazy_static-1.4.0 \
libc-0.2.149 \
lock_api-0.4.9 \
log-0.4.17 \
mac-0.1.1 \
malloc_buf-0.0.6 \
markup5ever-0.10.1 \
matches-0.1.10 \
memchr-2.6.3 \
memoffset-0.9.0 \
mime-0.3.17 \
mime_guess-2.0.4 \
miniz_oxide-0.7.1 \
mio-0.8.6 \
ndk-0.6.0 \
ndk-context-0.1.1 \
ndk-sys-0.3.0 \
new_debug_unreachable-1.0.4 \
nodrop-0.1.14 \
num-integer-0.1.45 \
num-rational-0.4.1 \
num-traits-0.2.15 \
num_cpus-1.15.0 \
num_enum-0.5.11 \
num_enum_derive-0.5.11 \
objc-0.2.7 \
objc_exception-0.1.2 \
objc_id-0.1.1 \
object-0.32.1 \
once_cell-1.17.1 \
open-5.0.0 \
pango-0.15.10 \
pango-sys-0.15.10 \
parking_lot-0.12.1 \
parking_lot_core-0.9.8 \
pathdiff-0.2.1 \
percent-encoding-2.3.0 \
phf-0.8.0 \
phf_codegen-0.8.0 \
phf_generator-0.8.0 \
phf_generator-0.10.0 \
phf_macros-0.8.0 \
phf_shared-0.8.0 \
phf_shared-0.10.0 \
pin-project-lite-0.2.13 \
pin-utils-0.1.0 \
pkg-config-0.3.27 \
png-0.17.8 \
ppv-lite86-0.2.17 \
precomputed-hash-0.1.1 \
proc-macro-crate-1.3.1 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro-hack-0.5.20+deprecated \
proc-macro2-1.0.67 \
quote-1.0.33 \
rand-0.7.3 \
rand-0.8.5 \
rand_chacha-0.2.2 \
rand_chacha-0.3.1 \
rand_core-0.5.1 \
rand_core-0.6.4 \
rand_hc-0.2.0 \
rand_pcg-0.2.1 \
raw-window-handle-0.5.2 \
redox_syscall-0.3.5 \
regex-1.9.5 \
regex-automata-0.3.8 \
regex-syntax-0.7.5 \
rustc-demangle-0.1.23 \
rustc_version-0.4.0 \
ryu-1.0.13 \
same-file-1.0.6 \
scopeguard-1.1.0 \
selectors-0.22.0 \
semver-1.0.18 \
serde-1.0.189 \
serde_derive-1.0.189 \
serde_json-1.0.107 \
serde_spanned-0.6.3 \
servo_arc-0.1.1 \
sha2-0.10.7 \
signal-hook-registry-1.4.1 \
simd-adler32-0.3.5 \
simple-home-dir-0.2.0 \
siphasher-0.3.11 \
slab-0.4.9 \
smallvec-1.10.0 \
socket2-0.5.4 \
soup2-0.2.1 \
soup2-sys-0.2.0 \
stable_deref_trait-1.2.0 \
string_cache-0.8.7 \
string_cache_codegen-0.5.2 \
syn-1.0.109 \
syn-2.0.36 \
system-deps-5.0.0 \
system-deps-6.1.1 \
tao-0.16.4 \
tao-macros-0.1.2 \
target-lexicon-0.12.11 \
tendril-0.4.3 \
thin-slice-0.1.1 \
thiserror-1.0.48 \
thiserror-impl-1.0.48 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.1 \
tokio-1.33.0 \
tokio-macros-2.1.0 \
toml-0.5.11 \
toml-0.7.8 \
toml_datetime-0.6.3 \
toml_edit-0.19.15 \
typenum-1.17.0 \
unicase-2.6.0 \
unicode-bidi-0.3.13 \
unicode-ident-1.0.8 \
unicode-normalization-0.1.22 \
unicode-segmentation-1.10.1 \
url-2.4.1 \
urlencoding-2.1.3 \
utf-8-0.7.6 \
uuid-1.4.1 \
version-compare-0.0.11 \
version-compare-0.1.1 \
version_check-0.9.4 \
walkdir-2.4.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
webkit2gtk-0.18.2 \
webkit2gtk-sys-0.18.0 \
webview2-com-0.19.1 \
webview2-com-macros-0.6.0 \
webview2-com-sys-0.19.0 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-0.39.0 \
windows-bindgen-0.39.0 \
windows-implement-0.39.0 \
windows-metadata-0.39.0 \
windows-sys-0.45.0 \
windows-sys-0.48.0 \
windows-targets-0.42.2 \
windows-targets-0.48.0 \
windows-tokens-0.39.0 \
windows_aarch64_gnullvm-0.42.2 \
windows_aarch64_gnullvm-0.48.0 \
windows_aarch64_msvc-0.39.0 \
windows_aarch64_msvc-0.42.2 \
windows_aarch64_msvc-0.48.0 \
windows_i686_gnu-0.39.0 \
windows_i686_gnu-0.42.2 \
windows_i686_gnu-0.48.0 \
windows_i686_msvc-0.39.0 \
windows_i686_msvc-0.42.2 \
windows_i686_msvc-0.48.0 \
windows_x86_64_gnu-0.39.0 \
windows_x86_64_gnu-0.42.2 \
windows_x86_64_gnu-0.48.0 \
windows_x86_64_gnullvm-0.42.2 \
windows_x86_64_gnullvm-0.48.0 \
windows_x86_64_msvc-0.39.0 \
windows_x86_64_msvc-0.42.2 \
windows_x86_64_msvc-0.48.0 \
winnow-0.5.15 \
wry-0.24.4 \
x11-2.21.0 \
x11-dl-2.21.0
CARGO_BUILD= no
CARGO_INSTALL= no
CARGO_TEST= no
CARGO_TARGET_DIR= ${WRKSRC}/target
MAKE_ENV= ${CARGO_ENV}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>