diff --git a/archivers/minizip-ng/Makefile b/archivers/minizip-ng/Makefile index 7175eda8f354..16451f89f08e 100644 --- a/archivers/minizip-ng/Makefile +++ b/archivers/minizip-ng/Makefile @@ -1,25 +1,25 @@ PORTNAME= minizip-ng DISTVERSION= 4.0.6 CATEGORIES= archivers -MAINTAINER= lbartoletti@FreeBSD.org +MAINTAINER= vvd@FreeBSD.org COMMENT= Fork of the popular minizip found in the zlib distribution WWW= https://github.com/zlib-ng/minizip-ng LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libz-ng.so:archivers/zlib-ng \ libzstd.so:archivers/zstd USES= cmake:testing iconv pathfix pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= zlib-ng USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_INSTALL_INCLUDEDIR=${LOCALBASE}/include/ \ -DMZ_LIB_SUFFIX=-ng CMAKE_ON= BUILD_SHARED_LIBS CMAKE_DISABLE_FIND_PACKAGE_ZLIB CMAKE_TESTING_ON= MZ_BUILD_TEST MZ_BUILD_UNIT_TEST .include diff --git a/archivers/minizip/Makefile b/archivers/minizip/Makefile index 054609469fbb..0ccdffc457cb 100644 --- a/archivers/minizip/Makefile +++ b/archivers/minizip/Makefile @@ -1,40 +1,39 @@ PORTNAME= minizip PORTVERSION= 1.2.11 PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= SF/libpng/zlib/${PORTVERSION} DISTNAME= zlib-${PORTVERSION} -MAINTAINER= lbartoletti@FreeBSD.org +MAINTAINER= vvd@FreeBSD.org COMMENT= Zip library and programs from Zlib distribution WWW= https://www.winimage.com/zLibDll/minizip.html LICENSE= ZLIB USES= autoreconf cpe libtool pathfix tar:xz +CPE_VENDOR= minizip_project USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-demos INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/zlib-${PORTVERSION}/contrib/minizip -CPE_VENDOR= minizip_project post-patch: @${REINPLACE_CMD} 's/#ifdef unix || __APPLE__/#ifdef unix/' ${WRKSRC}/mini???.c post-install: ${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-test: ${RM} -r ${WRKDIR}/regression-test1 ${MKDIR} ${WRKDIR}/regression-test1 ${MV} ${WRKSRC}/*.[cho] ${WRKDIR}/regression-test1 ${RM} ${WRKDIR}/test.zip (cd ${WRKDIR}/regression-test1 && ${WRKSRC}/minizip ${WRKDIR}/test.zip *) ${RM} -r ${WRKDIR}/regression-test2 ${MKDIR} ${WRKDIR}/regression-test2 ${WRKSRC}/miniunzip ${WRKDIR}/test.zip -d ${WRKDIR}/regression-test2 ${DIFF} -ur ${WRKDIR}/regression-test1 ${WRKDIR}/regression-test2 > /dev/null .include diff --git a/archivers/zlib-ng/Makefile b/archivers/zlib-ng/Makefile index d10a587b2a85..ec34a178b991 100644 --- a/archivers/zlib-ng/Makefile +++ b/archivers/zlib-ng/Makefile @@ -1,26 +1,26 @@ PORTNAME= zlib-ng DISTVERSION= 2.1.6 CATEGORIES= archivers -MAINTAINER= lbartoletti@FreeBSD.org +MAINTAINER= vvd@FreeBSD.org COMMENT= Fork of the zlib data compression library WWW= https://github.com/zlib-ng/zlib-ng LICENSE= ZLIB USES= cmake:${TESTING} compiler:c11 -USE_LDCONFIG= yes USE_GITHUB= yes +USE_LDCONFIG= yes + +PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= SIMD TEST SIMD_CMAKE_BOOL= WITH_OPTIM TEST_BUILD_DEPENDS= googletest>=0:devel/googletest -TEST_VARS= TESTING=testing TEST_CMAKE_BOOL= ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS # error: use of undeclared identifier 'isascii' TEST_CFLAGS= -D__XSI_VISIBLE - -PLIST_SUB= SHLIB_VER=${DISTVERSION} +TEST_VARS= TESTING=testing .include