adb7722806
Zopfli is a new zlib (gzip, deflate) compatible compressor. This compressor takes more time (~100x slower), but compresses around 5% better than zlib and better than any other zlib-compatible compressor we have found. PR: ports/185680 Submitted by: Alexander Kuehn <freebsd@nagilum.org>
26 lines
547 B
Makefile
26 lines
547 B
Makefile
# Created by: Alexander Kuehn <freebsd@nagilum.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zopfli
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= freebsd@nagilum.org
|
|
COMMENT= Zopfli Compression Algorithm
|
|
|
|
LICENSE= APACHE20
|
|
|
|
PLIST_FILES= bin/zopfli
|
|
|
|
USE_ZIP= yes
|
|
|
|
do-build:
|
|
${CC} -O2 -W -Wall -Wextra -ansi -pedantic -lm \
|
|
${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \
|
|
${WRKSRC}/src/${PORTNAME}/*.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|