summaryrefslogtreecommitdiff
path: root/textproc/goldendict
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/goldendict')
-rw-r--r--textproc/goldendict/Makefile39
-rw-r--r--textproc/goldendict/distinfo2
-rw-r--r--textproc/goldendict/files/patch-bgl_babylon.cc10
-rw-r--r--textproc/goldendict/files/patch-dictzip.c10
-rw-r--r--textproc/goldendict/files/patch-goldendict.pro36
-rw-r--r--textproc/goldendict/files/patch-greektranslit.cc8
-rw-r--r--textproc/goldendict/files/patch-processwrapper.cc9
-rw-r--r--textproc/goldendict/files/patch-qtsingleapplication-src-qtlocalpeer.cpp10
-rw-r--r--textproc/goldendict/pkg-descr12
-rw-r--r--textproc/goldendict/pkg-plist14
10 files changed, 0 insertions, 150 deletions
diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile
deleted file mode 100644
index bd33e316493d..000000000000
--- a/textproc/goldendict/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Created by: Boris Samorodov <bsam@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= goldendict
-PORTVERSION= 1.0.1
-PORTREVISION= 16
-CATEGORIES= textproc
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-
-MAINTAINER= bsam@FreeBSD.org
-COMMENT= Feature-rich Qt4 based dictionary lookup program
-
-LICENSE= GPLv3
-
-DEPRECATED= Qt4 has been EOL since december 2015
-EXPIRATION_DATE= 2019-03-15
-
-LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
- libvorbis.so:audio/libvorbis
-
-NO_WRKSUBDIR= yes
-USES= compiler:c++11-lang dos2unix iconv:wchar_t pkgconfig qmake qt:4 tar:bzip2
-DOS2UNIX_FILES= processwrapper.cc
-USE_XORG= xtst
-USE_QT= corelib gui webkit phonon \
- linguist_build moc_build rcc_build script_build uic_build
-LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-INSTALLS_ICONS= yes
-
-post-patch:
- @${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DATADIR}/locale
- ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
-.include <bsd.port.mk>
diff --git a/textproc/goldendict/distinfo b/textproc/goldendict/distinfo
deleted file mode 100644
index 04dd8d50db2e..000000000000
--- a/textproc/goldendict/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (goldendict-1.0.1-src.tar.bz2) = b3fb0405a5edb38f02ef881b48c36e46e2eacf641b0caf8d99403f595a4be9a6
-SIZE (goldendict-1.0.1-src.tar.bz2) = 2705932
diff --git a/textproc/goldendict/files/patch-bgl_babylon.cc b/textproc/goldendict/files/patch-bgl_babylon.cc
deleted file mode 100644
index 7c185934881c..000000000000
--- a/textproc/goldendict/files/patch-bgl_babylon.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./bgl_babylon.cc.orig 2010-12-04 00:12:46.000000000 +0300
-+++ ./bgl_babylon.cc 2010-12-28 11:46:37.203723541 +0300
-@@ -26,6 +26,7 @@
- #include<stdlib.h>
- #include<string.h>
- #include<stdio.h>
-+#include<unistd.h>
- #include<iconv.h>
- #include <QTextDocument>
-
diff --git a/textproc/goldendict/files/patch-dictzip.c b/textproc/goldendict/files/patch-dictzip.c
deleted file mode 100644
index 2aaab52bb626..000000000000
--- a/textproc/goldendict/files/patch-dictzip.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./dictzip.c.orig 2010-12-04 00:12:46.000000000 +0300
-+++ ./dictzip.c 2010-12-28 11:46:37.205720708 +0300
-@@ -23,6 +23,7 @@
- */
-
- #include <stdlib.h>
-+#include <time.h>
- #include "dictzip.h"
- #include <limits.h>
- #include <stdarg.h>
diff --git a/textproc/goldendict/files/patch-goldendict.pro b/textproc/goldendict/files/patch-goldendict.pro
deleted file mode 100644
index 4f7442d0666f..000000000000
--- a/textproc/goldendict/files/patch-goldendict.pro
+++ /dev/null
@@ -1,36 +0,0 @@
---- ./goldendict.pro.orig 2010-12-04 00:12:46.000000000 +0300
-+++ ./goldendict.pro 2010-12-28 11:46:37.207723741 +0300
-@@ -58,12 +58,12 @@
- ogg \
- hunspell
- LIBS += -lX11 \
-- -lXtst
-+ -lXtst -lexecinfo
- PREFIX = $$(PREFIX)
- isEmpty( PREFIX ):PREFIX = /usr/local
-- DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
-+ DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
- target.path = $$PREFIX/bin/
-- locale.path = $$PREFIX/share/apps/goldendict/locale/
-+ locale.path = $$PREFIX/share/goldendict/locale/
- locale.files = locale/*.qm
- INSTALLS += target \
- locale
-@@ -72,13 +72,15 @@
- INSTALLS += icons
- icons2.path = $$PREFIX/share/app-install/icons
- icons2.files = redist/icons/*.*
-- INSTALLS += icons2
-+ # we don't use icons2 directory at FreeBSD
-+ #INSTALLS += icons2
- desktops.path = $$PREFIX/share/applications
- desktops.files = redist/*.desktop
- INSTALLS += desktops
- desktops2.path = $$PREFIX/share/app-install/desktop
- desktops2.files = redist/*.desktop
-- INSTALLS += desktops2
-+ # we don't use desktop2 directory at FreeBSD
-+ #INSTALLS += desktops2
- }
- DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
-
diff --git a/textproc/goldendict/files/patch-greektranslit.cc b/textproc/goldendict/files/patch-greektranslit.cc
deleted file mode 100644
index a17422a8c6ee..000000000000
--- a/textproc/goldendict/files/patch-greektranslit.cc
+++ /dev/null
@@ -1,8 +0,0 @@
---- ./greektranslit.cc.orig 2010-12-28 11:54:33.498725323 +0300
-+++ ./greektranslit.cc 2010-12-28 11:54:44.774724956 +0300
-@@ -1,4 +1,4 @@
--/* This file is (c) 2010 Jennie Petoumenou <epetoumenou@gmail.com>
-+/* This file is (c) 2010 Jennie Petoumenou <epetoumenou@gmail.com>
- * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
-
- #include "greektranslit.hh"
diff --git a/textproc/goldendict/files/patch-processwrapper.cc b/textproc/goldendict/files/patch-processwrapper.cc
deleted file mode 100644
index 3ae6f65b00e7..000000000000
--- a/textproc/goldendict/files/patch-processwrapper.cc
+++ /dev/null
@@ -1,9 +0,0 @@
---- ./processwrapper.cc.orig 2013-09-12 13:03:02.450955685 +0400
-+++ ./processwrapper.cc 2013-09-12 13:04:34.115949039 +0400
-@@ -1,5 +1,6 @@
- #include "processwrapper.hh"
-
-+#include <unistd.h>
- #include <QtCore>
-
- #ifdef Q_OS_WIN32
diff --git a/textproc/goldendict/files/patch-qtsingleapplication-src-qtlocalpeer.cpp b/textproc/goldendict/files/patch-qtsingleapplication-src-qtlocalpeer.cpp
deleted file mode 100644
index 7b11ff12f01a..000000000000
--- a/textproc/goldendict/files/patch-qtsingleapplication-src-qtlocalpeer.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- qtsingleapplication/src/qtlocalpeer.cpp.orig 2013-09-12 13:40:34.269802688 +0400
-+++ qtsingleapplication/src/qtlocalpeer.cpp 2013-09-12 13:41:07.606795170 +0400
-@@ -50,6 +50,7 @@
- #endif
- #if defined(Q_OS_UNIX)
- #include <time.h>
-+#include <unistd.h>
- #endif
-
- namespace QtLP_Private {
diff --git a/textproc/goldendict/pkg-descr b/textproc/goldendict/pkg-descr
deleted file mode 100644
index 8713409884fa..000000000000
--- a/textproc/goldendict/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-The project aims to create a feature-rich dictionary lookup program.
-It supports:
- * Babylon .BGL files, complete with images and resources;
- * StarDict .ifo/.dict./.idx/.syn dictionaries;
- * Dictd .index/.dict(.dz) dictionary files;
- * ABBYY Lingvo .dsl source files, together with abbreviations.
- The files can be optionally compressed with dictzip. Dictionary
- resources can be packed together into a .zip file;
- * ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed
- separately, or be referred to from .dsl files.
-
-WWW: http://goldendict.org/
diff --git a/textproc/goldendict/pkg-plist b/textproc/goldendict/pkg-plist
deleted file mode 100644
index a316100ad53a..000000000000
--- a/textproc/goldendict/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-bin/goldendict
-share/applications/goldendict.desktop
-share/pixmaps/goldendict.png
-%%DATADIR%%/locale/ar_SA.qm
-%%DATADIR%%/locale/bg_BG.qm
-%%DATADIR%%/locale/cs_CZ.qm
-%%DATADIR%%/locale/de_DE.qm
-%%DATADIR%%/locale/el_GR.qm
-%%DATADIR%%/locale/it_IT.qm
-%%DATADIR%%/locale/lt_LT.qm
-%%DATADIR%%/locale/ru_RU.qm
-%%DATADIR%%/locale/uk_UA.qm
-%%DATADIR%%/locale/vi_VN.qm
-%%DATADIR%%/locale/zh_CN.qm