RTF editor

This commit is contained in:
espie 2001-04-18 15:02:45 +00:00
parent eef0f0e76b
commit 14bd525368
5 changed files with 122 additions and 0 deletions

62
editors/ted/Makefile Normal file
View File

@ -0,0 +1,62 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/18 15:02:45 espie Exp $
COMMENT= "X11 based RTF editor"
V=2.8
DISTNAME= ted-$V
CATEGORIES= editors textproc print
NEED_VERSION= 1.400
MASTER_SITES=ftp://ftp.nluug.nl/pub/editors/ted/
DISTFILES= ted-$V.src.tar.gz
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
MAINTAINER= Marc Espie <espie@openbsd.org>
WRKDIST= ${WRKDIR}/Ted-$V
LIB_DEPENDS= png.1::graphics/png \
jpeg.6::graphics/jpeg \
tiff.35::graphics/tiff
USE_MOTIF= openmotif
ALL_TARGET= compile.shared
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
AFMDIR= ${PREFIX}/share/Ted/afm
INDDIR= ${PREFIX}/share/Ted/ind
INFODIR= ${PREFIX}/share/doc/Ted
post-extract:
cd ${WRKDIST}/tedPackage && tar xf TedBindist.tar
post-patch:
cd ${WRKDIST}/tedPackage/info && \
sed -e 's,/usr/local/afm,${AFMDIR},' \
-e 's,/usr/local/ind,${INDDIR},' \
-e 's,/usr/local/info,${INFODIR},' \
Ted.ad.sample >Ted
for d in ${WRKSRC}/Ted ${WRKSRC}/appFrame; do \
cd $$d && \
mv -f config.h.in config.h.in.bak && \
echo '#define PREFIX "${PREFIX}"' >config.h.in && \
echo '#define INFODIR "${INFODIR}"' >>config.h.in && \
echo '#define INDDIR "${INDDIR}"' >>config.h.in && \
echo '#define AFMDIR "${AFMDIR}"' >>config.h.in && \
cat config.h.in.bak >>config.h.in; \
done
#CFLAGS+=-DAFMDIR=${AFMDIR} -DINDDIR=${INDDIR} -DINFODIR=${INFODIR}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/Ted/Ted ${PREFIX}/bin/Ted
${INSTALL_DATA_DIR} ${AFMDIR}
${INSTALL_DATA} ${WRKDIST}/tedPackage/afm/* ${AFMDIR}
${INSTALL_DATA_DIR} ${INDDIR}
${INSTALL_DATA_DIR} ${INFODIR}
${INSTALL_DATA} ${WRKDIST}/tedPackage/info/TedDocument.rtf ${INFODIR}
${INSTALL_DATA} ${WRKDIST}/tedPackage/info/Ted ${PREFIX}/lib/X11/app-defaults
.include <bsd.port.mk>

3
editors/ted/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (ted-2.9.src.tar.gz) = b6ce52061db15602b2fd4af718e26d3d
RMD160 (ted-2.9.src.tar.gz) = 7f15c3ced9aec1585d47db5afc34c29a016cbdb8
SHA1 (ted-2.9.src.tar.gz) = dea53db17693787e0dfb097190e69600b1d39be9

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-appFrame_appFileChooserMotif_c,v 1.1.1.1 2001/04/18 15:02:46 espie Exp $
--- appFrame/appFileChooserMotif.c.orig Thu Mar 8 01:56:37 2001
+++ appFrame/appFileChooserMotif.c Thu Mar 8 01:56:53 2001
@@ -523,7 +523,7 @@ static int appMakeFileChooser( AppChoose
XtSetArg( al[ac], XmNallowShellResize, True ); ac++;
XtSetArg( al[ac], XmNchildPlacement,XmPLACE_ABOVE_SELECTION ); ac++;
-# if XmVersion >= 2000
+# if XmVersion >= 2000 && !defined(LESSTIF_VERSION)
XtSetArg( al[ac], XmNfileFilterStyle,
XmFILTER_HIDDEN_FILES ); ac++;
# endif

24
editors/ted/pkg/DESCR Normal file
View File

@ -0,0 +1,24 @@
Ted is a text editor running under X Windows on Unix/Linux systems. Ted was
developed as an operating system accessory like Wordpad on MS-Windows.
Features
--------
* Wysiwyg rich text editing.
* Ted uses Microsoft RTF as its native file format.
* In line bitmap pictures.
* Postscript printing.
* Spelling checking in several Latin languages. (English, Dutch, German,
Portuguese, French and Spanish.)
* Directly mailing documents from Ted.
* Cut/Copy/Paste, also with other applications.
* Find/Replace.
* Ruler: Paragraph indentation, Indentation of first line, Tabs.
* Copy/Paste
Ruler.
* Page breaks.
* Tables: Insert Table, Row, Column. Changing the column width of tables
with their ruler.
* Symbols and accented characters are fully supported.
* Hyperlinks.
* Saving a document in HTML format.

21
editors/ted/pkg/PLIST Normal file
View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/18 15:02:46 espie Exp $
bin/Ted
lib/X11/app-defaults/Ted
share/Ted/afm/Courier-Bold.afm
share/Ted/afm/Courier-BoldOblique.afm
share/Ted/afm/Courier-Oblique.afm
share/Ted/afm/Courier.afm
share/Ted/afm/Helvetica-Bold.afm
share/Ted/afm/Helvetica-BoldOblique.afm
share/Ted/afm/Helvetica-Oblique.afm
share/Ted/afm/Helvetica.afm
share/Ted/afm/Symbol.afm
share/Ted/afm/Times-Bold.afm
share/Ted/afm/Times-BoldItalic.afm
share/Ted/afm/Times-Italic.afm
share/Ted/afm/Times-Roman.afm
share/doc/Ted/TedDocument.rtf
@dirrm share/doc/Ted
@exec mkdir -p %D/share/Ted/ind
@dirrm share/Ted/ind
@dirrm share/Ted/afm