This program converts line endings of text files between MS-DOS and **IX

formats. It detects binary files in a nearly foolproof way and leaves them
alone unless you override this. It will also leave files alone that are already
in the right format and preserves file timestamps. User interrupts are handled
gracefully and no garbage or corrupted files left behind. 'flip' does not
convert files to a different character set, and it can not handle Apple
Macintosh line endings (CR only). For that (and more), you can use the 'recode'
program (package 'recode').

PR:		ports/82863
Submitted by:	Radim Kolar <hsn@netmag.cz>
This commit is contained in:
Pav Lucistnik 2005-07-03 14:19:31 +00:00
parent aeae7f4dc7
commit f2fd22b471
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138402
4 changed files with 38 additions and 0 deletions

View File

@ -116,6 +116,7 @@
SUBDIR += fi-aspell
SUBDIR += filepp
SUBDIR += fist
SUBDIR += flip
SUBDIR += fo-aspell
SUBDIR += foiltex
SUBDIR += fop

27
textproc/flip/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: flip
# Date created: 2005-07-01
# Whom: Radim Kolar <hsn@sanatana.dharma>
#
# $FreeBSD$
#
PORTNAME= flip
PORTVERSION= 1.19
CATEGORIES= textproc
MASTER_SITES= http://ftp.sayclub.co.kr/pub/packages/aixpdslib/flip/RISC/4.3/src/
DISTNAME= ${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@freebsd.org
COMMENT= Convert text file line endings between Unix and DOS formats
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= bsd
PLIST_FILES= bin/flip
MAN1= flip.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flip ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flip.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.mk>

2
textproc/flip/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (flip.1.19.tar.Z) = 8441e44212b1c3d2bfa1323afa84aab2
SIZE (flip.1.19.tar.Z) = 42208

8
textproc/flip/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
This program converts line endings of text files between MS-DOS and **IX
formats. It detects binary files in a nearly foolproof way and leaves them
alone unless you override this. It will also leave files alone that are already
in the right format and preserves file timestamps. User interrupts are handled
gracefully and no garbage or corrupted files left behind. 'flip' does not
convert files to a different character set, and it can not handle Apple
Macintosh line endings (CR only). For that (and more), you can use the 'recode'
program (package 'recode').