aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-07 19:48:28 +0800
committerwg <wg@FreeBSD.org>2013-09-07 19:48:28 +0800
commit4a12094184ee8e5d8f212bb6eedddd044481b008 (patch)
treea6d456bf140ed4258c8a4bfc1c32b83330d13702
parent35714794b3c7916fef9f405271408ef07309f8ee (diff)
downloadfreebsd-ports-gnome-4a12094184ee8e5d8f212bb6eedddd044481b008.tar.gz
freebsd-ports-gnome-4a12094184ee8e5d8f212bb6eedddd044481b008.tar.zst
freebsd-ports-gnome-4a12094184ee8e5d8f212bb6eedddd044481b008.zip
editors/tea: update to 36.0.3
- Update to 36.0.3 - Convert to new LIB_DEPENDS format - Add DOCS option PR: ports/181903 Submitted by: Danilo EgĂȘa Gondolfo <danilogondolfo gmail.com> (maintainer)
-rw-r--r--editors/tea/Makefile12
-rw-r--r--editors/tea/distinfo4
2 files changed, 11 insertions, 5 deletions
diff --git a/editors/tea/Makefile b/editors/tea/Makefile
index bd6f7871239b..e690fc674136 100644
--- a/editors/tea/Makefile
+++ b/editors/tea/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tea
-PORTVERSION= 36.0.2
+PORTVERSION= 36.0.3
CATEGORIES= editors
MASTER_SITES= http://semiletov.org/tea/dloads/
@@ -11,6 +11,7 @@ COMMENT= Simple and powerful Qt4-based text editor
LICENSE= GPLv3
+OPTIONS_DEFINE= DOCS
OPTIONS_RADIO= SPELL
OPTIONS_RADIO_SPELL= ASPELL HUNSPELL
OPTIONS_DEFAULT= ASPELL
@@ -19,6 +20,7 @@ USE_BZIP2= yes
USE_QT4= gui moc_build qmake_build rcc_build
PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png
+PORTDOCS= *
DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
"${PORTNAME}" "" ""
@@ -26,14 +28,14 @@ DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MASPELL}
-LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+LIB_DEPENDS+= libaspell.so:${PORTSDIR}/textproc/aspell
QMAKEFLAGS+= USE_ASPELL=true
.else
QMAKEFLAGS+= USE_ASPELL=false
.endif
.if ${PORT_OPTIONS:MHUNSPELL}
-LIB_DEPENDS+= hunspell:${PORTSDIR}/textproc/hunspell
+LIB_DEPENDS+= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell
QMAKEFLAGS+= USE_HUNSPELL=true
.else
QMAKEFLAGS+= USE_HUNSPELL=false
@@ -53,5 +55,9 @@ do-install:
&& ${INSTALL_PROGRAM} tea ${PREFIX}/bin)
(cd ${WRKSRC}/icons \
&& ${INSTALL_DATA} tea_icon_v2.png ${PREFIX}/share/pixmaps)
+.if ${PORT_OPTIONS:MDOCS}
+ (cd ${WRKSRC}/manuals \
+ && ${COPYTREE_SHARE} . ${DOCSDIR})
+.endif
.include <bsd.port.mk>
diff --git a/editors/tea/distinfo b/editors/tea/distinfo
index 25ec8fa02d01..d31e85e2a02b 100644
--- a/editors/tea/distinfo
+++ b/editors/tea/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tea-36.0.2.tar.bz2) = 6541b645451de3f6eefce58b55a302224b925bdbdb9efcfa1491bcf867baad6f
-SIZE (tea-36.0.2.tar.bz2) = 315046
+SHA256 (tea-36.0.3.tar.bz2) = 402152bfa3ea155833784c19ca677fb2983c136b7a683a15b78af1d0b63d4658
+SIZE (tea-36.0.3.tar.bz2) = 314850