git: 06ff862b4cb8 - main - sysutils/initool: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 21:23:47 UTC
The branch main has been updated by lme: URL: https://cgit.FreeBSD.org/ports/commit/?id=06ff862b4cb875c0ccb4ed4bff2c53810166b30b commit 06ff862b4cb875c0ccb4ed4bff2c53810166b30b Author: Lars Engels <lme@FreeBSD.org> AuthorDate: 2023-07-23 21:16:31 +0000 Commit: Lars Engels <lme@FreeBSD.org> CommitDate: 2023-07-23 21:16:31 +0000 sysutils/initool: add new port Initool lets you manipulate the contents of INI files from the command line. It is a rewrite of an earlier program by the same developer called "iniparse". Rather than modify INI files in place like iniparse, however, it prints the modified contents to standard output. PR: 272351 Submitted by: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> --- sysutils/Makefile | 1 + sysutils/initool/Makefile | 34 ++++++++++++++++++++++++++++++++++ sysutils/initool/distinfo | 3 +++ sysutils/initool/pkg-descr | 5 +++++ 4 files changed, 43 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index af023d300ae7..bf089415afaf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -567,6 +567,7 @@ SUBDIR += imgurbash2 SUBDIR += immortal SUBDIR += incron + SUBDIR += initool SUBDIR += inotify-tools SUBDIR += installwatch SUBDIR += intel-epct diff --git a/sysutils/initool/Makefile b/sysutils/initool/Makefile new file mode 100644 index 000000000000..590c82a93015 --- /dev/null +++ b/sysutils/initool/Makefile @@ -0,0 +1,34 @@ +PORTNAME= initool +DISTVERSIONPREFIX= v +DISTVERSION= 0.10.0 +CATEGORIES= sysutils + +MAINTAINER= DtxdF@disroot.org +COMMENT= Manipulate INI files from the command line +WWW= https://github.com/dbohdan/initool + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= mlton>0:lang/mlton +LIB_DEPENDS= libgmp.so:math/gmp + +USE_GITHUB= yes +GH_ACCOUNT= dbohdan + +ALL_TARGET= initool + +PLIST_FILES= bin/initool + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/initool ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/sysutils/initool/distinfo b/sysutils/initool/distinfo new file mode 100644 index 000000000000..878a2a567a84 --- /dev/null +++ b/sysutils/initool/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688337742 +SHA256 (dbohdan-initool-v0.10.0_GH0.tar.gz) = 72afa26923976083891282c26599cf2ef41d2bc4765b40c8e488fb32ca6111fc +SIZE (dbohdan-initool-v0.10.0_GH0.tar.gz) = 10846 diff --git a/sysutils/initool/pkg-descr b/sysutils/initool/pkg-descr new file mode 100644 index 000000000000..97dc8f5fc569 --- /dev/null +++ b/sysutils/initool/pkg-descr @@ -0,0 +1,5 @@ +Initool lets you manipulate the contents of INI files from the +command line. It is a rewrite of an earlier program by the same +developer called "iniparse". Rather than modify INI files in place +like iniparse, however, it prints the modified contents to standard +output.