Bug 177911 - editors/tea: Update to 35.0.0
Summary: editors/tea: Update to 35.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-17 19:10 UTC by tkato432
Modified: 2013-04-26 07:40 UTC (History)
0 users

See Also:


Attachments
file.diff (3.56 KB, patch)
2013-04-17 19:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-04-17 19:10:01 UTC
- Update to 35.0.0

New file:
files/patch-document.cpp
files/patch-rvln.cpp
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-17 19:10:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-04-26 07:34:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-04-26 07:34:59 UTC
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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"