summaryrefslogtreecommitdiff
path: root/archivers/hffzip
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-11 10:57:35 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-11 10:57:35 +0000
commitaa9107df8db2fbe631d7b8ae838daec7540c4324 (patch)
tree2a748a6b2aa984b9db2c837c65fc1cd6e5011995 /archivers/hffzip
parent- fix pkg-plist (diff)
New port hffzip: small file compressor based on Huffman coding
Submitted by: Kirill Ponomarew <ponomarew@oberon.net> PR: 53188 Approved by: fjoe (implicit)
Notes
Notes: svn path=/head/; revision=82779
Diffstat (limited to 'archivers/hffzip')
-rw-r--r--archivers/hffzip/Makefile23
-rw-r--r--archivers/hffzip/distinfo1
-rw-r--r--archivers/hffzip/files/patch-Makefile27
-rw-r--r--archivers/hffzip/pkg-descr5
-rw-r--r--archivers/hffzip/pkg-plist1
5 files changed, 57 insertions, 0 deletions
diff --git a/archivers/hffzip/Makefile b/archivers/hffzip/Makefile
new file mode 100644
index 000000000000..022a769cf650
--- /dev/null
+++ b/archivers/hffzip/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: hffzip
+# Date created: 10 Jun 2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hffzip
+PORTVERSION= 1.01
+CATEGORIES= archivers
+MASTER_SITES= http://utenti.quipo.it/claudioscordino/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= File compressor based on Huffman coding
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+ ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/hffzip/distinfo b/archivers/hffzip/distinfo
new file mode 100644
index 000000000000..82d12b89d498
--- /dev/null
+++ b/archivers/hffzip/distinfo
@@ -0,0 +1 @@
+MD5 (hffzip1.01.tar.gz) = d81cdfb92e03cfdb109c2728f8ba8594
diff --git a/archivers/hffzip/files/patch-Makefile b/archivers/hffzip/files/patch-Makefile
new file mode 100644
index 000000000000..4e275885d3ee
--- /dev/null
+++ b/archivers/hffzip/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Wed Jun 11 07:59:00 2003
++++ Makefile Wed Jun 11 08:00:47 2003
+@@ -1,16 +1,19 @@
+-opzioni=-O3
++CFLAGS ?= ${CFLAGS}
++CC ?= ${CC}
++
++all: hffzip
+
+ hffzip: main.o albero.o bitIO.o
+- gcc $(opzioni) -o hffzip main.o albero.o bitIO.o
++ $(CC) $(CFLAGS) -o hffzip main.o albero.o bitIO.o
+
+ bitIO.o: bitIO.c
+- gcc $(opzioni) -c bitIO.c
++ $(CC) $(CFLAGS) -c bitIO.c
+
+ albero.o: albero.c bitIO.h albero.h
+- gcc $(opzioni) -c albero.c
++ $(CC) $(CFLAGS) -c albero.c
+
+ main.o: main.c albero.h bitIO.h
+- gcc $(opzioni) -c main.c
++ $(CC) $(CFLAGS) -c main.c
+
+ clean:
+ rm -f *.o hffzip
diff --git a/archivers/hffzip/pkg-descr b/archivers/hffzip/pkg-descr
new file mode 100644
index 000000000000..677847c7c083
--- /dev/null
+++ b/archivers/hffzip/pkg-descr
@@ -0,0 +1,5 @@
+HFFzip is a file compressor based on Huffman coding. HFFzip is
+right for embedded systems, because of its little size and the
+simple algorithm used.
+
+WWW: http://utenti.quipo.it/claudioscordino/hffzip.html
diff --git a/archivers/hffzip/pkg-plist b/archivers/hffzip/pkg-plist
new file mode 100644
index 000000000000..648ff602d3e2
--- /dev/null
+++ b/archivers/hffzip/pkg-plist
@@ -0,0 +1 @@
+bin/hffzip