Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 06:34:46 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316572 - in head/editors/tea: . files
Message-ID:  <201304260634.r3Q6Ykpu035833@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Apr 26 06:34:46 2013
New Revision: 316572
URL: http://svnweb.freebsd.org/changeset/ports/316572

Log:
  - Update to 35.0.0
  
  PR:		177911
  Submitted by:	Ports Fury

Added:
  head/editors/tea/files/
  head/editors/tea/files/patch-document.cpp   (contents, props changed)
  head/editors/tea/files/patch-rvln.cpp   (contents, props changed)
Modified:
  head/editors/tea/Makefile
  head/editors/tea/distinfo
  head/editors/tea/pkg-descr   (contents, props changed)

Modified: head/editors/tea/Makefile
==============================================================================
--- head/editors/tea/Makefile	Fri Apr 26 06:33:30 2013	(r316571)
+++ head/editors/tea/Makefile	Fri Apr 26 06:34:46 2013	(r316572)
@@ -2,35 +2,47 @@
 # $FreeBSD$
 
 PORTNAME=	tea
-DISTVERSION=	34.0.1
+DISTVERSION=	35.0.0
 CATEGORIES=	editors
-MASTER_SITES=	SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION}
+MASTER_SITES=	http://semiletov.org/tea/dloads/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple and powerful Qt4-based text editor
 
 LICENSE=	GPLv3
 
+OPTIONS_RADIO=	SPELL
+OPTIONS_RADIO_SPELL=	ASPELL HUNSPELL
+OPTIONS_DEFAULT=	ASPELL
+HUNSPELL_DESC=	Spell cheecking support via Hunspell
+
 USE_BZIP2=	yes
-USE_QT4=	qmake_build moc_build rcc_build gui xml
+USE_DOS2UNIX=	rvln.*
+USE_QT4=	gui moc_build qmake_build rcc_build
 MAKE_JOBS_SAFE=	yes
 
 PLIST_FILES=	bin/${PORTNAME}
 
-OPTIONS_DEFINE=	ASPELL
-OPTIONS_DEFAULT=	ASPELL
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MASPELL}
-LIB_DEPENDS=	aspell:${PORTSDIR}/textproc/aspell
-QMAKEFLAGS=	USE_ASPELL=true
+LIB_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
+QMAKEFLAGS+=	USE_ASPELL=true
+.else
+QMAKEFLAGS+=	USE_ASPELL=false
+.endif
+
+.if ${PORT_OPTIONS:MHUNSPELL}
+LIB_DEPENDS+=	hunspell-1.3:${PORTSDIR}/textproc/hunspell
+QMAKEFLAGS+=	USE_HUNSPELL=true
 .else
-QMAKEFLAGS=	USE_ASPELL=false
+QMAKEFLAGS+=	USE_HUNSPELL=false
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/aspell/s,/usr,${LOCALBASE},' ${WRKSRC}/src.pro
+	@${REINPLACE_CMD} -e \
+		's|/usr/include|${LOCALBASE}/include|' ${WRKSRC}/src.pro
 
 do-configure:
 	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}

Modified: head/editors/tea/distinfo
==============================================================================
--- head/editors/tea/distinfo	Fri Apr 26 06:33:30 2013	(r316571)
+++ head/editors/tea/distinfo	Fri Apr 26 06:34:46 2013	(r316572)
@@ -1,2 +1,2 @@
-SHA256 (tea-34.0.1.tar.bz2) = 2de71096ebd01d7fd077a4a25fcfa9c7f59a7fc452996a669fee3b9bcadf07c5
-SIZE (tea-34.0.1.tar.bz2) = 314016
+SHA256 (tea-35.0.0.tar.bz2) = a2b7972937e1bd3fd01ff0194748aef326fe4f08ad5f2930e7c06d88e433b7fb
+SIZE (tea-35.0.0.tar.bz2) = 314921

Added: head/editors/tea/files/patch-document.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/tea/files/patch-document.cpp	Fri Apr 26 06:34:46 2013	(r316572)
@@ -0,0 +1,16 @@
+--- 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)

Added: head/editors/tea/files/patch-rvln.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/tea/files/patch-rvln.cpp	Fri Apr 26 06:34:46 2013	(r316572)
@@ -0,0 +1,10 @@
+--- rvln.cpp.orig
++++ rvln.cpp
+@@ -55,6 +55,7 @@
+ #include <QSettings>
+ #include <QLibraryInfo>
+ #include <QCryptographicHash>
++#include <QDebug>
+ 
+ 
+ #ifdef PRINTER_ENABLE

Modified: head/editors/tea/pkg-descr
==============================================================================
--- head/editors/tea/pkg-descr	Fri Apr 26 06:33:30 2013	(r316571)
+++ head/editors/tea/pkg-descr	Fri Apr 26 06:34:46 2013	(r316572)
@@ -19,4 +19,4 @@ hundreds of functions.  Some of the feat
   - Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP, SVG, TIFF, TGA,
     etc.), converter, and resizer
 
-WWW: http://tea-editor.sourceforge.net/
+WWW: http://semiletov.org/tea/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304260634.r3Q6Ykpu035833>