Add bbe 0.2.2, a sed-like editor for binary files.

PR:		ports/105314
Submitted by:	Alexander Logvinov <ports at logvinov.com>
This commit is contained in:
Rong-En Fan 2006-11-09 01:43:48 +00:00
parent 4f0871bce1
commit 6f3b076396
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176889
4 changed files with 53 additions and 0 deletions

View file

@ -23,6 +23,7 @@
SUBDIR += aspell-without-dicten
SUBDIR += az-aspell
SUBDIR += bar
SUBDIR += bbe
SUBDIR += be-aspell
SUBDIR += bedic-data
SUBDIR += bg-aspell

35
textproc/bbe/Makefile Normal file
View file

@ -0,0 +1,35 @@
# New ports collection makefile for: bbe
# Date created: 8 November 2006
# Whom: Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#
PORTNAME= bbe
PORTVERSION= 0.2.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}-
MAINTAINER= ports@logvinov.com
COMMENT= A sed-like editor for binary files
HAS_CONFIGURE= yes
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
DOCS= AUTHORS ChangeLog README
PORTDOCS= bbe.html ${DOCS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/bbe.html ${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

3
textproc/bbe/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (bbe-0.2.2.tar.gz) = b056d0bfd852384aced73d4533887d4b
SHA256 (bbe-0.2.2.tar.gz) = baaeaf5775a6d9bceb594ea100c8f45a677a0a7d07529fa573ba0842226edddb
SIZE (bbe-0.2.2.tar.gz) = 211590

14
textproc/bbe/pkg-descr Normal file
View file

@ -0,0 +1,14 @@
Instead of reading input in lines as sed, bbe reads
arbitrary blocks from an input stream and performs
byte-related transformations on found blocks. Blocks
can be defined using start/stop strings, stream offset
and block length, or a combination. Basic editing commands
include delete, replace, search/replace, binary operations
(and, or, etc.), append, and bcd/ASCII conversion. For
examining the input stream, it contains some grep-like
features like printing the input file name, stream offset,
and block number of found blocks. Block contents can also
be printed in different formats like hex, octal, ASCII, and
binary.
WWW: http://sourceforge.net/projects/bbe-/