diff --git a/archivers/zopfli/Makefile b/archivers/zopfli/Makefile index cd9dddb9c6c1..6acb699842ad 100644 --- a/archivers/zopfli/Makefile +++ b/archivers/zopfli/Makefile @@ -3,7 +3,7 @@ PORTNAME= zopfli DISTVERSIONPREFIX= ${PORTNAME}- -DISTVERSION= 1.0.2 +DISTVERSION= 1.0.3 CATEGORIES= archivers MAINTAINER= ports@FreeBSD.org @@ -12,11 +12,11 @@ COMMENT= Zopfli Compression Algorithm LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING +USES= gmake + USE_GITHUB= yes GH_ACCOUNT= google -USES= gmake - ALL_TARGET= ${PORTNAME} ${PORTNAME}png \ lib${PORTNAME} lib${PORTNAME}png MAKE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${LDFLAGS}" \ @@ -27,11 +27,13 @@ USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes +PLIST_SUB= VERSION=${DISTVERSION} + do-install: .for f in ${PORTNAME} ${PORTNAME}png ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor -.for f in lib${PORTNAME}.so.1.0.2 lib${PORTNAME}png.so.1.0.2 +.for f in lib${PORTNAME}.so.${DISTVERSION} lib${PORTNAME}png.so.${DISTVERSION} ${INSTALL_LIB} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/lib ${LN} -fs ${f} ${STAGEDIR}${PREFIX}/lib/${f:R:R} ${LN} -fs ${f:R:R} ${STAGEDIR}${PREFIX}/lib/${f:R:R:R} diff --git a/archivers/zopfli/distinfo b/archivers/zopfli/distinfo index 85a711a682cd..b0187f07b196 100644 --- a/archivers/zopfli/distinfo +++ b/archivers/zopfli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1526822287 -SHA256 (google-zopfli-zopfli-1.0.2_GH0.tar.gz) = 4a570307c37172d894ec4ef93b6e8e3aacc401e78cbcc51cf85b212dbc379a55 -SIZE (google-zopfli-zopfli-1.0.2_GH0.tar.gz) = 136035 +TIMESTAMP = 1574967486 +SHA256 (google-zopfli-zopfli-1.0.3_GH0.tar.gz) = e955a7739f71af37ef3349c4fa141c648e8775bceb2195be07e86f8e638814bd +SIZE (google-zopfli-zopfli-1.0.3_GH0.tar.gz) = 195227 diff --git a/archivers/zopfli/pkg-plist b/archivers/zopfli/pkg-plist index f5e5a5109e45..374b35213694 100644 --- a/archivers/zopfli/pkg-plist +++ b/archivers/zopfli/pkg-plist @@ -18,7 +18,7 @@ include/zopflipng/lodepng/lodepng_util.h include/zopflipng/zopflipng_lib.h lib/libzopfli.so lib/libzopfli.so.1 -lib/libzopfli.so.1.0.2 +lib/libzopfli.so.%%VERSION%% lib/libzopflipng.so lib/libzopflipng.so.1 -lib/libzopflipng.so.1.0.2 +lib/libzopflipng.so.%%VERSION%%