diff --git a/misc/Makefile b/misc/Makefile --- a/misc/Makefile +++ b/misc/Makefile @@ -90,6 +90,7 @@ SUBDIR += darknet SUBDIR += dartsim SUBDIR += ddate + SUBDIR += deark SUBDIR += deco SUBDIR += dejagnu SUBDIR += delay diff --git a/misc/deark/Makefile b/misc/deark/Makefile new file mode 100644 --- /dev/null +++ b/misc/deark/Makefile @@ -0,0 +1,31 @@ +PORTNAME= deark +DISTVERSIONPREFIX= v +DISTVERSION= 1.7.2 +CATEGORIES= misc + +MAINTAINER= alven@FreeBSD.org +COMMENT= Utility for data extraction, decompression, and image format decoding +WWW= https://entropymine.com/deark/ \ + https://github.com/jsummers/deark/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= help2man:misc/help2man + +USES= cpe gmake +CPE_VENDOR= entropymine +USE_GITHUB= yes +GH_ACCOUNT= jsummers + +PLIST_FILES= bin/deark \ + share/man/man1/deark.1.gz + +post-build: + cd ${WRKSRC} && ${MAKE_CMD} man + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/deark ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/deark.1 ${STAGEDIR}${PREFIX}/share/man/man1 + +.include diff --git a/misc/deark/distinfo b/misc/deark/distinfo new file mode 100644 --- /dev/null +++ b/misc/deark/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1768340614 +SHA256 (jsummers-deark-v1.7.2_GH0.tar.gz) = 0947c3586c510b00f9ddc30ef39c2022046ed23c2c1950c93588d82ba1268254 +SIZE (jsummers-deark-v1.7.2_GH0.tar.gz) = 1310760 diff --git a/misc/deark/pkg-descr b/misc/deark/pkg-descr new file mode 100644 --- /dev/null +++ b/misc/deark/pkg-descr @@ -0,0 +1,10 @@ +Deark is a portable command-line utility that can decode certain types of files, +and either convert them to a more-modern or more-readable format, or extract +embedded files from them. It also has an option (-d) to display detailed +information about a file’s contents and metadata. It’s Free Software. + +The files it writes are usually named "output.*". + +When processing "archive" formats that contain other files, it's usually best to +use Deark only to convert to ZIP format, so that the filenames and paths can be +retained. Suggest options "-zip -ka".