pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/trash



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Feb 27 15:28:13 UTC 2019

Added Files:
        pkgsrc/sysutils/trash: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/trash/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/trash/DESCR \
    pkgsrc/sysutils/trash/Makefile pkgsrc/sysutils/trash/PLIST \
    pkgsrc/sysutils/trash/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/trash/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/trash/DESCR
diff -u /dev/null pkgsrc/sysutils/trash/DESCR:1.1
--- /dev/null   Wed Feb 27 15:28:13 2019
+++ pkgsrc/sysutils/trash/DESCR Wed Feb 27 15:28:13 2019
@@ -0,0 +1,2 @@
+Trash is a small command-line program for OS X that moves files or
+folders to the trash.
Index: pkgsrc/sysutils/trash/Makefile
diff -u /dev/null pkgsrc/sysutils/trash/Makefile:1.1
--- /dev/null   Wed Feb 27 15:28:13 2019
+++ pkgsrc/sysutils/trash/Makefile      Wed Feb 27 15:28:13 2019
@@ -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"
Index: pkgsrc/sysutils/trash/PLIST
diff -u /dev/null pkgsrc/sysutils/trash/PLIST:1.1
--- /dev/null   Wed Feb 27 15:28:13 2019
+++ pkgsrc/sysutils/trash/PLIST Wed Feb 27 15:28:13 2019
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/02/27 15:28:13 wiz Exp $
+bin/trash
+man/man1/trash.1
Index: pkgsrc/sysutils/trash/distinfo
diff -u /dev/null pkgsrc/sysutils/trash/distinfo:1.1
--- /dev/null   Wed Feb 27 15:28:13 2019
+++ pkgsrc/sysutils/trash/distinfo      Wed Feb 27 15:28:13 2019
@@ -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

Index: pkgsrc/sysutils/trash/patches/patch-Makefile
diff -u /dev/null pkgsrc/sysutils/trash/patches/patch-Makefile:1.1
--- /dev/null   Wed Feb 27 15:28:13 2019
+++ pkgsrc/sysutils/trash/patches/patch-Makefile        Wed Feb 27 15:28:13 2019
@@ -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