From 26e89a1c90c7d85a6cc0cc9255e13e587ac251d9 Mon Sep 17 00:00:00 2001 From: Andrew Pantyukhin Date: Fri, 2 Feb 2007 14:53:47 +0000 Subject: Add port archivers/grzip: grzip is a high-performance file compressor based on Burrows-Wheeler Transform, Schindler Transform, Move-To-Front, and Weighted Frequency Counting. It uses the Block-Sorting Lossless Data Compression Algorithm, which has received considerable attention in recent years for both its simplicity and effectiveness. This implementation has a compression rate of 2.234 bps on the Calgary Corpus (14 files) without preprocessing filters. WWW: http://magicssoft.ru/?folder=projects&page=GRZipII Author: Ilya Grebnov --- archivers/Makefile | 1 + archivers/grzip/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ archivers/grzip/distinfo | 3 +++ archivers/grzip/pkg-descr | 10 ++++++++++ 4 files changed, 56 insertions(+) create mode 100644 archivers/grzip/Makefile create mode 100644 archivers/grzip/distinfo create mode 100644 archivers/grzip/pkg-descr (limited to 'archivers') diff --git a/archivers/Makefile b/archivers/Makefile index bfb76285241d..483a30982fd5 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -27,6 +27,7 @@ SUBDIR += fpc-unzip SUBDIR += freetar SUBDIR += freeze + SUBDIR += grzip SUBDIR += gtar SUBDIR += gzip SUBDIR += gzrecover diff --git a/archivers/grzip/Makefile b/archivers/grzip/Makefile new file mode 100644 index 000000000000..ba1713af30e8 --- /dev/null +++ b/archivers/grzip/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: grzip +# Date created: 02 February 2007 +# Whom: Andrew Pantyukhin +# +# $FreeBSD$ +# + +PORTNAME= grzip +PORTVERSION= 0.3.0 +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/compression/ CSME + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Efficient file compressor + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_LDCONFIG= yes +CFLAGS+= -I${LOCALBASE}/include -fPIC +LDFLAGS+= -L${LOCALBASE}/lib -lintl +MAKE_ENV+= LDFLAGS="${LDFLAGS}" +ALL_TARGET= ${PORTNAME} +WRAPPERS= grztar grzdiff grzgrep grzmore +PLIST_FILES= bin/${PORTNAME} bin/grunzip bin/grzcat ${WRAPPERS:S|^|bin/|} \ + lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 include/${PORTNAME}.h \ + share/locale/fr/LC_MESSAGES/${PORTNAME}.mo + +post-patch: + @${REINPLACE_CMD} -e 's|DESTDIR|PREFIX|g;/^CC.*=/d;/^OPTFLAGS/s|-O2||;/^CFLAGS/s|=|+=|'\ + -e '/^PREFIX=/d;/^LDFLAGS/s|=|+=|' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + @${LN} -sf ${PORTNAME} ${PREFIX}/bin/grunzip + @${LN} -sf ${PORTNAME} ${PREFIX}/bin/grzcat + @${INSTALL_SCRIPT} ${WRAPPERS:S|^|${WRKSRC}/scripts/|} ${PREFIX}/bin/ + @${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${PREFIX}/lib/ + @${LN} -sf lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.0 + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${PREFIX}/include/ + @cd ${WRKSRC}/po; ${SETENV} ${MAKE_ENV} ${MAKE} install + +.include diff --git a/archivers/grzip/distinfo b/archivers/grzip/distinfo new file mode 100644 index 000000000000..5a87d04f1838 --- /dev/null +++ b/archivers/grzip/distinfo @@ -0,0 +1,3 @@ +MD5 (grzip-0.3.0.tar.bz2) = 48079fcf34a8610c3d3886314428902f +SHA256 (grzip-0.3.0.tar.bz2) = c88cefe6592cce6156d8bd2666c1e2f37aedc93e6a4f1d75e878c4465005decb +SIZE (grzip-0.3.0.tar.bz2) = 44972 diff --git a/archivers/grzip/pkg-descr b/archivers/grzip/pkg-descr new file mode 100644 index 000000000000..d374303d87ab --- /dev/null +++ b/archivers/grzip/pkg-descr @@ -0,0 +1,10 @@ +grzip is a high-performance file compressor based on Burrows-Wheeler +Transform, Schindler Transform, Move-To-Front, and Weighted Frequency +Counting. It uses the Block-Sorting Lossless Data Compression Algorithm, +which has received considerable attention in recent years for both its +simplicity and effectiveness. This implementation has a compression rate +of 2.234 bps on the Calgary Corpus (14 files) without preprocessing +filters. + +WWW: http://magicssoft.ru/?folder=projects&page=GRZipII +Author: Ilya Grebnov -- cgit v1.2.3