diff --git a/archivers/minizip/Makefile b/archivers/minizip/Makefile index 82d73803f9ed..054609469fbb 100644 --- a/archivers/minizip/Makefile +++ b/archivers/minizip/Makefile @@ -1,38 +1,40 @@ PORTNAME= minizip PORTVERSION= 1.2.11 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= SF/libpng/zlib/${PORTVERSION} DISTNAME= zlib-${PORTVERSION} MAINTAINER= lbartoletti@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 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}/man/man1 + ${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/minizip/pkg-plist b/archivers/minizip/pkg-plist index 113498e7684f..2bf453b15b02 100644 --- a/archivers/minizip/pkg-plist +++ b/archivers/minizip/pkg-plist @@ -1,14 +1,14 @@ bin/miniunzip bin/minizip include/minizip/crypt.h include/minizip/ioapi.h include/minizip/mztools.h include/minizip/unzip.h include/minizip/zip.h lib/libminizip.a lib/libminizip.so lib/libminizip.so.1 lib/libminizip.so.1.0.0 libdata/pkgconfig/minizip.pc -man/man1/miniunzip.1.gz -man/man1/minizip.1.gz +share/man/man1/miniunzip.1.gz +share/man/man1/minizip.1.gz