svn commit: r321126 - in head/editors/tea: . files

Martin Wilke miwi at FreeBSD.org
Mon Jun 17 15:10:34 UTC 2013


Author: miwi
Date: Mon Jun 17 15:10:33 2013
New Revision: 321126
URL: http://svnweb.freebsd.org/changeset/ports/321126

Log:
  - Update to 0.36.1
  
  PR:		179586
  Submitted by:	Ports Fury

Deleted:
  head/editors/tea/files/
Modified:
  head/editors/tea/Makefile
  head/editors/tea/distinfo
  head/editors/tea/pkg-descr

Modified: head/editors/tea/Makefile
==============================================================================
--- head/editors/tea/Makefile	Mon Jun 17 15:07:59 2013	(r321125)
+++ head/editors/tea/Makefile	Mon Jun 17 15:10:33 2013	(r321126)
@@ -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,16 +11,18 @@ COMMENT=	Simple and powerful Qt4-based t
 
 LICENSE=	GPLv3
 
+OPTIONS_RADIO=		SPELL
+OPTIONS_RADIO_SPELL=	ASPELL HUNSPELL
+OPTIONS_DEFAULT=	ASPELL
+
 USE_BZIP2=	yes
-USE_DOS2UNIX=	rvln.*
 USE_QT4=	gui moc_build qmake_build rcc_build
 MAKE_JOBS_SAFE=	yes
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/tea share/pixmaps/tea_icon_v2.png
 
-OPTIONS_RADIO=		SPELL
-OPTIONS_RADIO_SPELL=	ASPELL HUNSPELL
-OPTIONS_DEFAULT=	ASPELL
+DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
+		"${PORTNAME}" "" ""
 
 .include <bsd.port.options.mk>
 
@@ -40,12 +42,17 @@ QMAKEFLAGS+=	USE_HUNSPELL=false
 
 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
 
 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>

Modified: head/editors/tea/distinfo
==============================================================================
--- head/editors/tea/distinfo	Mon Jun 17 15:07:59 2013	(r321125)
+++ head/editors/tea/distinfo	Mon Jun 17 15:10:33 2013	(r321126)
@@ -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

Modified: head/editors/tea/pkg-descr
==============================================================================
--- head/editors/tea/pkg-descr	Mon Jun 17 15:07:59 2013	(r321125)
+++ head/editors/tea/pkg-descr	Mon Jun 17 15:10:33 2013	(r321126)
@@ -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)


More information about the svn-ports-all mailing list