summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-03 14:19:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-03 14:19:31 +0000
commitf2fd22b471f061ae2ed1f08e10f1e0f223b52c62 (patch)
tree968b3c2b7371353ac139df07a137bd94c757c6dd /textproc
parentAdd ufs_copy. (diff)
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>
Notes
Notes: svn path=/head/; revision=138402
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/flip/Makefile27
-rw-r--r--textproc/flip/distinfo2
-rw-r--r--textproc/flip/pkg-descr8
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').