Info2: << Package: teaqt-%type_pkg[qt] Version: 33.1.0 Revision: 1 Type: qt (mac x11) Description: Powerful and easy-to-use Qt4-based editor DescDetail: << TEA is a powerful and easy-to-use Qt4-based editor with many useful features for HTML, Docbook, and LaTeX editing. It features a small footprint, a tabbed layout engine, support for multiple encodings, code snippets, templates, customizable hotkeys, an "open at cursor" function for HTML files and images, miscellaneous HTML tools, preview in external browser, string manipulation functions, Morse-code tools, bookmarks, syntax highlighting, and more. << DescUsage: << This is the new Qt4 based tea. The old GTK+2 version is in the package tea. %{ni}-x11 installs as %p/bin/teaqt to avoid conflicting with the old tea. %{ni}-mac installs as %p/Applications/tea.app. << License: GPL3 Maintainer: Daniel Johnson Homepage: http://tea-editor.sourceforge.net/ Source: mirror:sourceforge:tea-editor/tea-%v.tar.bz2 Source-MD5: 15593d59f6079f0114e390ec731a8527 PatchScript: perl -pi -e 's|/usr/include|%p/include|' src.pro Depends: << aspell-shlibs, libiconv, libpng15-shlibs, qt4-base-%type_pkg[qt]-qtcore-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtgui-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtscript-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtsvg-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtxml-shlibs (>= 4.7.3-1) << BuildDepends: << aspell-dev, fink-package-precedence, libiconv-dev, libpng15, qt4-base-%type_pkg[qt] (>= 4.7.3-1), ( %type_pkg[qt] = mac) system-openssl-dev << GCC: 4.0 CompileScript: << #!/bin/bash -ev if [ "%type_pkg[qt]" == "mac" ]; then %p/lib/qt4-%type_pkg[qt]/bin/qmake PREFIX=%p/Applications USE_HUNSPELL=false "INCLUDEPATH+=%p/include" else %p/lib/qt4-%type_pkg[qt]/bin/qmake PREFIX=%p/bin USE_HUNSPELL=false "INCLUDEPATH+=%p/include" fi make fink-package-precedence --no-h . << InstallScript: << #!/bin/bash -ev make install INSTALL_ROOT=%d if [ "%type_pkg[qt]" == "x11" ]; then mv %i/bin/tea %i/bin/teaqt fi << DocFiles: AUTHORS ChangeLog COPYING NEWS* README TODO manuals/* <<