summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/Makefile1
-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
6 files changed, 58 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 590cfe059df7..c6bcfc586e8c 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -18,6 +18,7 @@
SUBDIR += gtar
SUBDIR += gzip
SUBDIR += ha
+ SUBDIR += hffzip
SUBDIR += hpack.non-usa.only
SUBDIR += lbrate
SUBDIR += lha
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