summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/granulate/Makefile20
-rw-r--r--misc/granulate/files/md53
-rw-r--r--misc/granulate/files/patch-sum3
-rw-r--r--misc/granulate/patches/patch-aa12
-rw-r--r--misc/granulate/pkg/DESCR6
-rw-r--r--misc/granulate/pkg/PLIST4
6 files changed, 48 insertions, 0 deletions
diff --git a/misc/granulate/Makefile b/misc/granulate/Makefile
new file mode 100644
index 00000000000..c8740e53099
--- /dev/null
+++ b/misc/granulate/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $
+#
+
+DISTNAME= granulate-0.1
+CATEGORIES= misc
+MASTER_SITES= ftp://134.74.16.12/pub/ \
+ http://zuntum.eik.pl/distfiles/
+
+MAINTAINER= zuntum@netbsd.org
+COMMENT= Program for splitting files in place
+
+MAKE_ENV= "CC=${CC}" \
+ "CFLAGS=${CFLAGS}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/granulate ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/granulate
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/granulate
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/granulate/files/md5 b/misc/granulate/files/md5
new file mode 100644
index 00000000000..c4dfd23c438
--- /dev/null
+++ b/misc/granulate/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $
+
+SHA1 (granulate-0.1.tar.gz) = dd8b458ea2330b2adea61e3010ea9715fabedce4
diff --git a/misc/granulate/files/patch-sum b/misc/granulate/files/patch-sum
new file mode 100644
index 00000000000..c20f3324061
--- /dev/null
+++ b/misc/granulate/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $
+
+SHA1 (patch-aa) = 75c04296f16da1b3d0a81c08b9534ad1df45d7c2
diff --git a/misc/granulate/patches/patch-aa b/misc/granulate/patches/patch-aa
new file mode 100644
index 00000000000..91975edd0b1
--- /dev/null
+++ b/misc/granulate/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $
+
+--- Makefile.orig Sun Feb 11 20:01:12 2001
++++ Makefile
+@@ -1,7 +1,5 @@
+ # This makefile should not exist as such. There should be a configure script.
+
+-CC = gcc
+-CFLAGS = -O2 -Wall -Wstrict-prototypes
+ LDFLAGS =
+ OBJS = granulate.o
+
diff --git a/misc/granulate/pkg/DESCR b/misc/granulate/pkg/DESCR
new file mode 100644
index 00000000000..87512afcdc4
--- /dev/null
+++ b/misc/granulate/pkg/DESCR
@@ -0,0 +1,6 @@
+Granulate is a program for splitting files in place. The program
+serves a purpose similar to the standard UNIX split, but differs in
+one important way. For split to operate on a 40MB file, you must have
+more than 40MB of free space on the disk. On the other hand,
+granulate only needs one chunk of free space on the hard drive, where
+a chunk is the requested size for the output files.
diff --git a/misc/granulate/pkg/PLIST b/misc/granulate/pkg/PLIST
new file mode 100644
index 00000000000..0641ab00dc4
--- /dev/null
+++ b/misc/granulate/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $
+bin/granulate
+share/doc/granulate/README
+@dirrm share/doc/granulate