aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-07-09 02:18:59 +0800
committerwg <wg@FreeBSD.org>2013-07-09 02:18:59 +0800
commit200ea8c22d9c04de8d1ebefdedf75ed91fd12630 (patch)
treeb4588d5433856f6b8e9ab862c9ad4a1b03420b3e /deskutils
parent96f2d087c8fb9ddce7c993bf292f52d17ada7b91 (diff)
downloadfreebsd-ports-gnome-200ea8c22d9c04de8d1ebefdedf75ed91fd12630.tar.gz
freebsd-ports-gnome-200ea8c22d9c04de8d1ebefdedf75ed91fd12630.tar.zst
freebsd-ports-gnome-200ea8c22d9c04de8d1ebefdedf75ed91fd12630.zip
deskutils/py-send2trash: small package that sends files to the Trash
Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. WWW: http://hg.hardcoded.net/send2trash/ PR: ports/179604 Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/py-send2trash/Makefile29
-rw-r--r--deskutils/py-send2trash/distinfo2
-rw-r--r--deskutils/py-send2trash/pkg-descr4
-rw-r--r--deskutils/py-send2trash/pkg-plist20
5 files changed, 56 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index f86534dbd4b0..b681c902ad63 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -216,6 +216,7 @@
SUBDIR += plopfolio
SUBDIR += preferencepanes
SUBDIR += preferences
+ SUBDIR += py-send2trash
SUBDIR += py-vobject
SUBDIR += pybookreader
SUBDIR += pypanel
diff --git a/deskutils/py-send2trash/Makefile b/deskutils/py-send2trash/Makefile
new file mode 100644
index 000000000000..1c5ac1ef022f
--- /dev/null
+++ b/deskutils/py-send2trash/Makefile
@@ -0,0 +1,29 @@
+# Created by: nemysis <nemysis@gmx.ch>
+# $FreeBSD$
+
+PORTNAME= send2trash
+PORTVERSION= 1.2.0
+CATEGORIES= deskutils
+MASTER_SITES= CHEESESHOP
+DISTNAME= Send2Trash-${PORTVERSION}
+
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Small package that sends files to the Trash
+
+LICENSE= BSD
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_PKGNAME= Send2Trash
+
+PORTDOCS= CHANGES README
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/py-send2trash/distinfo b/deskutils/py-send2trash/distinfo
new file mode 100644
index 000000000000..a65b97e6e08e
--- /dev/null
+++ b/deskutils/py-send2trash/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Send2Trash-1.2.0.tar.gz) = 9de6d116218650bf24607175cc8e2c2d8a87898491339c13871b0fd462120d04
+SIZE (Send2Trash-1.2.0.tar.gz) = 5033
diff --git a/deskutils/py-send2trash/pkg-descr b/deskutils/py-send2trash/pkg-descr
new file mode 100644
index 000000000000..4eab0e33a9ae
--- /dev/null
+++ b/deskutils/py-send2trash/pkg-descr
@@ -0,0 +1,4 @@
+Send2Trash is a small package that sends files to the Trash (or Recycle Bin)
+natively and on all platforms.
+
+WWW: http://hg.hardcoded.net/send2trash/
diff --git a/deskutils/py-send2trash/pkg-plist b/deskutils/py-send2trash/pkg-plist
new file mode 100644
index 000000000000..68378c549acc
--- /dev/null
+++ b/deskutils/py-send2trash/pkg-plist
@@ -0,0 +1,20 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_osx.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_osx.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_osx.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_other.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_other.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_other.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_win.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_win.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash/plat_win.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/send2trash
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%