1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

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)
This commit is contained in:
Daniel Engberg 2024-06-16 18:32:25 +02:00
parent e1a4636af2
commit 9d96527a92
3 changed files with 23 additions and 19 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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

13
devel/iniparser/pkg-plist Normal file
View File

@ -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