diff options
author | Jim Mock <jim@FreeBSD.org> | 2002-01-14 09:03:26 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2002-01-14 09:03:26 +0000 |
commit | 8e45c931d29a9ebf6f5916279dad3452522a5d54 (patch) | |
tree | 114f80c22ef0d01baba273a76800afa4b91d6459 /textproc | |
parent | New port of tnef2txt, a program to read application/ms-tnef files. (diff) |
New port of rtfreader, a program to read application/ms-rtf files.
Notes
Notes:
svn path=/head/; revision=53046
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/rtfreader/Makefile | 24 | ||||
-rw-r--r-- | textproc/rtfreader/distinfo | 1 | ||||
-rw-r--r-- | textproc/rtfreader/files/patch-aa | 12 | ||||
-rw-r--r-- | textproc/rtfreader/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/rtfreader/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/rtfreader/pkg-message | 3 | ||||
-rw-r--r-- | textproc/rtfreader/pkg-plist | 1 |
8 files changed, 52 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c74b5dc24637..1136f7c4ffd8 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -205,6 +205,7 @@ SUBDIR += rot SUBDIR += rotix SUBDIR += rtf2htm + SUBDIR += rtfreader SUBDIR += ruby-csv SUBDIR += ruby-erb SUBDIR += ruby-format diff --git a/textproc/rtfreader/Makefile b/textproc/rtfreader/Makefile new file mode 100644 index 000000000000..7c501d154b6c --- /dev/null +++ b/textproc/rtfreader/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rtfreader +# Date created: 14 Jan 2002 +# Whom: Jim Mock <jim@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= rtfreader +PORTVERSION= 1.0 +CATEGORIES= textproc +MASTER_SITES= http://www.fiction.net/blong/programs/ +DISTNAME= ms-rtf + +MAINTAINER= jim@FreeBSD.org + +ALL_TARGET= rtfreader + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/rtfreader ${PREFIX}/bin + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/textproc/rtfreader/distinfo b/textproc/rtfreader/distinfo new file mode 100644 index 000000000000..c63118cbaf5d --- /dev/null +++ b/textproc/rtfreader/distinfo @@ -0,0 +1 @@ +MD5 (ms-rtf.tar.gz) = fa203d863ec479b36bcbed3abdd4e77e diff --git a/textproc/rtfreader/files/patch-aa b/textproc/rtfreader/files/patch-aa new file mode 100644 index 000000000000..fe25541be31a --- /dev/null +++ b/textproc/rtfreader/files/patch-aa @@ -0,0 +1,12 @@ +--- Makefile.orig Mon Jan 14 00:40:08 2002 ++++ Makefile Mon Jan 14 00:40:20 2002 +@@ -1,7 +1,7 @@ + + +-CC = gcc +-CFLAGS = -O2 ++CC ?= gcc ++CFLAGS += -O2 + + rtfreader: rtfactn.o rtfreadr.o + $(CC) -o rtfreader rtfreadr.o rtfactn.o diff --git a/textproc/rtfreader/pkg-comment b/textproc/rtfreader/pkg-comment new file mode 100644 index 000000000000..f40f4834be81 --- /dev/null +++ b/textproc/rtfreader/pkg-comment @@ -0,0 +1 @@ +A portable application/ms-rtf parser diff --git a/textproc/rtfreader/pkg-descr b/textproc/rtfreader/pkg-descr new file mode 100644 index 000000000000..4a861a509848 --- /dev/null +++ b/textproc/rtfreader/pkg-descr @@ -0,0 +1,9 @@ +RTF is the Microsoft Richtext Format, a more portable, mostly-ASCII +formatting language that is exported by word processors like MS Word. +These files generally have the extension .rtf, but occassionally have +.doc extensions as well. This parser is from the Microsoft spec, +"ported" to Unix systems. + +WWW: http://www.fiction.net/blong/programs/#rtf + +- jim <jim@FreeBSD.org> diff --git a/textproc/rtfreader/pkg-message b/textproc/rtfreader/pkg-message new file mode 100644 index 000000000000..70b170b9f781 --- /dev/null +++ b/textproc/rtfreader/pkg-message @@ -0,0 +1,3 @@ +-------------------------------------------------------------- +Usage: To use this port, simply run "rtfreader filename.rtf". +-------------------------------------------------------------- diff --git a/textproc/rtfreader/pkg-plist b/textproc/rtfreader/pkg-plist new file mode 100644 index 000000000000..9a0ea2c8e88f --- /dev/null +++ b/textproc/rtfreader/pkg-plist @@ -0,0 +1 @@ +bin/rtfreader |