diff --git a/misc/swissfileknife/Makefile b/misc/swissfileknife/Makefile index 0530926e9d60..12369d581523 100644 --- a/misc/swissfileknife/Makefile +++ b/misc/swissfileknife/Makefile @@ -1,39 +1,41 @@ PORTNAME= swissfileknife -PORTVERSION= 2.0.0.2 +PORTVERSION= 2.0.0.3 CATEGORIES= misc MASTER_SITES= SF/${PORTNAME}/1-${PORTNAME}/${PORTVERSION} DISTNAME= sfk-${PORTVERSION:R} MAINTAINER= danfe@FreeBSD.org COMMENT= One hundred command-line tools in one binary WWW= http://stahlworks.com/dev/swiss-file-knife.html LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes CPPFLAGS+= -DVER_STR_OS=\\\"${OPSYS:tl}-${ARCH}\\\" PLIST_FILES= bin/sfk ${DATADIR_REL}/mtk.tar.gz -PORTDOCS= changes.txt README +PORTDOCS= AUTHORS 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 @${REINPLACE_CMD} -e 's,^ *register, ,' ${WRKSRC}/sfkpack.cpp post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${TAR} czvf ${STAGEDIR}${DATADIR}/mtk.tar.gz -C ${WRKSRC} mtk post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${TR} -d \\r < ${WRKSRC}/${f} > ${STAGEDIR}${DOCSDIR}/${f} +.endfor .include diff --git a/misc/swissfileknife/distinfo b/misc/swissfileknife/distinfo index 8e74b46dc846..2573f8abe9bd 100644 --- a/misc/swissfileknife/distinfo +++ b/misc/swissfileknife/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1729921789 -SHA256 (sfk-2.0.0.tar.gz) = 2927eb23a8eb190a070c871141d3b2de491b174031dc88af3eec1877506afb3e -SIZE (sfk-2.0.0.tar.gz) = 1920239 +TIMESTAMP = 1744438144 +SHA256 (sfk-2.0.0.tar.gz) = b7e2e3848e3126dcee916056bff5f8340acae9158f3610049de2cde999ccca63 +SIZE (sfk-2.0.0.tar.gz) = 1926114 diff --git a/misc/swissfileknife/pkg-descr b/misc/swissfileknife/pkg-descr index a4e29cf46511..2dd4c82eda19 100644 --- a/misc/swissfileknife/pkg-descr +++ b/misc/swissfileknife/pkg-descr @@ -1,12 +1,12 @@ 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 +package dependencies, user account configurations, spammed registries, and endless time wasting in general.