Files
ports/sysutils/initool/Makefile
T
Jesús Daniel Colmenares Oviedo 32d95fb1b8 sysutils/initool: Update to 0.17.0
ChangeLog: https://github.com/dbohdan/initool/releases/tag/v0.17.0

 * Fixed byte-order mark detection. It was broken for files with more than one
   line.
 * Added an alternative wildcard character, _ (underscore). The * wildcard never
   worked on Windows because binaries compiled with MoSML, the compiler we use,
   expand * to a list of files.
 * Wildcards can be escaped using \: \*, \_. A leading slash is now removed from
   the section-name argument and the key argument.
 * The test suite has been ported to Windows. Windows builds are now tested just
   like Linux and Mac builds. This will help prevent Windows-only bugs in the
   future.

Making _ a wildcard and the introduction of escaping with a leading slash break
compatibility with previous versions (in a relatively minor way).

PR:		279514
Reported by:	DtxdF@disroot.org (maintainer)
2024-06-07 19:55:13 +02:00

35 lines
657 B
Makefile

PORTNAME= initool
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.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>