From 9d96527a928006f4b8f76ffa3d65c695168d9905 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Sun, 16 Jun 2024 18:32:25 +0200 Subject: [PATCH] devel/iniparser: Update to 4.2.4 * Switch to CMake which cleans up Makefile and makes port more easily available for consumers * Drop "make test" due to new and unported dependencies Changelog: https://github.com/ndevilla/iniparser/releases/tag/v4.2.4 PR: 279782 Reviewed by: eduardo (maintainer) --- devel/iniparser/Makefile | 23 +++++++---------------- devel/iniparser/distinfo | 6 +++--- devel/iniparser/pkg-plist | 13 +++++++++++++ 3 files changed, 23 insertions(+), 19 deletions(-) create mode 100644 devel/iniparser/pkg-plist diff --git a/devel/iniparser/Makefile b/devel/iniparser/Makefile index eab8f8f5b951..917cd3fd710f 100644 --- a/devel/iniparser/Makefile +++ b/devel/iniparser/Makefile @@ -1,6 +1,6 @@ PORTNAME= iniparser DISTVERSIONPREFIX= v -DISTVERSION= 4.2.1 +DISTVERSION= 4.2.4 CATEGORIES= devel MAINTAINER= eduardo@FreeBSD.org @@ -10,26 +10,17 @@ WWW= https://github.com/ndevilla/iniparser LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= bash>0:shells/bash +USES= cmake pathfix +USE_LDCONFIG= yes -USES= gmake USE_GITHUB= yes GH_ACCOUNT= ndevilla -ALL_TARGET= default -TEST_TARGET= check +PORTDOCS= * -PLIST_FILES= include/dictionary.h \ - include/iniparser.h \ - lib/libiniparser.a \ - lib/libiniparser.so \ - lib/libiniparser.so.1 +OPTIONS_DEFINE= DOCS -do-install: - ${INSTALL_DATA} ${WRKSRC}/src/dictionary.h ${STAGEDIR}${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/src/iniparser.h ${STAGEDIR}${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/libiniparser.a ${STAGEDIR}${PREFIX}/lib - ${INSTALL_LIB} ${WRKSRC}/libiniparser.so.1 ${STAGEDIR}${PREFIX}/lib - @${LN} -sf libiniparser.so.1 ${STAGEDIR}${PREFIX}/lib/libiniparser.so +DOCS_BUILD_DEPENDS= doxygen:devel/doxygen +DOCS_CMAKE_BOOL= BUILD_DOCS .include diff --git a/devel/iniparser/distinfo b/devel/iniparser/distinfo index 226dcc5ce3b5..5db31b74da48 100644 --- a/devel/iniparser/distinfo +++ b/devel/iniparser/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1715847729 -SHA256 (ndevilla-iniparser-v4.2.1_GH0.tar.gz) = 9120fd13260be1dbec74b8aaf47777c434976626f3b3288c0d17b70e21cce2d2 -SIZE (ndevilla-iniparser-v4.2.1_GH0.tar.gz) = 66524 +TIMESTAMP = 1718526163 +SHA256 (ndevilla-iniparser-v4.2.4_GH0.tar.gz) = c05bb41df87f31a029516943ebb7f38ca1f0e38ff36f3836f1163a9a529857df +SIZE (ndevilla-iniparser-v4.2.4_GH0.tar.gz) = 37993 diff --git a/devel/iniparser/pkg-plist b/devel/iniparser/pkg-plist new file mode 100644 index 000000000000..5bf7452bd301 --- /dev/null +++ b/devel/iniparser/pkg-plist @@ -0,0 +1,13 @@ +include/iniparser/dictionary.h +include/iniparser/iniparser.h +lib/cmake/iniparser/iniparser-config-version.cmake +lib/cmake/iniparser/iniparser-config.cmake +lib/cmake/iniparser/iniparser-sharedTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/iniparser/iniparser-sharedTargets.cmake +lib/cmake/iniparser/iniparser-staticTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/iniparser/iniparser-staticTargets.cmake +lib/libiniparser.a +lib/libiniparser.so +lib/libiniparser.so.4 +lib/libiniparser.so.4.2.4 +libdata/pkgconfig/iniparser.pc