diff options
-rw-r--r-- | sysutils/rmtrash/DESCR | 3 | ||||
-rw-r--r-- | sysutils/rmtrash/Makefile | 26 | ||||
-rw-r--r-- | sysutils/rmtrash/PLIST | 4 | ||||
-rw-r--r-- | sysutils/rmtrash/distinfo | 5 |
4 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/rmtrash/DESCR b/sysutils/rmtrash/DESCR new file mode 100644 index 00000000000..9c8cdef4196 --- /dev/null +++ b/sysutils/rmtrash/DESCR @@ -0,0 +1,3 @@ +Put files (and directories) in trash using the trash-put command +in a way that is, otherwise as trash-put itself, compatible to GNUs +rm and rmdir. diff --git a/sysutils/rmtrash/Makefile b/sysutils/rmtrash/Makefile new file mode 100644 index 00000000000..0ce04252147 --- /dev/null +++ b/sysutils/rmtrash/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2015/02/08 16:59:56 wiz Exp $ + +DISTNAME= rmtrash-${VERSION} +VERSION= 1.8 +CATEGORIES= sysutils +MASTER_SITES= -https://github.com/PhrozenByte/rmtrash/archive/v${VERSION}${EXTRACT_SUFX} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/PhrozenByte/rmtrash/ +COMMENT= Put files into OS X' trash when deleting them +LICENSE= gnu-gpl-v3 + +USE_LANGUAGES= # none +USE_TOOLS+= bash:run +REPLACE_BASH+= rmdirtrash rmtrash +INSTALLATION_DIRS+= bin share/doc/rmtrash + +do-build: + # nothing + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rmdirtrash ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/rmtrash ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/rmtrash + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/rmtrash/PLIST b/sysutils/rmtrash/PLIST new file mode 100644 index 00000000000..e4cf4b1f088 --- /dev/null +++ b/sysutils/rmtrash/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2015/02/08 16:59:56 wiz Exp $ +bin/rmdirtrash +bin/rmtrash +share/doc/rmtrash/README.md diff --git a/sysutils/rmtrash/distinfo b/sysutils/rmtrash/distinfo new file mode 100644 index 00000000000..80ce1af71f2 --- /dev/null +++ b/sysutils/rmtrash/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/02/08 16:59:56 wiz Exp $ + +SHA1 (rmtrash-1.8.tar.gz) = 7a74467c1f5bf8050abea211f5a8f49b7c42795a +RMD160 (rmtrash-1.8.tar.gz) = 9421ee4b3c4f4e398f65249ba45e8307952ef95e +Size (rmtrash-1.8.tar.gz) = 23765 bytes |