Import QT version of tea editor.

TEA is a powerful and simple-in-use QT-based text editor with syntax
highlighting.  TEA can also open Openoffice.org Writer and Microsoft
Word 2007 files.
This commit is contained in:
giovanni 2009-04-20 10:29:05 +00:00
parent 075b497e2e
commit 93e531543f
6 changed files with 77 additions and 0 deletions

39
editors/teaqt/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/04/20 10:29:05 giovanni Exp $
COMMENT = powerful and simple qt4 editor
V = 23.4.0
DISTNAME = tea-${V}
PKGNAME = teaqt-${V}
CATEGORIES = editors x11
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tea-editor/}
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = http://tea-editor.sf.net/
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ICE SM X11 Xext Xi Xinerama Xrandr Xrender \
c fontconfig freetype glib-2.0 gthread-2.0 iconv \
intl m QtGui QtScript QtSvg QtXml png pthread stdc++ z
LIB_DEPENDS = aspell.>=16:aspell-*:textproc/aspell/core
MODULES = x11/qt4
USE_X11 = Yes
NO_REGRESS = Yes
do-configure:
cd ${WRKSRC} && qmake4
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/tea ${PREFIX}/bin/tea
.include <bsd.port.mk>

5
editors/teaqt/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (tea-23.4.0.tar.bz2) = c11sGCn4sHS5mi/8PHo7wQ==
RMD160 (tea-23.4.0.tar.bz2) = Dgxxw6rJrS4d0Gq0mWS9cfyDyZ0=
SHA1 (tea-23.4.0.tar.bz2) = bKgt0pvdx/7PG2wq3jUCU2YlvTA=
SHA256 (tea-23.4.0.tar.bz2) = 9/dQzVE9eUIMs5sYj2vfC7z6KdaCPr4Y1ONuPm2r0lw=
SIZE (tea-23.4.0.tar.bz2) = 174466

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-spellchecker_cpp,v 1.1.1.1 2009/04/20 10:29:05 giovanni Exp $
--- spellchecker.cpp.orig Fri Apr 17 20:47:13 2009
+++ spellchecker.cpp Mon Apr 20 11:15:41 2009
@@ -54,9 +54,6 @@ CSpellchecker::CSpellchecker (const QString &lang)
CSpellchecker::~CSpellchecker()
{
- if (speller)
- delete_aspell_speller (speller);
-
if (spell_config)
delete_aspell_config (spell_config);

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_pro,v 1.1.1.1 2009/04/20 10:29:05 giovanni Exp $
--- src.pro.orig Fri Apr 17 20:47:13 2009
+++ src.pro Mon Apr 20 11:15:42 2009
@@ -68,11 +68,9 @@ DISTFILES += ChangeLog \
manuals/ru.html \
text-data/* \
translations/*
-exists("/usr/include/aspell.h") {
message ("ASpell enabled")
LIBS += -laspell
DEFINES += ASPELL_ENABLE
-}
DEFINES += NOCRYPT \
NOUNCRYPT

3
editors/teaqt/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
TEA is a powerful and simple-in-use QT-based text editor with syntax
highlighting. TEA can also open Openoffice.org Writer and Microsoft
Word 2007 files.

2
editors/teaqt/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/20 10:29:05 giovanni Exp $
@bin bin/tea