diff --git a/graphics/satty/Makefile b/graphics/satty/Makefile index 1037d9881014..56db6536f1ec 100644 --- a/graphics/satty/Makefile +++ b/graphics/satty/Makefile @@ -1,32 +1,31 @@ PORTNAME= satty DISTVERSIONPREFIX= v DISTVERSION= 0.20.0 CATEGORIES= graphics wayland MASTER_SITES= CRATESIO MAINTAINER= jbeich@FreeBSD.org COMMENT= Modern screenshot annotation WWW= https://github.com/gabm/Satty LICENSE= MPL20 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig USES= cargo desktop-file-utils gnome USE_GITHUB= yes USE_GNOME= gdkpixbuf gtk40 libadwaita GH_ACCOUNT= gabm GH_PROJECT= Satty -CARGO_ENV= SOURCE_DIR="${WRKSRC}" PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ share/icons/hicolor/scalable/apps/${PORTNAME}.svg post-install: .for f in *.desktop assets/*.svg ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/${f} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .include diff --git a/graphics/satty/files/patch-icons b/graphics/satty/files/patch-icons deleted file mode 100644 index 86ac04b20c27..000000000000 --- a/graphics/satty/files/patch-icons +++ /dev/null @@ -1,11 +0,0 @@ ---- cargo-crates/relm4-icons-0.9.0/build.rs.orig 2006-07-24 01:21:28 UTC -+++ cargo-crates/relm4-icons-0.9.0/build.rs -@@ -52,7 +52,7 @@ fn main() { - let mut manifest_dir = Path::new(&out_dir).canonicalize().unwrap(); - eprintln!("Canonical manifest dir: {manifest_dir:?}"); - -- let (config, config_dir) = if cfg!(docsrs) { -+ let (config, config_dir) = if cfg!(docsrs) || env::var("SOURCE_DIR").is_ok() { - if let Ok(source_dir) = env::var("SOURCE_DIR") { - (Config::load(&source_dir).unwrap_or_default(), source_dir) - } else {