aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-06-29 19:01:55 +0800
committerdanfe <danfe@FreeBSD.org>2010-06-29 19:01:55 +0800
commitfb4405a806434a14e8b009f139b3481fa8d262b1 (patch)
treecbd67fdbdb8eb67e9a6c3bddf19a70be6b597f45
parent28af2f7410b61ba7b8bb826f814c903d07e92d93 (diff)
downloadfreebsd-ports-gnome-fb4405a806434a14e8b009f139b3481fa8d262b1.tar.gz
freebsd-ports-gnome-fb4405a806434a14e8b009f139b3481fa8d262b1.tar.zst
freebsd-ports-gnome-fb4405a806434a14e8b009f139b3481fa8d262b1.zip
- Update to version 28.0.0, the latest to date
- Now that it is based on Qt instead of Gtk+2, remove references to the latter throughout the port - Kill pkg-plist as it is just a single installed file now (resources are bundled inside) - Add LICENSE (GPLv3) and cleanup Makefile - Update port description to match current state of affairs - Relinquish to the wild, I haven't been using it for years Feature safe: yes
-rw-r--r--editors/tea/Makefile50
-rw-r--r--editors/tea/distinfo6
-rw-r--r--editors/tea/pkg-descr32
-rw-r--r--editors/tea/pkg-plist193
4 files changed, 40 insertions, 241 deletions
diff --git a/editors/tea/Makefile b/editors/tea/Makefile
index 804c69c2d9c8..5c855c2bce28 100644
--- a/editors/tea/Makefile
+++ b/editors/tea/Makefile
@@ -6,48 +6,40 @@
#
PORTNAME= tea
-DISTVERSION= 17.6.0
-PORTREVISION= 7
+DISTVERSION= 28.0.0
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION}
-MAINTAINER= danfe@FreeBSD.org
-COMMENT= A simple and powerful GTK+ text editor
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A simple and powerful text editor
+
+LICENSE= GPLv3
USE_BZIP2= yes
-GNU_CONFIGURE= yes
-USE_GETTEXT= yes
-USE_GNOME= gtk20
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build rcc_build corelib gui script svg xml
+
+PLIST_FILES= bin/${PORTNAME}
-OPTIONS= TEA_ONLY "Build original GTK-only version" on \
- ASPELL "Build with GNU aspell support" on \
- CURL "Build with libCURL support" off
+OPTIONS= ASPELL "Build with GNU Aspell support" on
.include <bsd.port.pre.mk>
-.if defined(WITH_TEA_ONLY)
-CONFIGURE_ARGS+= --enable-legacy
+.if defined(WITH_ASPELL)
+LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
+QMAKEFLAGS+= USE_ASPELL=true
.else
-USE_GNOME+= gtksourceview
+QMAKEFLAGS+= USE_ASPELL=false
.endif
-.if defined(WITH_ASPELL) || exists(${LOCALBASE}/lib/libaspell.so)
-LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' ${WRKSRC}/src.pro
-.if defined(WITH_CURL) || exists(${LOCALBASE}/lib/libcurl.so)
-LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl
-.endif
+do-configure:
+ @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${QMAKE} ${QMAKEFLAGS} PREFIX=$PREFIX})
-post-patch: .SILENT
-# Correct documentation location in FreeBSD world
- ${REINPLACE_CMD} -e 's|/tea/doc/|/doc/tea/|' \
- ${WRKSRC}/src/tea_defs.h
-# Fix FINK-related defines (pretend we're Darwin)
- ${REINPLACE_CMD} -e '5711d; 5714,5717d' ${WRKSRC}/configure
-# Do not install yet another copy of GPL
- ${REINPLACE_CMD} -e '641d' ${WRKSRC}/Makefile.in
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>
diff --git a/editors/tea/distinfo b/editors/tea/distinfo
index c573bf7a96e0..4971cc893ebd 100644
--- a/editors/tea/distinfo
+++ b/editors/tea/distinfo
@@ -1,3 +1,3 @@
-MD5 (tea-17.6.0.tar.bz2) = cbee64e5579be5ae5c42e4f66e343750
-SHA256 (tea-17.6.0.tar.bz2) = cd5b06fdb9274380e6b455ca479b597e089cabe04eabe7f37c0d2871bfff7a01
-SIZE (tea-17.6.0.tar.bz2) = 456737
+MD5 (tea-28.0.0.tar.bz2) = 33bc300e916475b1679f2317d96cccd9
+SHA256 (tea-28.0.0.tar.bz2) = 5ddc2d334a7fc42177826b97db8952664db31711735d3df82e6a17741fa832a7
+SIZE (tea-28.0.0.tar.bz2) = 222133
diff --git a/editors/tea/pkg-descr b/editors/tea/pkg-descr
index 995d91d488f1..caef55725394 100644
--- a/editors/tea/pkg-descr
+++ b/editors/tea/pkg-descr
@@ -1,22 +1,22 @@
-TEA is powerful text editor for GNU/Linux, Darwin, Mac OS X, Solaris, and
-*BSD. It depends on GTK+2 only (and GNU aspell optionally), but can be
-built with support for GtkSourceView (version 1 or 2) to enable some extra
-syntax highlighting power. With an ultimately small size, TEA provides
+TEA is powerful text editor for Unix-like systems. It depends on Qt4 and,
+optionally, GNU Aspell. With an ultimately small size, TEA provides
hundreds of functions. Some of the features include:
- - Built-in file manager (with support for archived files)
- - Spellchecker (using aspell)
+ - Built-in MC-like file manager (with support for archived files)
+ - Spellchecker (using the Aspell or/and Hunspell)
- Tabbed layout engine
- - Multiple encodings support
- - Code snippets, sessions and templates support
- - RTF-reader
- - Miscellaneous HTML tools
- - Tools for Wikipedia, DocBook, and LaTeX content editing
- - Preview in external browsers
- - Bracket matching, syntax highlighting
- - Bookmarks
+ - Syntax highlighting for C, C++, shell, C#, Fortran, Java, LilyPond,
+ Lua, NASM, NSIS, Pascal, Perl, PHP, PO (gettext), Seed7, TeX/LaTeX,
+ Vala, Verilog, XML, HTML, XHTML, etc.
+ - Multiple encodings support, hotkeys customizations, bookmarks, Morse
+ code generator, screenshot utility, calendar with organizer
+ - Code snippets, sessions, and templates support
+ - Miscellaneous HTML tools; preview in external browsers
+ - Wikipedia, DocBook, LaTeX, Lout editing support
+ - String-handling functions such as sorting, reverse, format killing,
+ trimming, filtering, conversions, etc.
- Drag'n'drop support (with text files and pictures)
- - Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP)
- - Automatic text encoding detection for various languages
+ - Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP, SVG, TIFF, TGA,
+ etc.), converter, and resizer
WWW: http://tea-editor.sourceforge.net/
diff --git a/editors/tea/pkg-plist b/editors/tea/pkg-plist
deleted file mode 100644
index bafe9d24f92c..000000000000
--- a/editors/tea/pkg-plist
+++ /dev/null
@@ -1,193 +0,0 @@
-bin/tea
-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
-%%DATADIR%%/pixmaps/tea_icon_v2.png
-%%DATADIR%%/pixmaps/tea_logo.jpg
-@dirrm %%DATADIR%%/pixmaps
-@dirrm %%DATADIR%%
-%%DOCSDIR%%/cs/index.html
-%%DOCSDIR%%/en/a1030.html
-%%DOCSDIR%%/en/c102.html
-%%DOCSDIR%%/en/c113.html
-%%DOCSDIR%%/en/c14.html
-%%DOCSDIR%%/en/c226.html
-%%DOCSDIR%%/en/c243.html
-%%DOCSDIR%%/en/c30.html
-%%DOCSDIR%%/en/c319.html
-%%DOCSDIR%%/en/c387.html
-%%DOCSDIR%%/en/c68.html
-%%DOCSDIR%%/en/c801.html
-%%DOCSDIR%%/en/c807.html
-%%DOCSDIR%%/en/c843.html
-%%DOCSDIR%%/en/c874.html
-%%DOCSDIR%%/en/c958.html
-%%DOCSDIR%%/en/c983.html
-%%DOCSDIR%%/en/c993.html
-%%DOCSDIR%%/en/index.html
-%%DOCSDIR%%/en/x286.html
-%%DOCSDIR%%/en/x329.html
-%%DOCSDIR%%/en/x350.html
-%%DOCSDIR%%/en/x367.html
-%%DOCSDIR%%/en/x400.html
-%%DOCSDIR%%/en/x426.html
-%%DOCSDIR%%/en/x460.html
-%%DOCSDIR%%/en/x471.html
-%%DOCSDIR%%/en/x488.html
-%%DOCSDIR%%/en/x498.html
-%%DOCSDIR%%/en/x505.html
-%%DOCSDIR%%/en/x520.html
-%%DOCSDIR%%/en/x541.html
-%%DOCSDIR%%/en/x552.html
-%%DOCSDIR%%/en/x563.html
-%%DOCSDIR%%/en/x575.html
-%%DOCSDIR%%/en/x59.html
-%%DOCSDIR%%/en/x62.html
-%%DOCSDIR%%/en/x674.html
-%%DOCSDIR%%/en/x680.html
-%%DOCSDIR%%/en/x698.html
-%%DOCSDIR%%/en/x751.html
-%%DOCSDIR%%/en/x760.html
-%%DOCSDIR%%/en/x791.html
-%%DOCSDIR%%/en/x887.html
-%%DOCSDIR%%/en/x913.html
-%%DOCSDIR%%/en/x917.html
-%%DOCSDIR%%/en/x924.html
-%%DOCSDIR%%/en/x932.html
-%%DOCSDIR%%/en/x941.html
-%%DOCSDIR%%/en/x947.html
-%%DOCSDIR%%/en/x954.html
-%%DOCSDIR%%/en/x975.html
-%%DOCSDIR%%/es/a799.html
-%%DOCSDIR%%/es/c105.html
-%%DOCSDIR%%/es/c18.html
-%%DOCSDIR%%/es/c197.html
-%%DOCSDIR%%/es/c210.html
-%%DOCSDIR%%/es/c231.html
-%%DOCSDIR%%/es/c298.html
-%%DOCSDIR%%/es/c34.html
-%%DOCSDIR%%/es/c590.html
-%%DOCSDIR%%/es/c616.html
-%%DOCSDIR%%/es/c623.html
-%%DOCSDIR%%/es/c63.html
-%%DOCSDIR%%/es/c651.html
-%%DOCSDIR%%/es/c675.html
-%%DOCSDIR%%/es/c742.html
-%%DOCSDIR%%/es/c771.html
-%%DOCSDIR%%/es/c792.html
-%%DOCSDIR%%/es/c94.html
-%%DOCSDIR%%/es/favicon.ico
-%%DOCSDIR%%/es/img/caution.gif
-%%DOCSDIR%%/es/img/cross.png
-%%DOCSDIR%%/es/img/home.gif
-%%DOCSDIR%%/es/img/important.gif
-%%DOCSDIR%%/es/img/leftbuttons.png
-%%DOCSDIR%%/es/img/logo.gif
-%%DOCSDIR%%/es/img/next.gif
-%%DOCSDIR%%/es/img/note.gif
-%%DOCSDIR%%/es/img/prev.gif
-%%DOCSDIR%%/es/img/resize.png
-%%DOCSDIR%%/es/img/rightbuttons.png
-%%DOCSDIR%%/es/img/runbutton.png
-%%DOCSDIR%%/es/img/runbutton1.png
-%%DOCSDIR%%/es/img/tip.gif
-%%DOCSDIR%%/es/img/toolbar.gif
-%%DOCSDIR%%/es/img/up.gif
-%%DOCSDIR%%/es/img/warning.gif
-%%DOCSDIR%%/es/index.html
-%%DOCSDIR%%/es/style.css
-%%DOCSDIR%%/es/x242.html
-%%DOCSDIR%%/es/x261.html
-%%DOCSDIR%%/es/x278.html
-%%DOCSDIR%%/es/x305.html
-%%DOCSDIR%%/es/x332.html
-%%DOCSDIR%%/es/x341.html
-%%DOCSDIR%%/es/x350.html
-%%DOCSDIR%%/es/x366.html
-%%DOCSDIR%%/es/x373.html
-%%DOCSDIR%%/es/x388.html
-%%DOCSDIR%%/es/x398.html
-%%DOCSDIR%%/es/x497.html
-%%DOCSDIR%%/es/x503.html
-%%DOCSDIR%%/es/x515.html
-%%DOCSDIR%%/es/x558.html
-%%DOCSDIR%%/es/x567.html
-%%DOCSDIR%%/es/x579.html
-%%DOCSDIR%%/es/x687.html
-%%DOCSDIR%%/es/x704.html
-%%DOCSDIR%%/es/x708.html
-%%DOCSDIR%%/es/x715.html
-%%DOCSDIR%%/es/x719.html
-%%DOCSDIR%%/es/x722.html
-%%DOCSDIR%%/es/x726.html
-%%DOCSDIR%%/es/x733.html
-%%DOCSDIR%%/es/x738.html
-%%DOCSDIR%%/es/x763.html
-%%DOCSDIR%%/ru/a807.html
-%%DOCSDIR%%/ru/c13.html
-%%DOCSDIR%%/ru/c190.html
-%%DOCSDIR%%/ru/c207.html
-%%DOCSDIR%%/ru/c254.html
-%%DOCSDIR%%/ru/c31.html
-%%DOCSDIR%%/ru/c320.html
-%%DOCSDIR%%/ru/c649.html
-%%DOCSDIR%%/ru/c656.html
-%%DOCSDIR%%/ru/c688.html
-%%DOCSDIR%%/ru/c70.html
-%%DOCSDIR%%/ru/c715.html
-%%DOCSDIR%%/ru/c769.html
-%%DOCSDIR%%/ru/c791.html
-%%DOCSDIR%%/ru/c801.html
-%%DOCSDIR%%/ru/c91.html
-%%DOCSDIR%%/ru/c99.html
-%%DOCSDIR%%/ru/index.html
-%%DOCSDIR%%/ru/x237.html
-%%DOCSDIR%%/ru/x264.html
-%%DOCSDIR%%/ru/x285.html
-%%DOCSDIR%%/ru/x300.html
-%%DOCSDIR%%/ru/x329.html
-%%DOCSDIR%%/ru/x336.html
-%%DOCSDIR%%/ru/x358.html
-%%DOCSDIR%%/ru/x371.html
-%%DOCSDIR%%/ru/x396.html
-%%DOCSDIR%%/ru/x402.html
-%%DOCSDIR%%/ru/x422.html
-%%DOCSDIR%%/ru/x433.html
-%%DOCSDIR%%/ru/x445.html
-%%DOCSDIR%%/ru/x458.html
-%%DOCSDIR%%/ru/x468.html
-%%DOCSDIR%%/ru/x541.html
-%%DOCSDIR%%/ru/x545.html
-%%DOCSDIR%%/ru/x562.html
-%%DOCSDIR%%/ru/x59.html
-%%DOCSDIR%%/ru/x601.html
-%%DOCSDIR%%/ru/x610.html
-%%DOCSDIR%%/ru/x639.html
-%%DOCSDIR%%/ru/x64.html
-%%DOCSDIR%%/ru/x710.html
-%%DOCSDIR%%/ru/x726.html
-%%DOCSDIR%%/ru/x736.html
-%%DOCSDIR%%/ru/x743.html
-%%DOCSDIR%%/ru/x747.html
-%%DOCSDIR%%/ru/x750.html
-%%DOCSDIR%%/ru/x766.html
-%%DOCSDIR%%/ru/x787.html
-%%DOCSDIR%%/tea_doc.css
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/TODO
-@dirrm %%DOCSDIR%%/cs
-@dirrm %%DOCSDIR%%/en
-@dirrm %%DOCSDIR%%/es/img
-@dirrm %%DOCSDIR%%/es
-@dirrm %%DOCSDIR%%/ru
-@dirrm %%DOCSDIR%%