aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2011-03-04 07:23:57 +0000
committerMark Linimon <linimon@FreeBSD.org>2011-03-04 07:23:57 +0000
commit7113661587ec954807c8276bf1bcd54f1c2bad67 (patch)
tree8222134827c38573b40f447d2cf5980a63d19948 /textproc
parent8a404949a425694b6814900d399ca2c5c9458d25 (diff)
downloadports-7113661587ec954807c8276bf1bcd54f1c2bad67.tar.gz
ports-7113661587ec954807c8276bf1bcd54f1c2bad67.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/goldendict-devel/Makefile49
-rw-r--r--textproc/goldendict-devel/distinfo3
-rw-r--r--textproc/goldendict-devel/files/patch-bgl_babylon.cc16
-rw-r--r--textproc/goldendict-devel/files/patch-dictzip.c10
-rw-r--r--textproc/goldendict-devel/files/patch-goldendict.pro44
-rw-r--r--textproc/goldendict-devel/files/patch-iconv.cc14
-rw-r--r--textproc/goldendict-devel/pkg-descr14
-rw-r--r--textproc/goldendict-devel/pkg-plist7
8 files changed, 0 insertions, 157 deletions
diff --git a/textproc/goldendict-devel/Makefile b/textproc/goldendict-devel/Makefile
deleted file mode 100644
index 7b7f59dcd64f..000000000000
--- a/textproc/goldendict-devel/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# New ports collection makefile for: textproc/goldendict
-# Date created: 2009-11-09
-# Whom: bsam
-#
-# $FreeBSD$
-#
-
-PORTNAME= goldendict
-PORTVERSION= 0.9.0
-PORTREVISION= 2
-CATEGORIES= textproc
-MASTER_SITES= BERLIOS
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src-x11
-
-MAINTAINER= bsam@FreeBSD.org
-COMMENT= A feature-rich dictionary lookup program (with QT lib)
-
-LIB_DEPENDS= hunspell-1.2.0:${PORTSDIR}/hungarian/hunspell \
- vorbis:${PORTSDIR}/audio/libvorbis
-
-USE_BZIP2= yes
-HAS_CONFIGURE= yes
-USE_GNOME= pkgconfig
-USE_QT_VER= 4
-USE_QT4= linguist
-QT_COMPONENTS= corelib gui webkit \
- qmake_build linguist_build moc_build rcc_build script_build uic_build
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
-
-post-patch:
- @${SED} -I.bak -e "s:/usr:${PREFIX}:" ${WRKSRC}/redist/goldendict.desktop
-
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} -unix PREFIX=${PREFIX} INCLUDEPATH+=${LOCALBASE}/include \
- LIBS+=-L${LOCALBASE}/lib ${PORTNAME}.pro
-
-post-install:
- @${MKDIR} ${DATADIR}/locale
- @${INSTALL_DATA} ${WRKSRC}/locale/ru.qm ${DATADIR}/locale/
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION}<800067
-IGNORE= wcscasecmp() id not implemented
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/textproc/goldendict-devel/distinfo b/textproc/goldendict-devel/distinfo
deleted file mode 100644
index 79e83858049a..000000000000
--- a/textproc/goldendict-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (goldendict-0.9.0-src-x11.tar.bz2) = 89303abcac6c86c4635b264414f02ccc
-SHA256 (goldendict-0.9.0-src-x11.tar.bz2) = 30bf5e4ac6abf56067ee8d8750c545726509bcea591825de88ba44071769c946
-SIZE (goldendict-0.9.0-src-x11.tar.bz2) = 450332
diff --git a/textproc/goldendict-devel/files/patch-bgl_babylon.cc b/textproc/goldendict-devel/files/patch-bgl_babylon.cc
deleted file mode 100644
index 0e68a6b935f9..000000000000
--- a/textproc/goldendict-devel/files/patch-bgl_babylon.cc
+++ /dev/null
@@ -1,16 +0,0 @@
---- bgl_babylon.cc.orig 2009-05-07 14:59:58.000000000 +0400
-+++ bgl_babylon.cc 2009-11-08 23:52:53.000000000 +0300
-@@ -545,13 +545,8 @@
-
- inbufbytes = s.size();
- outbufbytes = s.size() * 6;
--#ifdef _WIN32
- const char *inbuf;
- inbuf = s.data();
--#else
-- char *inbuf;
-- inbuf = (char *)s.data();
--#endif
- outbuf = (char*)malloc( outbufbytes + 1 );
- memset( outbuf, '\0', outbufbytes + 1 );
- defbuf = outbuf;
diff --git a/textproc/goldendict-devel/files/patch-dictzip.c b/textproc/goldendict-devel/files/patch-dictzip.c
deleted file mode 100644
index ca9c8f762a50..000000000000
--- a/textproc/goldendict-devel/files/patch-dictzip.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- dictzip.c.orig 2009-11-09 01:12:06.000000000 +0300
-+++ dictzip.c 2009-11-09 01:12:21.000000000 +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-devel/files/patch-goldendict.pro b/textproc/goldendict-devel/files/patch-goldendict.pro
deleted file mode 100644
index 0a70ac9c6852..000000000000
--- a/textproc/goldendict-devel/files/patch-goldendict.pro
+++ /dev/null
@@ -1,44 +0,0 @@
---- goldendict.pro.orig 2009-05-24 23:28:51.000000000 +0400
-+++ goldendict.pro 2009-11-12 18:57:44.000000000 +0300
-@@ -35,24 +35,20 @@
- LIBS += -lXtst
- PREFIX = $$(PREFIX)
- isEmpty( PREFIX ):PREFIX = /usr/local
-- DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
-+ isEmpty( DESKTOPDIR ):DESKTOPDIR = $$PREFIX/share/applications
-+ isEmpty( ICONDIR ):ICONDIR = $$PREFIX/share/pixmaps
-+ DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
- target.path = $$PREFIX/bin/
-- locale.path = $$PREFIX/share/apps/goldendict/locale/
-+ locale.path = $$PREFIX/share/goldendict
- locale.files = locale/*.qm
- INSTALLS += target \
- locale
-- icons.path = /usr/share/pixmaps
-- icons.files = redist/icons/*.*
-+ icons.path = $$ICONDIR
-+ icons.files = redist/icons/goldendict.png
- INSTALLS += icons
-- icons2.path = /usr/share/app-install/icons
-- icons2.files = redist/icons/*.*
-- INSTALLS += icons2
-- desktops.path = /usr/share/applications
-- desktops.files = redist/*.desktop
-+ desktops.path = $$DESKTOPDIR
-+ desktops.files = redist/goldendict.desktop
- INSTALLS += desktops
-- desktops2.path = /usr/share/app-install/desktop
-- desktops2.files = redist/*.desktop
-- INSTALLS += desktops2
- }
- DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
-
-@@ -196,7 +192,7 @@
- TRANSLATIONS += locale/ru.ts
-
- # This makes qmake generate translations
--isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
-+isEmpty(QMAKE_LRELEASE):QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease-qt4
- TS_OUT = $$TRANSLATIONS
- TS_OUT ~= s/.ts/.qm
- TSQM.name = lrelease \
diff --git a/textproc/goldendict-devel/files/patch-iconv.cc b/textproc/goldendict-devel/files/patch-iconv.cc
deleted file mode 100644
index e167ff53bfd2..000000000000
--- a/textproc/goldendict-devel/files/patch-iconv.cc
+++ /dev/null
@@ -1,14 +0,0 @@
---- iconv.cc.orig 2009-04-18 21:20:12.000000000 +0400
-+++ iconv.cc 2009-11-09 01:15:24.000000000 +0300
-@@ -44,11 +44,7 @@
- throw( exIncorrectSeq, exOther )
- {
- size_t result = iconv( state,
-- #ifdef __WIN32
- (char const **)&inBuf,
-- #else
-- (char **)&inBuf,
-- #endif
- &inBytesLeft,
- (char **)&outBuf, &outBytesLeft );
-
diff --git a/textproc/goldendict-devel/pkg-descr b/textproc/goldendict-devel/pkg-descr
deleted file mode 100644
index 8e2793890262..000000000000
--- a/textproc/goldendict-devel/pkg-descr
+++ /dev/null
@@ -1,14 +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.
-
-LICENSE: GPL3 or later
-
-WWW: http://goldendict.berlios.de/
diff --git a/textproc/goldendict-devel/pkg-plist b/textproc/goldendict-devel/pkg-plist
deleted file mode 100644
index fc300d91b974..000000000000
--- a/textproc/goldendict-devel/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/goldendict
-share/applications/goldendict.desktop
-share/pixmaps/goldendict.png
-%%DATADIR%%/locale/ru.qm
-@dirrm %%DATADIR%%/locale
-@dirrm %%DATADIR%%
-@dirrmtry share/applications