Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2012 18:03:06 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306933 - head/textproc/goldendict
Message-ID:  <201211031803.qA3I36oj016135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Sat Nov  3 18:03:06 2012
New Revision: 306933
URL: http://svn.freebsd.org/changeset/ports/306933

Log:
  . move LICENCE up and pet portlint;  [1]
  . change WWW at pkg-descr;  [1]
  . remove LICENSE from pkg-descr;
  . use two line style headers;
  . remove ABI version (.0) from LIB_DEPENDS (hunspell-1.3 *is* the libarary name);
  . remove the indefinite article from COMMENT;
  . USE_GNOME=pkgconfig -> USE_PKGCONFIG=build;
  . make use of desktopfileutils at port and package;
  . bump PORTREVISION.
  
  PR:		ports/173243  [1]
  Submitted by:	nemysis <nemysis@gmx.ch>  [1]
  Feature safe:	yes

Modified:
  head/textproc/goldendict/Makefile
  head/textproc/goldendict/pkg-descr
  head/textproc/goldendict/pkg-plist

Modified: head/textproc/goldendict/Makefile
==============================================================================
--- head/textproc/goldendict/Makefile	Sat Nov  3 18:01:22 2012	(r306932)
+++ head/textproc/goldendict/Makefile	Sat Nov  3 18:03:06 2012	(r306933)
@@ -1,29 +1,27 @@
-# New ports collection makefile for:		textproc/goldendict
-# Date created:					2009-11-09
-# Whom:						bsam
-#
+# Created by: Boris Samorodov <bsam@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	goldendict
 PORTVERSION=	1.0.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	bsam@FreeBSD.org
-COMMENT=	A feature-rich dictionary lookup program (with QT lib)
+COMMENT=	Feature-rich dictionary lookup program (with QT lib)
 
-LIB_DEPENDS=	hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	hunspell-1.3:${PORTSDIR}/textproc/hunspell \
 		execinfo:${PORTSDIR}/devel/libexecinfo \
 		vorbis:${PORTSDIR}/audio/libvorbis
 
-LICENSE=	GPLv3
 USE_BZIP2=	yes
 HAS_CONFIGURE=	yes
-USE_GNOME=	pkgconfig
+USE_PKGCONFIG=	build
 USE_XORG=	xtst
+USE_GNOME=	desktopfileutils
 USE_QT4=	corelib gui webkit phonon \
 		qmake_build linguist_build moc_build rcc_build script_build uic_build
 
@@ -40,6 +38,7 @@ do-configure:
 post-install:
 	@${MKDIR} ${DATADIR}/locale
 	@${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${DATADIR}/locale/
+	@-update-desktop-database
 
 .include <bsd.port.pre.mk>
 

Modified: head/textproc/goldendict/pkg-descr
==============================================================================
--- head/textproc/goldendict/pkg-descr	Sat Nov  3 18:01:22 2012	(r306932)
+++ head/textproc/goldendict/pkg-descr	Sat Nov  3 18:03:06 2012	(r306933)
@@ -9,6 +9,4 @@ It supports:
     * ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed
       separately, or be referred to from .dsl files.
 
-LICENSE: GPL3 or later
-
-WWW: http://goldendict.berlios.de/
+WWW: http://goldendict.org/

Modified: head/textproc/goldendict/pkg-plist
==============================================================================
--- head/textproc/goldendict/pkg-plist	Sat Nov  3 18:01:22 2012	(r306932)
+++ head/textproc/goldendict/pkg-plist	Sat Nov  3 18:03:06 2012	(r306933)
@@ -15,3 +15,5 @@ share/pixmaps/goldendict.png
 @dirrm %%DATADIR%%/locale
 @dirrm %%DATADIR%%
 @dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database || :
+@unexec %%LOCALBASE%%/bin/update-desktop-database || :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211031803.qA3I36oj016135>