summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/tea/DESCR6
-rw-r--r--editors/tea/Makefile23
-rw-r--r--editors/tea/PLIST195
-rw-r--r--editors/tea/distinfo7
-rw-r--r--editors/tea/options.mk21
-rw-r--r--editors/tea/patches/patch-aa36
-rw-r--r--editors/tea/patches/patch-ab13
7 files changed, 301 insertions, 0 deletions
diff --git a/editors/tea/DESCR b/editors/tea/DESCR
new file mode 100644
index 00000000000..2181f570274
--- /dev/null
+++ b/editors/tea/DESCR
@@ -0,0 +1,6 @@
+TEA is a powerful and simple-in-use GTK-based text editor that
+provides hundreds of functions.
+
+It has many features including syntax highlighting, string handling
+functions, open various formats, hotkeys, built-in file manager,
+localizations and encodings, built-in image viewer, and a lot more.
diff --git a/editors/tea/Makefile b/editors/tea/Makefile
new file mode 100644
index 00000000000..61fb1a0d401
--- /dev/null
+++ b/editors/tea/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/14 04:49:08 reed Exp $
+#
+
+DISTNAME= tea-16.0.5
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tea-editor/} \
+ http://tea.linux.kiev.ua/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://tea-editor.sourceforge.net/
+#HOMEPAGE= http://tea.linux.kiev.ua/
+COMMENT= Powerful, easy-to-use text editor for Gtk2
+
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+.include "options.mk"
+
+.include "../../x11/gtk2/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/tea/PLIST b/editors/tea/PLIST
new file mode 100644
index 00000000000..04862c30288
--- /dev/null
+++ b/editors/tea/PLIST
@@ -0,0 +1,195 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/14 04:49:08 reed Exp $
+bin/tea
+share/doc/tea/AUTHORS
+share/doc/tea/COPYING
+share/doc/tea/ChangeLog
+share/doc/tea/NEWS
+share/doc/tea/README
+share/doc/tea/TODO
+share/doc/tea/cs/index.html
+share/doc/tea/en/a1003.html
+share/doc/tea/en/c109.html
+share/doc/tea/en/c120.html
+share/doc/tea/en/c14.html
+share/doc/tea/en/c224.html
+share/doc/tea/en/c241.html
+share/doc/tea/en/c30.html
+share/doc/tea/en/c316.html
+share/doc/tea/en/c382.html
+share/doc/tea/en/c77.html
+share/doc/tea/en/c782.html
+share/doc/tea/en/c788.html
+share/doc/tea/en/c824.html
+share/doc/tea/en/c852.html
+share/doc/tea/en/c934.html
+share/doc/tea/en/c959.html
+share/doc/tea/en/c967.html
+share/doc/tea/en/index.html
+share/doc/tea/en/x283.html
+share/doc/tea/en/x326.html
+share/doc/tea/en/x345.html
+share/doc/tea/en/x362.html
+share/doc/tea/en/x391.html
+share/doc/tea/en/x417.html
+share/doc/tea/en/x451.html
+share/doc/tea/en/x462.html
+share/doc/tea/en/x476.html
+share/doc/tea/en/x486.html
+share/doc/tea/en/x493.html
+share/doc/tea/en/x508.html
+share/doc/tea/en/x529.html
+share/doc/tea/en/x540.html
+share/doc/tea/en/x551.html
+share/doc/tea/en/x563.html
+share/doc/tea/en/x59.html
+share/doc/tea/en/x662.html
+share/doc/tea/en/x668.html
+share/doc/tea/en/x684.html
+share/doc/tea/en/x71.html
+share/doc/tea/en/x737.html
+share/doc/tea/en/x746.html
+share/doc/tea/en/x772.html
+share/doc/tea/en/x865.html
+share/doc/tea/en/x891.html
+share/doc/tea/en/x895.html
+share/doc/tea/en/x902.html
+share/doc/tea/en/x908.html
+share/doc/tea/en/x917.html
+share/doc/tea/en/x923.html
+share/doc/tea/en/x930.html
+share/doc/tea/en/x951.html
+share/doc/tea/es/a799.html
+share/doc/tea/es/c105.html
+share/doc/tea/es/c18.html
+share/doc/tea/es/c197.html
+share/doc/tea/es/c210.html
+share/doc/tea/es/c231.html
+share/doc/tea/es/c298.html
+share/doc/tea/es/c34.html
+share/doc/tea/es/c590.html
+share/doc/tea/es/c616.html
+share/doc/tea/es/c623.html
+share/doc/tea/es/c63.html
+share/doc/tea/es/c651.html
+share/doc/tea/es/c675.html
+share/doc/tea/es/c742.html
+share/doc/tea/es/c771.html
+share/doc/tea/es/c792.html
+share/doc/tea/es/c94.html
+share/doc/tea/es/favicon.ico
+share/doc/tea/es/img/caution.gif
+share/doc/tea/es/img/cross.png
+share/doc/tea/es/img/home.gif
+share/doc/tea/es/img/important.gif
+share/doc/tea/es/img/leftbuttons.png
+share/doc/tea/es/img/logo.gif
+share/doc/tea/es/img/next.gif
+share/doc/tea/es/img/note.gif
+share/doc/tea/es/img/prev.gif
+share/doc/tea/es/img/resize.png
+share/doc/tea/es/img/rightbuttons.png
+share/doc/tea/es/img/runbutton.png
+share/doc/tea/es/img/runbutton1.png
+share/doc/tea/es/img/tip.gif
+share/doc/tea/es/img/toolbar.gif
+share/doc/tea/es/img/up.gif
+share/doc/tea/es/img/warning.gif
+share/doc/tea/es/index.html
+share/doc/tea/es/style.css
+share/doc/tea/es/x242.html
+share/doc/tea/es/x261.html
+share/doc/tea/es/x278.html
+share/doc/tea/es/x305.html
+share/doc/tea/es/x332.html
+share/doc/tea/es/x341.html
+share/doc/tea/es/x350.html
+share/doc/tea/es/x366.html
+share/doc/tea/es/x373.html
+share/doc/tea/es/x388.html
+share/doc/tea/es/x398.html
+share/doc/tea/es/x497.html
+share/doc/tea/es/x503.html
+share/doc/tea/es/x515.html
+share/doc/tea/es/x558.html
+share/doc/tea/es/x567.html
+share/doc/tea/es/x579.html
+share/doc/tea/es/x687.html
+share/doc/tea/es/x704.html
+share/doc/tea/es/x708.html
+share/doc/tea/es/x715.html
+share/doc/tea/es/x719.html
+share/doc/tea/es/x722.html
+share/doc/tea/es/x726.html
+share/doc/tea/es/x733.html
+share/doc/tea/es/x738.html
+share/doc/tea/es/x763.html
+share/doc/tea/ru/a794.html
+share/doc/tea/ru/c107.html
+share/doc/tea/ru/c13.html
+share/doc/tea/ru/c191.html
+share/doc/tea/ru/c206.html
+share/doc/tea/ru/c254.html
+share/doc/tea/ru/c31.html
+share/doc/tea/ru/c318.html
+share/doc/tea/ru/c641.html
+share/doc/tea/ru/c648.html
+share/doc/tea/ru/c680.html
+share/doc/tea/ru/c704.html
+share/doc/tea/ru/c758.html
+share/doc/tea/ru/c77.html
+share/doc/tea/ru/c780.html
+share/doc/tea/ru/c790.html
+share/doc/tea/ru/c99.html
+share/doc/tea/ru/index.html
+share/doc/tea/ru/x237.html
+share/doc/tea/ru/x264.html
+share/doc/tea/ru/x283.html
+share/doc/tea/ru/x298.html
+share/doc/tea/ru/x325.html
+share/doc/tea/ru/x332.html
+share/doc/tea/ru/x354.html
+share/doc/tea/ru/x367.html
+share/doc/tea/ru/x392.html
+share/doc/tea/ru/x398.html
+share/doc/tea/ru/x418.html
+share/doc/tea/ru/x429.html
+share/doc/tea/ru/x441.html
+share/doc/tea/ru/x454.html
+share/doc/tea/ru/x464.html
+share/doc/tea/ru/x537.html
+share/doc/tea/ru/x541.html
+share/doc/tea/ru/x55.html
+share/doc/tea/ru/x558.html
+share/doc/tea/ru/x597.html
+share/doc/tea/ru/x60.html
+share/doc/tea/ru/x606.html
+share/doc/tea/ru/x631.html
+share/doc/tea/ru/x699.html
+share/doc/tea/ru/x715.html
+share/doc/tea/ru/x725.html
+share/doc/tea/ru/x732.html
+share/doc/tea/ru/x736.html
+share/doc/tea/ru/x739.html
+share/doc/tea/ru/x755.html
+share/doc/tea/ru/x776.html
+share/doc/tea/tea_doc.css
+share/locale/cs/LC_MESSAGES/tea.mo
+share/locale/de/LC_MESSAGES/tea.mo
+share/locale/es/LC_MESSAGES/tea.mo
+share/locale/fr/LC_MESSAGES/tea.mo
+share/locale/ja/LC_MESSAGES/tea.mo
+share/locale/lv/LC_MESSAGES/tea.mo
+share/locale/pl/LC_MESSAGES/tea.mo
+share/locale/ru/LC_MESSAGES/tea.mo
+share/locale/sr/LC_MESSAGES/tea.mo
+share/locale/uk/LC_MESSAGES/tea.mo
+share/tea/pixmaps/tea_icon_v2.png
+share/tea/pixmaps/tea_logo.jpg
+@dirrm share/tea/pixmaps
+@dirrm share/tea
+@dirrm share/doc/tea/ru
+@dirrm share/doc/tea/es/img
+@dirrm share/doc/tea/es
+@dirrm share/doc/tea/en
+@dirrm share/doc/tea/cs
+@dirrm share/doc/tea
diff --git a/editors/tea/distinfo b/editors/tea/distinfo
new file mode 100644
index 00000000000..41e3b6ce370
--- /dev/null
+++ b/editors/tea/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/14 04:49:08 reed Exp $
+
+SHA1 (tea-16.0.5.tar.bz2) = d1c38a7dec406a5a935373fea35b650f04a0331c
+RMD160 (tea-16.0.5.tar.bz2) = 16ee63c77486b000d322704607af1e8354bc5015
+Size (tea-16.0.5.tar.bz2) = 443526 bytes
+SHA1 (patch-aa) = 6d92c32956d46304703d0267c99b97075b1a349c
+SHA1 (patch-ab) = d9643f3fc1469744406a4c6de6aeb96f4709cbbb
diff --git a/editors/tea/options.mk b/editors/tea/options.mk
new file mode 100644
index 00000000000..3fe363feead
--- /dev/null
+++ b/editors/tea/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/04/14 04:49:08 reed Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.tea
+PKG_SUPPORTED_OPTIONS= aspell gtksourceview # enchant antiword
+PKG_SUGGESTED_OPTIONS= # none enabled by default
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Maspell)
+.include "../../textproc/aspell/buildlink3.mk"
+.endif
+
+# --enable-enchant disabled aspell so choose one or the other
+
+.if !empty(PKG_OPTIONS:Mgtksourceview)
+.include "../../devel/GConf2/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../x11/gtksourceview/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --enable-legacy
+.endif
diff --git a/editors/tea/patches/patch-aa b/editors/tea/patches/patch-aa
new file mode 100644
index 00000000000..92d6dd2715e
--- /dev/null
+++ b/editors/tea/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/14 04:49:08 reed Exp $
+
+--- Makefile.in.orig 2007-03-03 15:09:14.000000000 -0600
++++ Makefile.in 2007-04-13 21:57:47.000000000 -0500
+@@ -615,7 +615,7 @@
+
+ @DEB_TRUE@install-data-local:
+ @DEB_TRUE@ @$(NORMAL_INSTALL)
+-@DEB_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc;
++@DEB_TRUE@ $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/tea;
+ @DEB_FALSE@@FINK_TRUE@install-data-local:
+ @DEB_FALSE@@FINK_TRUE@ @$(NORMAL_INSTALL)
+ @DEB_FALSE@@FINK_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir); \
+@@ -636,14 +636,14 @@
+ @DEB_FALSE@@FINK_TRUE@ fi
+ @DEB_FALSE@@FINK_FALSE@install-data-local:
+ @DEB_FALSE@@FINK_FALSE@ @$(NORMAL_INSTALL)
+-@DEB_FALSE@@FINK_FALSE@ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc; \
+-@DEB_FALSE@@FINK_FALSE@ cp -r $(srcdir)/doc $(DESTDIR)$(pkgdatadir); \
+-@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/AUTHORS $(DESTDIR)$(pkgdatadir)/doc; \
+-@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/ChangeLog $(DESTDIR)$(pkgdatadir)/doc; \
+-@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/README $(DESTDIR)$(pkgdatadir)/doc; \
+-@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/NEWS $(DESTDIR)$(pkgdatadir)/doc; \
+-@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/doc; \
+-@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/TODO $(DESTDIR)$(pkgdatadir)/doc; \
++@DEB_FALSE@@FINK_FALSE@ $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp -r $(srcdir)/doc/* $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/AUTHORS $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/ChangeLog $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/README $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/NEWS $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/COPYING $(DESTDIR)$(datadir)/doc/tea; \
++@DEB_FALSE@@FINK_FALSE@ cp $(srcdir)/TODO $(DESTDIR)$(datadir)/doc/tea; \
+ @DEB_FALSE@@FINK_FALSE@ if test -d $(srcdir)/pixmaps; then \
+ @DEB_FALSE@@FINK_FALSE@ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
+ @DEB_FALSE@@FINK_FALSE@ for pixmap in $(srcdir)/pixmaps/*; do \
diff --git a/editors/tea/patches/patch-ab b/editors/tea/patches/patch-ab
new file mode 100644
index 00000000000..d30131d6b94
--- /dev/null
+++ b/editors/tea/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/04/14 04:49:08 reed Exp $
+
+--- src/tea_defs..orig 2007-04-13 22:00:03.000000000 -0500
++++ src/tea_defs.h 2007-04-13 22:02:15.000000000 -0500
+@@ -122,7 +122,7 @@
+
+ #else
+
+-#define TEA_DOC_DIR PACKAGE_DATA_DIR"/tea/doc/"
++#define TEA_DOC_DIR PACKAGE_DATA_DIR"/doc/tea/"
+
+ #endif
+