mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
- Update to 0.36.1
PR: 179586 Submitted by: Ports Fury
This commit is contained in:
parent
8ebdd95921
commit
33393ed6a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321126
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= tea
|
||||
DISTVERSION= 35.0.0
|
||||
PORTVERSION= 36.0.1
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://semiletov.org/tea/dloads/
|
||||
|
||||
@ -11,17 +11,19 @@ COMMENT= Simple and powerful Qt4-based text editor
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_DOS2UNIX= rvln.*
|
||||
USE_QT4= gui moc_build qmake_build rcc_build
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
OPTIONS_RADIO= SPELL
|
||||
OPTIONS_RADIO_SPELL= ASPELL HUNSPELL
|
||||
OPTIONS_DEFAULT= ASPELL
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_QT4= gui moc_build qmake_build rcc_build
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png
|
||||
|
||||
DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
|
||||
"${PORTNAME}" "" ""
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MASPELL}
|
||||
@ -39,6 +41,8 @@ QMAKEFLAGS+= USE_HUNSPELL=false
|
||||
.endif
|
||||
|
||||
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
|
||||
|
||||
@ -46,6 +50,9 @@ 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>
|
||||
|
@ -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
|
||||
|
@ -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)
|
@ -1,10 +0,0 @@
|
||||
--- rvln.cpp.orig
|
||||
+++ rvln.cpp
|
||||
@@ -55,6 +55,7 @@
|
||||
#include <QSettings>
|
||||
#include <QLibraryInfo>
|
||||
#include <QCryptographicHash>
|
||||
+#include <QDebug>
|
||||
|
||||
|
||||
#ifdef PRINTER_ENABLE
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user