aboutsummaryrefslogtreecommitdiff
path: root/textproc/goldendict
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2012-11-03 18:03:06 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2012-11-03 18:03:06 +0000
commit8470cf82c1b77462b09d075db1a0a4c165e8cb21 (patch)
tree17b610af7f0015e296b99c2001b92884562e6bc6 /textproc/goldendict
parent00df1d9662541168cbcfdde1e4fa20d644009793 (diff)
Notes
Diffstat (limited to 'textproc/goldendict')
-rw-r--r--textproc/goldendict/Makefile19
-rw-r--r--textproc/goldendict/pkg-descr4
-rw-r--r--textproc/goldendict/pkg-plist2
3 files changed, 12 insertions, 13 deletions
diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile
index 2d0f0503e482..9b83a8048e42 100644
--- a/textproc/goldendict/Makefile
+++ b/textproc/goldendict/Makefile
@@ -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>
diff --git a/textproc/goldendict/pkg-descr b/textproc/goldendict/pkg-descr
index 8e2793890262..8713409884fa 100644
--- a/textproc/goldendict/pkg-descr
+++ b/textproc/goldendict/pkg-descr
@@ -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/
diff --git a/textproc/goldendict/pkg-plist b/textproc/goldendict/pkg-plist
index 16b4436c09cf..4fc8eb9f13e1 100644
--- a/textproc/goldendict/pkg-plist
+++ b/textproc/goldendict/pkg-plist
@@ -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 || :