aboutsummaryrefslogtreecommitdiff
path: root/archivers/grzip
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-02-02 14:53:47 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-02-02 14:53:47 +0000
commit26e89a1c90c7d85a6cc0cc9255e13e587ac251d9 (patch)
tree666772f837d3c01cd2aab7230924d442f241a427 /archivers/grzip
parent3d78f0eb91f9c577f95446c9242e196e3f805e27 (diff)
downloadports-26e89a1c90c7d85a6cc0cc9255e13e587ac251d9.tar.gz
ports-26e89a1c90c7d85a6cc0cc9255e13e587ac251d9.zip
Notes
Diffstat (limited to 'archivers/grzip')
-rw-r--r--archivers/grzip/Makefile42
-rw-r--r--archivers/grzip/distinfo3
-rw-r--r--archivers/grzip/pkg-descr10
3 files changed, 55 insertions, 0 deletions
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