aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-02-02 22:53:47 +0800
committersat <sat@FreeBSD.org>2007-02-02 22:53:47 +0800
commit9d7b3ab642f356b8f2079e1580865f2d74c9dca2 (patch)
tree43c57908256f2f633037e7d40b88fb73decae410 /archivers
parent4a30abc5c16a3d1918e0a7a26389ac53a0734f38 (diff)
downloadfreebsd-ports-gnome-9d7b3ab642f356b8f2079e1580865f2d74c9dca2.tar.gz
freebsd-ports-gnome-9d7b3ab642f356b8f2079e1580865f2d74c9dca2.tar.zst
freebsd-ports-gnome-9d7b3ab642f356b8f2079e1580865f2d74c9dca2.zip
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
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/grzip/Makefile42
-rw-r--r--archivers/grzip/distinfo3
-rw-r--r--archivers/grzip/pkg-descr10
4 files changed, 56 insertions, 0 deletions
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 <infofarmer@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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