pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/trash sysutils/trash: import trash-0.9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/030f2a7d8de0
branches:  trunk
changeset: 392309:030f2a7d8de0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 27 15:28:13 2019 +0000

description:
sysutils/trash: import trash-0.9.2

Trash is a small command-line program for OS X that moves files or
folders to the trash.

diffstat:

 sysutils/trash/DESCR                  |   2 ++
 sysutils/trash/Makefile               |  28 ++++++++++++++++++++++++++++
 sysutils/trash/PLIST                  |   3 +++
 sysutils/trash/distinfo               |   7 +++++++
 sysutils/trash/patches/patch-Makefile |  15 +++++++++++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r e72f85737235 -r 030f2a7d8de0 sysutils/trash/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/trash/DESCR      Wed Feb 27 15:28:13 2019 +0000
@@ -0,0 +1,2 @@
+Trash is a small command-line program for OS X that moves files or
+folders to the trash.
diff -r e72f85737235 -r 030f2a7d8de0 sysutils/trash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/trash/Makefile   Wed Feb 27 15:28:13 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/02/27 15:28:13 wiz Exp $
+
+DISTNAME=      trash-0.9.2
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ali-rantakari/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ali-rantakari/trash/
+COMMENT=       Command-line program for OS X that moves files or folders to the trash
+LICENSE=       mit
+
+ONLY_FOR_PLATFORM=     Darwin-*-*
+
+# actually, pod2man
+USE_TOOLS+=    gmake perl
+
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
+
+do-build:
+       cd ${WRKSRC} && ${GMAKE}
+       cd ${WRKSRC} && ${GMAKE} docs
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/trash ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/trash.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff -r e72f85737235 -r 030f2a7d8de0 sysutils/trash/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/trash/PLIST      Wed Feb 27 15:28:13 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/27 15:28:13 wiz Exp $
+bin/trash
+man/man1/trash.1
diff -r e72f85737235 -r 030f2a7d8de0 sysutils/trash/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/trash/distinfo   Wed Feb 27 15:28:13 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/02/27 15:28:13 wiz Exp $
+
+SHA1 (trash-0.9.2.tar.gz) = e4071caf49dd5c65567a5d9a8878b427144e30f4
+RMD160 (trash-0.9.2.tar.gz) = 44da3b093f9fe52e9136e1cd975c5410e343e126
+SHA512 (trash-0.9.2.tar.gz) = b4a5e83d0b9c01a962e317a4704209a61eb2436412879db423a03e463c0f31899a8c4611b0b4bf301071a64c4349ffe6cf36023dc9af0385d1911da2f0b4a892
+Size (trash-0.9.2.tar.gz) = 23044 bytes
+SHA1 (patch-Makefile) = c2b7f1caba59aee7424d7b971897b0bd035bf017
diff -r e72f85737235 -r 030f2a7d8de0 sysutils/trash/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/trash/patches/patch-Makefile     Wed Feb 27 15:28:13 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2019/02/27 15:28:13 wiz Exp $
+
+Do not build i386 executable, fails on 10.14.
+
+--- Makefile.orig      2018-07-12 07:49:49.000000000 +0000
++++ Makefile
+@@ -10,7 +10,7 @@ trash: $(SOURCE_FILES)
+       @echo
+       @echo ---- Compiling:
+       @echo ======================================
+-      $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -force_cpusubtype_ALL -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -framework AppKit -framework ScriptingBridge 
-o $@ $(SOURCE_FILES)
++      $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -force_cpusubtype_ALL -mmacosx-version-min=10.7 -arch x86_64 -framework AppKit -framework ScriptingBridge -o $@ 
$(SOURCE_FILES)
+ 
+ analyze:
+       @echo



Home | Main Index | Thread Index | Old Index