aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-04-09 11:58:13 +0800
committerasami <asami@FreeBSD.org>1996-04-09 11:58:13 +0800
commitfdf5ab6a3b0925c5ae138afcf56ad909e91984bf (patch)
tree55d1342576dfbc2295b046d32802be61fd846128 /converters
parentaf7f1184e4a0328f8aa2d3e7ed826975ef6a06cc (diff)
downloadfreebsd-ports-gnome-fdf5ab6a3b0925c5ae138afcf56ad909e91984bf.tar.gz
freebsd-ports-gnome-fdf5ab6a3b0925c5ae138afcf56ad909e91984bf.tar.zst
freebsd-ports-gnome-fdf5ab6a3b0925c5ae138afcf56ad909e91984bf.zip
btoa/atob binary <-> ascii conversion tool.
Submitted by: "Brent J. Nordquist" <nordquist@platinum.com>
Diffstat (limited to 'converters')
-rw-r--r--converters/btoa/Makefile30
-rw-r--r--converters/btoa/distinfo2
-rw-r--r--converters/btoa/pkg-comment1
-rw-r--r--converters/btoa/pkg-descr13
-rw-r--r--converters/btoa/pkg-plist3
5 files changed, 49 insertions, 0 deletions
diff --git a/converters/btoa/Makefile b/converters/btoa/Makefile
new file mode 100644
index 000000000000..2cb4aa3197ef
--- /dev/null
+++ b/converters/btoa/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: btoa
+# Version required: 5.2
+# Date created: 4 Apr 1996
+# Whom: Brent J. Nordquist <nordquist@platinum.com>
+#
+# $Id$
+#
+
+DISTNAME= btoa-5.2
+PKGNAME= btoa-5.2.1
+CATEGORIES+= misc
+MASTER_SITES= ftp://freefall.freebsd.org/pub/FreeBSD/LOCAL_PORTS/
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= btoa-5.2-patch1.gz
+
+MAINTAINER= nordquist@platinum.com
+
+MAKE_FLAGS= DESTDIR=${PREFIX} -f
+MAKEFILE= Makefile.sun
+
+# Turn off the default from bsd.port.mk (-p0), which screws things up
+PATCH_DIST_STRIP=
+
+post-install:
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/btoa.1
+.endif
+
+.include <bsd.port.mk>
diff --git a/converters/btoa/distinfo b/converters/btoa/distinfo
new file mode 100644
index 000000000000..87ba658e1e34
--- /dev/null
+++ b/converters/btoa/distinfo
@@ -0,0 +1,2 @@
+MD5 (btoa-5.2.tar.gz) = c8fe1ee1e0f7ea0da0c49f44c5fe8f64
+MD5 (btoa-5.2-patch1.gz) = caf2fff3448242f432b407b797670312
diff --git a/converters/btoa/pkg-comment b/converters/btoa/pkg-comment
new file mode 100644
index 000000000000..a863549a3ba7
--- /dev/null
+++ b/converters/btoa/pkg-comment
@@ -0,0 +1 @@
+Encode/decode binary to printable ASCII.
diff --git a/converters/btoa/pkg-descr b/converters/btoa/pkg-descr
new file mode 100644
index 000000000000..9eb8e97bfc72
--- /dev/null
+++ b/converters/btoa/pkg-descr
@@ -0,0 +1,13 @@
+This is a port of btoa version 5.2, written by Paul Rutter, Joe
+Orost & Stefan Parmark. btoa converts 4 binary characters to 5
+ascii ones, causing a 25% expansion. (btoa is thus more efficient
+than uuencode, which causes a 33% expansion.) Spaces will not be
+used, which should make it safe to send files over e-mail or Usenet
+without risking that blanks become tabs. Each resulting row of
+text has a single-byte checksum for error detection. A diagnosis
+file provides a list of errors found this way, which could then be
+used to retransmit only the failing lines.
+
+Port to FreeBSD 2.1 by
+Brent J. Nordquist (nordquist@platinum.com)
+Fri Apr 5 23:20:58 1996
diff --git a/converters/btoa/pkg-plist b/converters/btoa/pkg-plist
new file mode 100644
index 000000000000..0feb90807146
--- /dev/null
+++ b/converters/btoa/pkg-plist
@@ -0,0 +1,3 @@
+bin/btoa
+bin/atob
+man/man1/btoa.1.gz