diff options
author | pav <pav@FreeBSD.org> | 2005-07-03 22:19:31 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-03 22:19:31 +0800 |
commit | d5f7abcbb78e4dddb7f899eabaab9b08cde887f2 (patch) | |
tree | 5bc462b087774388e5147e0b2d748a51539f7f94 /textproc | |
parent | 1287b1e27c36f749371bbd3acdf54336b4255b41 (diff) | |
download | freebsd-ports-gnome-d5f7abcbb78e4dddb7f899eabaab9b08cde887f2.tar.gz freebsd-ports-gnome-d5f7abcbb78e4dddb7f899eabaab9b08cde887f2.tar.zst freebsd-ports-gnome-d5f7abcbb78e4dddb7f899eabaab9b08cde887f2.zip |
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>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/flip/Makefile | 27 | ||||
-rw-r--r-- | textproc/flip/distinfo | 2 | ||||
-rw-r--r-- | textproc/flip/pkg-descr | 8 |
4 files changed, 38 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 4e7c99e1849d..b529b9024005 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -116,6 +116,7 @@ SUBDIR += fi-aspell SUBDIR += filepp SUBDIR += fist + SUBDIR += flip SUBDIR += fo-aspell SUBDIR += foiltex SUBDIR += fop diff --git a/textproc/flip/Makefile b/textproc/flip/Makefile new file mode 100644 index 000000000000..1d4716ec75d1 --- /dev/null +++ b/textproc/flip/Makefile @@ -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> diff --git a/textproc/flip/distinfo b/textproc/flip/distinfo new file mode 100644 index 000000000000..2eadf89b09ec --- /dev/null +++ b/textproc/flip/distinfo @@ -0,0 +1,2 @@ +MD5 (flip.1.19.tar.Z) = 8441e44212b1c3d2bfa1323afa84aab2 +SIZE (flip.1.19.tar.Z) = 42208 diff --git a/textproc/flip/pkg-descr b/textproc/flip/pkg-descr new file mode 100644 index 000000000000..ad99962af61f --- /dev/null +++ b/textproc/flip/pkg-descr @@ -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'). |