ports/179586: editors/tea: Update to version 0.36.1
KATO Tsuguru
tkato432 at yahoo.com
Sat Jun 15 18:10:02 UTC 2013
>Number: 179586
>Category: ports
>Synopsis: editors/tea: Update to version 0.36.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 15 18:10:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 8.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.36.1
Remove file:
files/patch-document.cpp
files/patch-rvln.cpp
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/editors/tea/Makefile editors/tea/Makefile
--- /usr/ports/editors/tea/Makefile 2013-05-12 14:47:49.000000000 +0900
+++ editors/tea/Makefile 2013-06-16 00:00:00.000000000 +0900
@@ -2,7 +2,7 @@
# $FreeBSD: head/editors/tea/Makefile 317930 2013-05-12 04:55:53Z danfe $
PORTNAME= tea
-DISTVERSION= 35.0.0
+PORTVERSION= 36.0.1
CATEGORIES= editors
MASTER_SITES= http://semiletov.org/tea/dloads/
@@ -11,16 +11,18 @@
LICENSE= GPLv3
+OPTIONS_RADIO= SPELL
+OPTIONS_RADIO_SPELL= ASPELL HUNSPELL
+OPTIONS_DEFAULT= ASPELL
+
USE_BZIP2= yes
-USE_DOS2UNIX= rvln.*
USE_QT4= gui moc_build qmake_build rcc_build
MAKE_JOBS_SAFE= yes
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png
-OPTIONS_RADIO= SPELL
-OPTIONS_RADIO_SPELL= ASPELL HUNSPELL
-OPTIONS_DEFAULT= ASPELL
+DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
+ "${PORTNAME}" "" ""
.include <bsd.port.options.mk>
@@ -40,12 +42,17 @@
post-patch:
@${REINPLACE_CMD} -e \
+ 's|Q_OS_LINUX|Q_OS_UNIX|' ${WRKSRC}/document.cpp
+ @${REINPLACE_CMD} -e \
's|/usr/include|${LOCALBASE}/include|' ${WRKSRC}/src.pro
do-configure:
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
+ (cd ${WRKSRC}/bin \
+ && ${INSTALL_PROGRAM} tea ${PREFIX}/bin)
+ (cd ${WRKSRC}/icons \
+ && ${INSTALL_DATA} tea_icon_v2.png ${PREFIX}/share/pixmaps)
.include <bsd.port.mk>
diff -urN /usr/ports/editors/tea/distinfo editors/tea/distinfo
--- /usr/ports/editors/tea/distinfo 2013-04-26 16:08:25.000000000 +0900
+++ editors/tea/distinfo 2013-06-16 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (tea-35.0.0.tar.bz2) = a2b7972937e1bd3fd01ff0194748aef326fe4f08ad5f2930e7c06d88e433b7fb
-SIZE (tea-35.0.0.tar.bz2) = 314921
+SHA256 (tea-36.0.1.tar.bz2) = 472d7db0a814b4398564d77ccfcdfb6d8dd78452faca73079f6513e624942048
+SIZE (tea-36.0.1.tar.bz2) = 316905
diff -urN /usr/ports/editors/tea/files/patch-document.cpp editors/tea/files/patch-document.cpp
--- /usr/ports/editors/tea/files/patch-document.cpp 2013-04-26 16:08:25.000000000 +0900
+++ editors/tea/files/patch-document.cpp 1970-01-01 09:00:00.000000000 +0900
@@ -1,16 +0,0 @@
---- document.cpp.orig
-+++ document.cpp
-@@ -206,11 +206,11 @@
-
- qDebug() << "defined(Q_OS_WIN) || defined(Q_OS_OS2)";
-
--#elif defined(Q_OS_LINUX)
-+#elif defined(Q_OS_LINUX) || defined(Q_OS_UNIX)
-
- eol = "\n";
-
-- qDebug() << "Q_OS_LINUX";
-+ qDebug() << "defined(Q_OS_LINUX) || defined(Q_OS_UNIX)";
-
-
- #elif defined(Q_OS_MAC)
diff -urN /usr/ports/editors/tea/files/patch-rvln.cpp editors/tea/files/patch-rvln.cpp
--- /usr/ports/editors/tea/files/patch-rvln.cpp 2013-04-26 16:08:25.000000000 +0900
+++ editors/tea/files/patch-rvln.cpp 1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
---- rvln.cpp.orig
-+++ rvln.cpp
-@@ -55,6 +55,7 @@
- #include <QSettings>
- #include <QLibraryInfo>
- #include <QCryptographicHash>
-+#include <QDebug>
-
-
- #ifdef PRINTER_ENABLE
diff -urN /usr/ports/editors/tea/pkg-descr editors/tea/pkg-descr
--- /usr/ports/editors/tea/pkg-descr 2013-04-26 16:08:25.000000000 +0900
+++ editors/tea/pkg-descr 2013-06-16 00:00:00.000000000 +0900
@@ -1,6 +1,6 @@
-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:
+TEA is powerful text editor for Unix-like systems. It depends on Qt4
+and, optionally, GNU Aspell or Hunspell. With an ultimately small size,
+TEA provides hundreds of functions. Some of the features include:
- Built-in MC-like file manager (with support for archived files)
- Spellchecker (using the Aspell or/and Hunspell)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list