From 239576763d201e19b106dfca404c0176d3d80d01 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 14 May 2001 14:42:19 +0000 Subject: Move ted and support packages from textproc to editors. --- editors/ted/Makefile | 68 ++++++++++++++++++++++++++++++++++++++++++++ editors/ted/distinfo | 6 ++++ editors/ted/files/README.ind | 1 + editors/ted/patches/patch-aa | 12 ++++++++ editors/ted/patches/patch-ab | 11 +++++++ editors/ted/pkg/DESCR | 24 ++++++++++++++++ editors/ted/pkg/MESSAGE | 7 +++++ editors/ted/pkg/PLIST | 22 ++++++++++++++ 8 files changed, 151 insertions(+) create mode 100644 editors/ted/Makefile create mode 100644 editors/ted/distinfo create mode 100644 editors/ted/files/README.ind create mode 100644 editors/ted/patches/patch-aa create mode 100644 editors/ted/patches/patch-ab create mode 100644 editors/ted/pkg/DESCR create mode 100644 editors/ted/pkg/MESSAGE create mode 100644 editors/ted/pkg/PLIST (limited to 'editors/ted') diff --git a/editors/ted/Makefile b/editors/ted/Makefile new file mode 100644 index 00000000000..3b8e600c340 --- /dev/null +++ b/editors/ted/Makefile @@ -0,0 +1,68 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 14:42:19 wiz Exp $ + +DISTNAME= ted-2.8.src +PKGNAME= ted-2.8 +WRKSRC= ${WRKDIR}/Ted-2.8 +CATEGORIES= editors +MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ \ + ftp://metalab.unc.edu/pub/packages/editors/ted/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.nllgg.nl/Ted/ +COMMENT= X11 based WordPad-like word processor + +DEPENDS+= libungif-*:../../graphics/libungif +DEPENDS+= jpeg-6b:../../graphics/jpeg +DEPENDS+= png>1.0.9:../../graphics/png +DEPENDS+= tiff-*:../../graphics/tiff + +USE_MOTIF= YES +USE_X11= YES +USE_XPM= YES + +AFMDIR= ${PREFIX}/share/Ted/afm +INDDIR= ${PREFIX}/share/Ted/ind +INFODIR= ${PREFIX}/share/doc/Ted + +MAKE_ENV+= DEF_PKGDIR='-DPKGDIR=\"${PREFIX}\"' \ + DEF_AFMDIR='-DAFMDIR=\"${AFMDIR}\"' \ + DEF_INDDIR='-DINDDIR=\"${INDDIR}\"' \ + DEF_INFODIR='-DINFODIR=\"${INFODIR}\"' + +ALL_TARGET= compile + +post-extract: + @cd ${WRKSRC} ; ${GTAR} xf tedPackage/TedBindist.tar + +post-patch: + @cd ${WRKSRC}/info ; \ + ${SED} -e "s!Ted.afmDirectory:.*!Ted.afmDirectory:${AFMDIR}!g" \ + -e "s!Ted.spellToolSystemDicts:.*!Ted.spellToolSystemDicts:${INDDIR}!g" \ + -e "s!Ted.documentFileName:.*!Ted.documentFileName:${INFODIR}/TedDocument.rtf!g" \ + Ted.ad.sample > Ted + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${PREFIX}/bin/Ted + ${INSTALL_DATA_DIR} ${AFMDIR} + ${INSTALL_DATA} \ + ${WRKSRC}/afm/Courier-Bold.afm \ + ${WRKSRC}/afm/Courier-BoldOblique.afm \ + ${WRKSRC}/afm/Courier-Oblique.afm \ + ${WRKSRC}/afm/Courier.afm \ + ${WRKSRC}/afm/Helvetica-Bold.afm \ + ${WRKSRC}/afm/Helvetica-BoldOblique.afm \ + ${WRKSRC}/afm/Helvetica-Oblique.afm \ + ${WRKSRC}/afm/Helvetica.afm \ + ${WRKSRC}/afm/Symbol.afm \ + ${WRKSRC}/afm/Times-Bold.afm \ + ${WRKSRC}/afm/Times-BoldItalic.afm \ + ${WRKSRC}/afm/Times-Italic.afm \ + ${WRKSRC}/afm/Times-Roman.afm \ + ${AFMDIR} + ${INSTALL_DATA_DIR} ${INDDIR} + ${INSTALL_DATA} ${FILESDIR}/README.ind ${INDDIR} + ${INSTALL_DATA_DIR} ${INFODIR} + ${INSTALL_DATA} ${WRKSRC}/info/TedDocument.rtf ${INFODIR} + ${INSTALL_DATA} ${WRKSRC}/info/Ted ${PREFIX}/lib/X11/app-defaults \ + +.include "../../mk/bsd.pkg.mk" diff --git a/editors/ted/distinfo b/editors/ted/distinfo new file mode 100644 index 00000000000..be1d9142fca --- /dev/null +++ b/editors/ted/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/05/14 14:42:19 wiz Exp $ + +SHA1 (ted-2.8.src.tar.gz) = 265c96ce91247c17edc880e46e89883d19abb5f8 +Size (ted-2.8.src.tar.gz) = 2054547 bytes +SHA1 (patch-aa) = 2134018eafbbbc361674d475d7774eba6e208b7c +SHA1 (patch-ab) = 20135a2db628c78ea5e99a8f544b0d67b218b1eb diff --git a/editors/ted/files/README.ind b/editors/ted/files/README.ind new file mode 100644 index 00000000000..487c7a51366 --- /dev/null +++ b/editors/ted/files/README.ind @@ -0,0 +1 @@ +This directory contains the installed spelling dictionaries for Ted. diff --git a/editors/ted/patches/patch-aa b/editors/ted/patches/patch-aa new file mode 100644 index 00000000000..3034b56bccf --- /dev/null +++ b/editors/ted/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 14:42:20 wiz Exp $ + +--- Ted/makefile.in.orig Thu Sep 23 06:08:00 1999 ++++ Ted/makefile.in Sun Oct 10 13:46:20 1999 +@@ -22,5 +22,6 @@ + -I../appUtil \ + -I../include \ +- $(DEF_PKGDIR) ++ $(DEF_PKGDIR) \ ++ $(DEF_INFODIR) + + LDFLAGS=@LDFLAGS@ diff --git a/editors/ted/patches/patch-ab b/editors/ted/patches/patch-ab new file mode 100644 index 00000000000..a5304f24fa8 --- /dev/null +++ b/editors/ted/patches/patch-ab @@ -0,0 +1,11 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/05/14 14:42:20 wiz Exp $ + +--- appFrame/appFileChooser.c.orig Mon Mar 27 05:09:43 2000 ++++ appFrame/appFileChooser.c Fri Apr 21 21:34:20 2000 +@@ -633,5 +633,5 @@ + XtSetArg( al[ac], XmNuserData, (XtPointer)aci ); ac++; + XtSetArg( al[ac], XmNdialogStyle, XmDIALOG_APPLICATION_MODAL ); ac++; +-# if XmVersion >= 2000 ++# if XmVersion >= 2000 && !defined(LESSTIF_VERSION) + XtSetArg( al[ac], XmNfileFilterStyle, + XmFILTER_HIDDEN_FILES ); ac++; diff --git a/editors/ted/pkg/DESCR b/editors/ted/pkg/DESCR new file mode 100644 index 00000000000..d8426b3da75 --- /dev/null +++ b/editors/ted/pkg/DESCR @@ -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. +Teds function is to be able to edit rich text documents on Unix/Linux in a +wysiwyg way. + +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. diff --git a/editors/ted/pkg/MESSAGE b/editors/ted/pkg/MESSAGE new file mode 100644 index 00000000000..0d95baa61ca --- /dev/null +++ b/editors/ted/pkg/MESSAGE @@ -0,0 +1,7 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1.1.1 2001/05/14 14:42:20 wiz Exp $ + +This pkg does not install any spelling dictionaries. Spelling dictionaries +for various languages are available as separate packages. + +============================================================================= diff --git a/editors/ted/pkg/PLIST b/editors/ted/pkg/PLIST new file mode 100644 index 00000000000..1baf5593880 --- /dev/null +++ b/editors/ted/pkg/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 14:42:20 wiz Exp $ +bin/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 +lib/X11/app-defaults/Ted +share/doc/Ted/TedDocument.rtf +share/Ted/ind/README.ind +@dirrm share/Ted/afm +@dirrm share/Ted/ind +@dirrm share/Ted +@dirrm share/doc/Ted -- cgit v1.2.3