diff --git a/deskutils/Makefile b/deskutils/Makefile index ae3c94d653b2..d65da652af71 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -1,318 +1,319 @@ COMMENT = Things that used to be on the desktop before computers were invented SUBDIR += R-cran-exams SUBDIR += affiche SUBDIR += akonadi-calendar-tools SUBDIR += akonadi-import-wizard SUBDIR += akonadiconsole SUBDIR += akregator SUBDIR += alarm-clock-applet SUBDIR += anydesk SUBDIR += appwrapper SUBDIR += arttime SUBDIR += ausweisapp2 SUBDIR += autocutsel SUBDIR += baobab SUBDIR += basket SUBDIR += belcard SUBDIR += bigyear SUBDIR += bijiben SUBDIR += birdtray SUBDIR += bookworm SUBDIR += budgie-desktop-view SUBDIR += cairo-dock SUBDIR += cairo-dock-plugins SUBDIR += caja-extensions SUBDIR += cal SUBDIR += calcurse SUBDIR += calendar SUBDIR += calendar-data SUBDIR += calibre SUBDIR += calindori SUBDIR += cartotheque SUBDIR += cfiles SUBDIR += charmtimetracker SUBDIR += chart SUBDIR += cherrytree SUBDIR += clipit SUBDIR += clipmenu SUBDIR += clipnotify SUBDIR += conkyforecast SUBDIR += coolreader SUBDIR += copyq SUBDIR += coregarage SUBDIR += countdown SUBDIR += dailystrips SUBDIR += deforaos-todo SUBDIR += dfshow SUBDIR += dmenu-wayland SUBDIR += docear SUBDIR += dosage SUBDIR += dstask SUBDIR += easystroke SUBDIR += elementary-calendar SUBDIR += fasd SUBDIR += fbreader SUBDIR += feathernotes SUBDIR += fet SUBDIR += fff SUBDIR += flameshot SUBDIR += foliate SUBDIR += freebsd-update-notify SUBDIR += freemind SUBDIR += freeplane SUBDIR += ganttproject SUBDIR += gcal SUBDIR += gcalcli SUBDIR += genius SUBDIR += glabels SUBDIR += gnome-calendar SUBDIR += gnome-characters SUBDIR += gnome-clocks SUBDIR += gnome-contacts SUBDIR += gnome-dictionary SUBDIR += gnome-font-viewer SUBDIR += gnome-initial-setup SUBDIR += gnome-maps SUBDIR += gnome-photos SUBDIR += gnome-planner SUBDIR += gnome-pomodoro SUBDIR += gnome-screenshot SUBDIR += gnome-shell-extension-audio-output-switcher SUBDIR += gnome-shell-extension-coverflow SUBDIR += gnome-shell-extension-dashtodock SUBDIR += gnome-shell-extension-dashtopanel SUBDIR += gnome-shell-extension-filesmenu SUBDIR += gnome-shell-extension-hidetopbar SUBDIR += gnome-shell-extension-lockkeys SUBDIR += gnome-shell-extension-mediaplayer SUBDIR += gnome-shell-extension-openweather SUBDIR += gnome-shell-extension-panel-osd SUBDIR += gnome-shell-extension-recent-items SUBDIR += gnome-shell-extension-trash SUBDIR += gnome-shell-extension-weather SUBDIR += gnome-shell-extension-windowoverlay-icons SUBDIR += gnome-shell-extra-extensions SUBDIR += gnome-sound-recorder SUBDIR += gnome-todo SUBDIR += gnome-tweaks SUBDIR += gnome-utils SUBDIR += gnome-weather SUBDIR += gnote SUBDIR += gnotime SUBDIR += gnustep-wrapper SUBDIR += go-for-it SUBDIR += goesimage SUBDIR += gpicker SUBDIR += grantlee-editor SUBDIR += grantleetheme SUBDIR += growl-for-linux SUBDIR += gsimplecal SUBDIR += gtimer SUBDIR += gucharmap SUBDIR += gworkspace SUBDIR += gworkspace-gwmetadata SUBDIR += gxmessage SUBDIR += gxneur SUBDIR += havoc SUBDIR += health SUBDIR += hebcal SUBDIR += helpviewer SUBDIR += hot-babe SUBDIR += howm SUBDIR += hs-arbtt SUBDIR += i3lock SUBDIR += i3status SUBDIR += ical SUBDIR += iconbrowser SUBDIR += itinerary SUBDIR += jjclient SUBDIR += jlj SUBDIR += jot SUBDIR += just SUBDIR += kaddressbook SUBDIR += kalarm SUBDIR += kcharselect SUBDIR += kchmviewer SUBDIR += kdeconnect-kde SUBDIR += kdepim SUBDIR += kdepim-addons SUBDIR += kdepim-runtime SUBDIR += keditbookmarks SUBDIR += keep-presence SUBDIR += kf6-kstatusnotifieritem SUBDIR += kfind SUBDIR += kmail SUBDIR += kmail-account-wizard SUBDIR += knotes SUBDIR += kodaskanna SUBDIR += kongress SUBDIR += kontact SUBDIR += korganizer SUBDIR += kronometer SUBDIR += kruler SUBDIR += ktimetracker SUBDIR += kuserfeedback SUBDIR += latte-dock SUBDIR += lazycli SUBDIR += libcprime SUBDIR += libkdepim SUBDIR += libportal SUBDIR += libportal-gtk3 SUBDIR += libportal-gtk4 SUBDIR += libportal-qt5 SUBDIR += ljclive SUBDIR += lumina-archiver SUBDIR += lumina-calculator SUBDIR += lumina-fileinfo SUBDIR += lumina-fm SUBDIR += lumina-mediaplayer SUBDIR += lumina-pdf SUBDIR += lumina-photo SUBDIR += lumina-screenshot SUBDIR += lumina-textedit SUBDIR += lxqt-notificationd SUBDIR += maliit-framework SUBDIR += maliit-keyboard SUBDIR += mate-indicator-applet SUBDIR += mate-notification-daemon SUBDIR += mate-utils SUBDIR += mbox-importer SUBDIR += mencal SUBDIR += menumaker SUBDIR += merkuro SUBDIR += meteo SUBDIR += mindforger SUBDIR += moregroupware SUBDIR += mozo SUBDIR += mytetra SUBDIR += nanonote SUBDIR += nautilus-sendto SUBDIR += nextcloudclient SUBDIR += normcap SUBDIR += note SUBDIR += notekit SUBDIR += notes SUBDIR += noti SUBDIR += notification-daemon SUBDIR += notify-osd SUBDIR += orage SUBDIR += owncloudclient SUBDIR += p5-Data-ICal SUBDIR += p5-Data-ICal-DateTime SUBDIR += p5-Goo SUBDIR += pal SUBDIR += parcellite SUBDIR += peaclock SUBDIR += pet SUBDIR += phpicalendar SUBDIR += pim-data-exporter SUBDIR += pim-sieve-editor SUBDIR += pinot SUBDIR += pipecolor SUBDIR += plan SUBDIR += plans SUBDIR += plasma5-milou SUBDIR += plasma5-sddm-kcm SUBDIR += plasma5-xdg-desktop-portal-kde SUBDIR += plasma6-milou SUBDIR += plasma6-sddm-kcm SUBDIR += plasma6-xdg-desktop-portal-kde SUBDIR += plopfolio SUBDIR += preferences SUBDIR += presage SUBDIR += projectlibre SUBDIR += pueue SUBDIR += puush SUBDIR += py-autokey SUBDIR += py-bugwarrior SUBDIR += py-i3-gnome-pomodoro SUBDIR += py-khal SUBDIR += py-khard SUBDIR += py-paperless SUBDIR += py-paperless-ngx SUBDIR += py-py3status SUBDIR += py-pystash SUBDIR += py-send2trash SUBDIR += py-taskw SUBDIR += py-term-background SUBDIR += py-todoman + SUBDIR += py-trash-cli SUBDIR += py-vdirsyncer SUBDIR += py-vobject SUBDIR += py-vorta SUBDIR += qlipper SUBDIR += qmediamanager SUBDIR += qownnotes SUBDIR += qtfeedback SUBDIR += recoll SUBDIR += rednotebook SUBDIR += remind SUBDIR += rolo SUBDIR += rubygem-shellplay SUBDIR += rubygem-taskjuggler SUBDIR += rwpspread SUBDIR += semantik SUBDIR += showdown SUBDIR += sigi SUBDIR += simpleagenda SUBDIR += skim SUBDIR += sliderule SUBDIR += solanum SUBDIR += sowon SUBDIR += spacefm SUBDIR += spice-gtk SUBDIR += subsurface SUBDIR += synapse SUBDIR += syncthingtray SUBDIR += sysctlview SUBDIR += systempreferences SUBDIR += taskd SUBDIR += tasksh SUBDIR += taskwarrior SUBDIR += taskwarrior-tui SUBDIR += teapot SUBDIR += terminal-image-viewer SUBDIR += thinkingrock SUBDIR += thokr SUBDIR += timewarrior SUBDIR += todo SUBDIR += todour SUBDIR += toolboxkit SUBDIR += tpb SUBDIR += treeline SUBDIR += treesheets SUBDIR += ultralist SUBDIR += virt-manager SUBDIR += vit SUBDIR += vnote SUBDIR += vym SUBDIR += walld SUBDIR += when SUBDIR += wmpinboard SUBDIR += x026 SUBDIR += xannotate SUBDIR += xcalendar SUBDIR += xcbautolock SUBDIR += xchm SUBDIR += xdg-desktop-portal SUBDIR += xdg-desktop-portal-lxqt SUBDIR += xfce4-generic-slider SUBDIR += xfce4-notes-plugin SUBDIR += xfce4-notifyd SUBDIR += xfce4-tumbler SUBDIR += xfce4-volumed-pulse SUBDIR += xfce4-xkb-plugin SUBDIR += xmdiary SUBDIR += xneur SUBDIR += xpad SUBDIR += xpad3 SUBDIR += xpostit SUBDIR += xpostitPlus SUBDIR += xwrits SUBDIR += ydotool SUBDIR += zanshin SUBDIR += zim SUBDIR += znotes SUBDIR += zorro .include diff --git a/deskutils/py-trash-cli/Makefile b/deskutils/py-trash-cli/Makefile new file mode 100644 index 000000000000..cbe914f8f109 --- /dev/null +++ b/deskutils/py-trash-cli/Makefile @@ -0,0 +1,35 @@ +PORTNAME= trash-cli +DISTVERSION= 0.24.5.26 +CATEGORIES= deskutils python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= trash_cli-${DISTVERSION} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Command line interface to the freedesktop.org trashcan +WWW= https://github.com/andreafrancia/trash-cli + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}shtab>=1.7.1:devel/py-shtab@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.44.0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=6.0.0:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} + +USES= python:3.9+ +USE_PYTHON= autoplist pep517 +TRASH_CMDS= trash-empty trash-list trash-restore trash-put trash + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions +. for cmd in ${TRASH_CMDS} + @${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \ + ${STAGEDIR}${PREFIX}/bin/${cmd} --print-completion bash > ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${cmd} + @${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \ + ${STAGEDIR}${PREFIX}/bin/${cmd} --print-completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${cmd} +. endfor + +.include diff --git a/deskutils/py-trash-cli/distinfo b/deskutils/py-trash-cli/distinfo new file mode 100644 index 000000000000..c3acab241317 --- /dev/null +++ b/deskutils/py-trash-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722931541 +SHA256 (trash_cli-0.24.5.26.tar.gz) = c721628e82c4be110b710d72b9d85c9595d8b524f4da241ad851a7479d0bdceb +SIZE (trash_cli-0.24.5.26.tar.gz) = 59726 diff --git a/deskutils/py-trash-cli/pkg-descr b/deskutils/py-trash-cli/pkg-descr new file mode 100644 index 000000000000..3cb6db871ffb --- /dev/null +++ b/deskutils/py-trash-cli/pkg-descr @@ -0,0 +1,11 @@ +trash-cli trashes files recording the original path, deletion date, and +permissions. It uses the same trashcan used by KDE, GNOME, and XFCE, but you +can invoke it from the command line (and scripts). + +It provides these commands: + +trash-put trash files and directories. +trash-empty empty the trashcan(s). +trash-list list trashed files. +trash-restore restore a trashed file. +trash-rm remove individual files from the trashcan. diff --git a/deskutils/py-trash-cli/pkg-plist b/deskutils/py-trash-cli/pkg-plist new file mode 100644 index 000000000000..fa13214fbaea --- /dev/null +++ b/deskutils/py-trash-cli/pkg-plist @@ -0,0 +1,10 @@ +share/bash-completion/completions/trash +share/bash-completion/completions/trash-empty +share/bash-completion/completions/trash-list +share/bash-completion/completions/trash-put +share/bash-completion/completions/trash-restore +share/zsh/site-functions/_trash +share/zsh/site-functions/_trash-empty +share/zsh/site-functions/_trash-list +share/zsh/site-functions/_trash-put +share/zsh/site-functions/_trash-restore