View | Details | Raw Unified | Return to bug 177911
Collapse All | Expand All

(-)editors/tea/Makefile (-9 / +21 lines)
Lines 2-36 Link Here
2
# $FreeBSD: head/editors/tea/Makefile 313753 2013-03-09 19:59:21Z eadler $
2
# $FreeBSD: head/editors/tea/Makefile 313753 2013-03-09 19:59:21Z eadler $
3
3
4
PORTNAME=	tea
4
PORTNAME=	tea
5
DISTVERSION=	34.0.1
5
DISTVERSION=	35.0.0
6
CATEGORIES=	editors
6
CATEGORIES=	editors
7
MASTER_SITES=	SF/${PORTNAME}-editor/${PORTNAME}-editor/${PORTVERSION}
7
MASTER_SITES=	http://semiletov.org/tea/dloads/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Simple and powerful Qt4-based text editor
10
COMMENT=	Simple and powerful Qt4-based text editor
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
13
14
OPTIONS_RADIO=	SPELL
15
OPTIONS_RADIO_SPELL=	ASPELL HUNSPELL
16
OPTIONS_DEFAULT=	ASPELL
17
HUNSPELL_DESC=	Spell cheecking support via Hunspell
18
14
USE_BZIP2=	yes
19
USE_BZIP2=	yes
15
USE_QT4=	qmake_build moc_build rcc_build gui xml
20
USE_DOS2UNIX=	rvln.*
21
USE_QT4=	gui moc_build qmake_build rcc_build
16
MAKE_JOBS_SAFE=	yes
22
MAKE_JOBS_SAFE=	yes
17
23
18
PLIST_FILES=	bin/${PORTNAME}
24
PLIST_FILES=	bin/${PORTNAME}
19
25
20
OPTIONS_DEFINE=	ASPELL
21
OPTIONS_DEFAULT=	ASPELL
22
26
23
.include <bsd.port.options.mk>
27
.include <bsd.port.options.mk>
24
28
25
.if ${PORT_OPTIONS:MASPELL}
29
.if ${PORT_OPTIONS:MASPELL}
26
LIB_DEPENDS=	aspell:${PORTSDIR}/textproc/aspell
30
LIB_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
27
QMAKEFLAGS=	USE_ASPELL=true
31
QMAKEFLAGS+=	USE_ASPELL=true
32
.else
33
QMAKEFLAGS+=	USE_ASPELL=false
34
.endif
35
36
.if ${PORT_OPTIONS:MHUNSPELL}
37
LIB_DEPENDS+=	hunspell-1.3:${PORTSDIR}/textproc/hunspell
38
QMAKEFLAGS+=	USE_HUNSPELL=true
28
.else
39
.else
29
QMAKEFLAGS=	USE_ASPELL=false
40
QMAKEFLAGS+=	USE_HUNSPELL=false
30
.endif
41
.endif
31
42
32
post-patch:
43
post-patch:
33
	@${REINPLACE_CMD} -e '/aspell/s,/usr,${LOCALBASE},' ${WRKSRC}/src.pro
44
	@${REINPLACE_CMD} -e \
45
		's|/usr/include|${LOCALBASE}/include|' ${WRKSRC}/src.pro
34
46
35
do-configure:
47
do-configure:
36
	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}
48
	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}
(-)editors/tea/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (tea-34.0.1.tar.bz2) = 2de71096ebd01d7fd077a4a25fcfa9c7f59a7fc452996a669fee3b9bcadf07c5
1
SHA256 (tea-35.0.0.tar.bz2) = a2b7972937e1bd3fd01ff0194748aef326fe4f08ad5f2930e7c06d88e433b7fb
2
SIZE (tea-34.0.1.tar.bz2) = 314016
2
SIZE (tea-35.0.0.tar.bz2) = 314921
(-)editors/tea/files/patch-document.cpp (+16 lines)
Line 0 Link Here
1
--- document.cpp.orig
2
+++ document.cpp
3
@@ -206,11 +206,11 @@
4
 
5
   qDebug() << "defined(Q_OS_WIN) || defined(Q_OS_OS2)";
6
 
7
-#elif defined(Q_OS_LINUX)
8
+#elif defined(Q_OS_LINUX) || defined(Q_OS_UNIX)
9
 
10
   eol = "\n";
11
 
12
-  qDebug() << "Q_OS_LINUX";
13
+  qDebug() << "defined(Q_OS_LINUX) || defined(Q_OS_UNIX)";
14
 
15
 
16
 #elif defined(Q_OS_MAC)
(-)editors/tea/files/patch-rvln.cpp (+10 lines)
Line 0 Link Here
1
--- rvln.cpp.orig
2
+++ rvln.cpp
3
@@ -55,6 +55,7 @@
4
 #include <QSettings>
5
 #include <QLibraryInfo>
6
 #include <QCryptographicHash>
7
+#include <QDebug>
8
 
9
 
10
 #ifdef PRINTER_ENABLE
(-)editors/tea/pkg-descr (-1 / +1 lines)
Lines 19-22 Link Here
19
  - Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP, SVG, TIFF, TGA,
19
  - Built-in image viewer (PNG, JPEG, GIF, WBMP, BMP, SVG, TIFF, TGA,
20
    etc.), converter, and resizer
20
    etc.), converter, and resizer
21
21
22
WWW: http://tea-editor.sourceforge.net/
22
WWW: http://semiletov.org/tea/

Return to bug 177911