mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
btoa/atob binary <-> ascii conversion tool.
Submitted by: "Brent J. Nordquist" <nordquist@platinum.com>
This commit is contained in:
parent
7a8fa5c6b5
commit
069106fc55
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2949
30
converters/btoa/Makefile
Normal file
30
converters/btoa/Makefile
Normal file
@ -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>
|
2
converters/btoa/distinfo
Normal file
2
converters/btoa/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (btoa-5.2.tar.gz) = c8fe1ee1e0f7ea0da0c49f44c5fe8f64
|
||||
MD5 (btoa-5.2-patch1.gz) = caf2fff3448242f432b407b797670312
|
1
converters/btoa/pkg-comment
Normal file
1
converters/btoa/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Encode/decode binary to printable ASCII.
|
13
converters/btoa/pkg-descr
Normal file
13
converters/btoa/pkg-descr
Normal file
@ -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
|
3
converters/btoa/pkg-plist
Normal file
3
converters/btoa/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/btoa
|
||||
bin/atob
|
||||
man/man1/btoa.1.gz
|
Loading…
Reference in New Issue
Block a user