1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

archivers/zopfli: update to 1.0.0.31 (snapshot)

Changes:	https://github.com/google/zopfli/compare/zopfli-1.0.0...6ff3ba2
PR:		201894
Approved by:	maintainer timeout (2 weeks)
This commit is contained in:
Jan Beich 2015-08-16 02:52:45 +00:00
parent 4ee7090fe8
commit 0c2a69f5c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394383
3 changed files with 49 additions and 11 deletions

View File

@ -2,24 +2,39 @@
# $FreeBSD$
PORTNAME= zopfli
PORTVERSION= 1.0.0
DISTVERSION= 1.0.0-31
DISTVERSIONSUFFIX= -g6ff3ba2
CATEGORIES= archivers
MASTER_SITES= GOOGLE_CODE
MAINTAINER= freebsd@nagilum.org
COMMENT= Zopfli Compression Algorithm
LICENSE= APACHE20
USES= zip
PLIST_FILES= bin/zopfli
USE_GITHUB= yes
GH_ACCOUNT= google
do-build:
${CC} -O2 -W -Wall -Wextra -ansi -pedantic -lm \
${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/src/${PORTNAME}/*.c
USES= gmake
ALL_TARGET= ${PORTNAME} ${PORTNAME}png \
lib${PORTNAME} lib${PORTNAME}png
MAKE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${LDFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
CFLAGS+= -fPIC # XXX Convert into an implicit rule
LDFLAGS+= -lm
USE_LDCONFIG= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.for f in ${PORTNAME} ${PORTNAME}png
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.for f in lib${PORTNAME}.so.1.0.1 lib${PORTNAME}png.so.1.0.0
${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}
.endfor
(cd ${WRKSRC}/src && ${COPYTREE_SHARE} \
"zopfli zopflipng" ${STAGEDIR}${PREFIX}/include \
"-name *.h")
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (zopfli-1.0.0.zip) = e20d73b56620285e6cce5b510d8e5da6835a81940e48cdf35a69090e666f3adb
SIZE (zopfli-1.0.0.zip) = 57873
SHA256 (google-zopfli-1.0.0-31-g6ff3ba2_GH0.tar.gz) = bafc6d90a4ce57c768fe2810d83d8f72292fed8ec3a9c605e4f90077f4dab95b
SIZE (google-zopfli-1.0.0-31-g6ff3ba2_GH0.tar.gz) = 127974

View File

@ -0,0 +1,23 @@
bin/zopfli
bin/zopflipng
include/zopfli/blocksplitter.h
include/zopfli/cache.h
include/zopfli/deflate.h
include/zopfli/gzip_container.h
include/zopfli/hash.h
include/zopfli/katajainen.h
include/zopfli/lz77.h
include/zopfli/squeeze.h
include/zopfli/tree.h
include/zopfli/util.h
include/zopfli/zlib_container.h
include/zopfli/zopfli.h
include/zopflipng/lodepng/lodepng.h
include/zopflipng/lodepng/lodepng_util.h
include/zopflipng/zopflipng_lib.h
lib/libzopfli.so
lib/libzopfli.so.1
lib/libzopfli.so.1.0.1
lib/libzopflipng.so
lib/libzopflipng.so.1
lib/libzopflipng.so.1.0.0