aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-09 02:00:28 +0800
committerijliao <ijliao@FreeBSD.org>2001-04-09 02:00:28 +0800
commit19c6016b5dd0da2a7743f16d53f50a5c453dcee1 (patch)
tree46ccbac2e119a53cb50ed4083b4d08982141fd42
parent1501f132ba941d9354103de0dae1e12e0b7e6118 (diff)
downloadfreebsd-ports-gnome-19c6016b5dd0da2a7743f16d53f50a5c453dcee1.tar.gz
freebsd-ports-gnome-19c6016b5dd0da2a7743f16d53f50a5c453dcee1.tar.zst
freebsd-ports-gnome-19c6016b5dd0da2a7743f16d53f50a5c453dcee1.zip
add bitbox
BitBox is a GPL'd file splitter/joiner utility
-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