From nobody Thu Jun 02 07:51:05 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3E7DB1B691B8; Thu, 2 Jun 2022 07:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LDJ9Q14Klz3Kld; Thu, 2 Jun 2022 07:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654156266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h7svdC5GZhxP6hGKqPaBqCIiwy4sBVH1ugq4s6yhAI8=; b=TPVqrLbEbJJAS88LtnSeCplgW4LaiN+t6XO6ymwwApczsE73bWXmlTjCOceE/cUFTzZ235 ji8bXg+RJnPgu/95B3vX1vVB3JoK/UyqRxIQSTnSFnytY+bxF1ECPlv8GwoZ380eQIiODh Wxi5VTBJ5r/uvNbfHQgTor3pHsBDMA6tG/WOWHrTFCFj/Jwlmz7N5f0UeDR3q+1koI0RhW yMQJyp19TMEU9ElMJhsK9bloOVfn3bBQAGZL83iPva8h6hDhn6wAT+gxItFtGf+jVvo1/4 Y2GJR50rHTbk8OClYY8ATCPvCV2G+zqIPYA6UwU6qRS8fSpaCxAfnBkc8jWTiQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 032D010E13; Thu, 2 Jun 2022 07:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2527p5CQ050896; Thu, 2 Jun 2022 07:51:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2527p5QC050895; Thu, 2 Jun 2022 07:51:05 GMT (envelope-from git) Date: Thu, 2 Jun 2022 07:51:05 GMT Message-Id: <202206020751.2527p5QC050895@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: a0ad22995ee8 - main - misc/swissfileknife (new port): command-line multi-function tool List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0ad22995ee8ca719a58f5275070e90712c341a5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654156266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h7svdC5GZhxP6hGKqPaBqCIiwy4sBVH1ugq4s6yhAI8=; b=nzm0YKi7WDlC18kmLh/275r7xYiv27Ca81FZQVEyM+pCVAJaVQzd7UDHvUperdUwUteV+4 RxDi3rzS1t4f8Ekdg6Xu66dKTONzw7cjwcn4PpXX4gRH+bNTC54waOejc4seQeGvH97xCj putQTBvPEGrELc/lthA/ZT8H+nDZwZ+XFE5K+uY80EnhrvOX2Z+UIHU/e7ZlPITkDdGyT0 v6myPFpxt0f+BN/NVHHANCv5dz+QkGyJyiLJxuc+boj1u60XrRJpbLdSFDkQj4SNLgRj8Q k1WZpGnHw7FvohlzKXGn0Lypj2nNTbzI9kw5pMPrOn4WKno2fjIW7cZrpPTbZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654156266; a=rsa-sha256; cv=none; b=IWEiTa3wpc85210V88R4F78sKRNSXz4F0E3RKJeU4qtxR6E8qFU7EaP30G89PGn26/OQCV JCdNwO/IYzbZmMlzNZYoTKCrnEnUY1DEGuWsvtd0ihvn5gSHVf27HZYLDl2IT4XScBxFWv aAyssgCLbMzFCu++4IGGIGw1Sk1KFnoavAkjqfPP4W9hPkvmsMivl/Ffw3+Edl2AlC+rdJ sFamekviZxiuK9yCrUdoNZAdBw3S4bkfndBAOKK9N+5PzbzNCFJyAd3p+aYJLq1R+QgI9O B7ezKBEVkyh/4K20kLHNNsZpZVUbZlffA/j5+jiFDrkQ8J3JR6xWZ1PJrNh4Dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0ad22995ee8ca719a58f5275070e90712c341a5 commit a0ad22995ee8ca719a58f5275070e90712c341a5 Author: Alexey Dokuchaev AuthorDate: 2022-06-02 07:44:36 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-06-02 07:44:36 +0000 misc/swissfileknife (new port): command-line multi-function tool SFK was made to make things easy. File exchange between machines, find duplicates, find and replace text, list directory tree sizes, and tons of other functions for daily tasks -- it's all contained within a single, truly portable executable. WWW: http://stahlworks.com/dev/swiss-file-knife.html --- misc/Makefile | 1 + misc/swissfileknife/Makefile | 35 +++++++++++++++++++++++++++++++++++ misc/swissfileknife/distinfo | 3 +++ misc/swissfileknife/pkg-descr | 14 ++++++++++++++ 4 files changed, 53 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index f4cda4785aa5..32b9793490cf 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -482,6 +482,7 @@ SUBDIR += susv2 SUBDIR += susv3 SUBDIR += susv4 + SUBDIR += swissfileknife SUBDIR += sword SUBDIR += table.el SUBDIR += talkfilters diff --git a/misc/swissfileknife/Makefile b/misc/swissfileknife/Makefile new file mode 100644 index 000000000000..41383be3d175 --- /dev/null +++ b/misc/swissfileknife/Makefile @@ -0,0 +1,35 @@ +# Created by: Alexey Dokuchaev + +PORTNAME= swissfileknife +PORTVERSION= 1.9.8 +CATEGORIES= misc +MASTER_SITES= SF/${PORTNAME}/1-${PORTNAME}/${PORTVERSION}.0 +DISTNAME= sfk-${PORTVERSION} + +MAINTAINER= danfe@FreeBSD.org +COMMENT= One hundred command-line tools in one binary + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +GNU_CONFIGURE= yes +CPPFLAGS+= -DVER_STR_OS=\\\"${OPSYS:tl}-${ARCH}\\\" + +PLIST_FILES= bin/sfk +PORTDOCS= ChangeLog README + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's,ifndef MAC_OS_X,ifdef __linux__, ;\ + s,ifdef MAC_OS_X,ifdef __FreeBSD__,' ${WRKSRC}/sfkbase.hpp + @${REINPLACE_CMD} -e 's,defined(MAC_OS_X) || defined(SOLARIS),&\ + || defined(__FreeBSD__),' \ + ${WRKSRC}/sfk.cpp ${WRKSRC}/sfkext.cpp + @${REINPLACE_CMD} -e '/_STDINT_H/,+6d' ${WRKSRC}/sfkmatch.hpp + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/misc/swissfileknife/distinfo b/misc/swissfileknife/distinfo new file mode 100644 index 000000000000..46615767a52c --- /dev/null +++ b/misc/swissfileknife/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618257363 +SHA256 (sfk-1.9.8.tar.gz) = 837c7a3fabd1549c0ea5748d05ece5f259d906358226ce04799c4c13e59f1968 +SIZE (sfk-1.9.8.tar.gz) = 1227217 diff --git a/misc/swissfileknife/pkg-descr b/misc/swissfileknife/pkg-descr new file mode 100644 index 000000000000..3c1feaa2997a --- /dev/null +++ b/misc/swissfileknife/pkg-descr @@ -0,0 +1,14 @@ +This is the Swiss File Knife (SFK), a command-line multi-function tool +created by StahlWorks Technologies. + +SFK was made to make things easy. File exchange between machines, find +duplicates, find and replace text, list directory tree sizes, and tons +of other functions for daily tasks -- all contained within a single, +truly portable executable. + +Forget about installing dozens of tools on every new machine, battling +with missing or wrong versioned DLL's, missing admin rights, missing +package dependencies, user account configurations, spammed registries +and endless time wasting in general. + +WWW: http://stahlworks.com/dev/swiss-file-knife.html