summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-08 18:00:28 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-08 18:00:28 +0000
commit8675b7998a4e21516b5ed4bde81f2fb957c3fa74 (patch)
treecb24d43cf9bc8980a9746d8fcd0cc5253d299804 /archivers
parentUpdate to 2001.03.26. (diff)
add bitbox
BitBox is a GPL'd file splitter/joiner utility
Notes
Notes: svn path=/head/; revision=41080
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/bitbox/Makefile27
-rw-r--r--archivers/bitbox/distinfo1
-rw-r--r--archivers/bitbox/files/patch-bitbox.c12
-rw-r--r--archivers/bitbox/files/patch-bitbox.h11
-rw-r--r--archivers/bitbox/files/patch-makefile13
-rw-r--r--archivers/bitbox/pkg-comment1
-rw-r--r--archivers/bitbox/pkg-descr5
-rw-r--r--archivers/bitbox/pkg-plist3
9 files changed, 74 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 8d31bb23ec98..fcd73871f163 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -3,6 +3,7 @@
SUBDIR += 9e
SUBDIR += arc
+ SUBDIR += bitbox
SUBDIR += bzip
SUBDIR += bzip2
SUBDIR += cabextract
diff --git a/archivers/bitbox/Makefile b/archivers/bitbox/Makefile
new file mode 100644
index 000000000000..17a24d1839d5
--- /dev/null
+++ b/archivers/bitbox/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# New ports collection makefile for: bitbox
+# Date created: Apr 8, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bitbox
+PORTVERSION= 0.3.0
+CATEGORIES= archivers
+MASTER_SITES= http://www.gizmodrome.com/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKEFILE= makefile
+ALL_TARGET= ${PORTNAME}
+
+do-install:
+ ${INSTALL} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ ${CP} ${WRKSRC}/quickstart.txt ${PREFIX}/share/doc/${PORTNAME}
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/bitbox/distinfo b/archivers/bitbox/distinfo
new file mode 100644
index 000000000000..02b356e7b32f
--- /dev/null
+++ b/archivers/bitbox/distinfo
@@ -0,0 +1 @@
+MD5 (bitbox-0.3.0.tar.gz) = cc1b3ef4eb9a789a1ca7df5a718c8445
diff --git a/archivers/bitbox/files/patch-bitbox.c b/archivers/bitbox/files/patch-bitbox.c
new file mode 100644
index 000000000000..5864460df26b
--- /dev/null
+++ b/archivers/bitbox/files/patch-bitbox.c
@@ -0,0 +1,12 @@
+--- bitbox.c.orig Mon Apr 2 02:26:37 2001
++++ bitbox.c Mon Apr 9 01:44:53 2001
+@@ -36,7 +36,8 @@
+ #include <errno.h>
+
+ /* Needed for the size-invariant integer types, like int32_t. */
+-#include <stdint.h>
++/* #include <stdint.h> */
++#include <sys/types.h>
+
+ /* We're not doing any networking, but we need the endian-swapping
+ macros, like htonl(). */
diff --git a/archivers/bitbox/files/patch-bitbox.h b/archivers/bitbox/files/patch-bitbox.h
new file mode 100644
index 000000000000..72f3916a8b2d
--- /dev/null
+++ b/archivers/bitbox/files/patch-bitbox.h
@@ -0,0 +1,11 @@
+--- bitbox.h.orig Mon Apr 9 01:38:16 2001
++++ bitbox.h Mon Apr 9 01:38:29 2001
+@@ -1,7 +1,7 @@
+ #ifndef __bitbox__
+ #define __bitbox__
+
+-#include <stdint.h>
++/* #include <stdint.h> */
+
+ /* Serialization/deserialization macros, just to save a few keystrokes. Notice
+ that they all assume an int named rc is in scope, and that they're sensitive
diff --git a/archivers/bitbox/files/patch-makefile b/archivers/bitbox/files/patch-makefile
new file mode 100644
index 000000000000..1b688761fe15
--- /dev/null
+++ b/archivers/bitbox/files/patch-makefile
@@ -0,0 +1,13 @@
+--- makefile.orig Mon Apr 9 01:41:48 2001
++++ makefile Mon Apr 2 02:26:37 2001
+@@ -1,8 +1,8 @@
+ bitbox: bitbox.o
+- gcc bitbox.o -o bitbox -lz
++ ${CC} ${CFLAGS} bitbox.o -o bitbox -lz -L${LOCALBASE}/lib -lgnugetopt
+
+ bitbox.o: bitbox.c bitbox.h
+- gcc -Wall -c bitbox.c -o bitbox.o
++ ${CC} ${CFLAGS} -I${LOCALBASE}/include -c bitbox.c -o bitbox.o
+
+
+
diff --git a/archivers/bitbox/pkg-comment b/archivers/bitbox/pkg-comment
new file mode 100644
index 000000000000..f8887d24e103
--- /dev/null
+++ b/archivers/bitbox/pkg-comment
@@ -0,0 +1 @@
+BitBox is a file splitter/joiner utility
diff --git a/archivers/bitbox/pkg-descr b/archivers/bitbox/pkg-descr
new file mode 100644
index 000000000000..2b883f3744af
--- /dev/null
+++ b/archivers/bitbox/pkg-descr
@@ -0,0 +1,5 @@
+BitBox is a GPL'd file splitter/joiner utility that's intended to help
+distribute and re-distribute open source software packages via Internet
+newsgroups. Think of it as an open source version of the "RAR" program.
+
+WWW: http://www.gizmodrome.com/bitbox.htm
diff --git a/archivers/bitbox/pkg-plist b/archivers/bitbox/pkg-plist
new file mode 100644
index 000000000000..eca32afb6349
--- /dev/null
+++ b/archivers/bitbox/pkg-plist
@@ -0,0 +1,3 @@
+bin/bitbox
+%%PORTDOCS%%share/doc/bitbox/quickstart.txt
+%%PORTDOCS%%@dirrm share/doc/bitbox