mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
update to 0.6.1
add WWW: line PR: 24669 Submitted by: tkato@prontomail.ne.jp
This commit is contained in:
parent
f7bf052823
commit
20a03ec2bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37663
@ -1,30 +1,31 @@
|
||||
# New ports collection makefile for: ktranslator
|
||||
# Date created: 23 May 1998
|
||||
# Whom: Hans Petter Bieker <hanspb@persbraten.vgs.no>
|
||||
# New ports collection makefile for: ktranslator
|
||||
# Date created: 23 May 1998
|
||||
# Whom: Hans Petter Bieker <hanspb@persbraten.vgs.no>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ktranslator
|
||||
PORTVERSION= 0.4.0
|
||||
PORTVERSION= 0.6.1
|
||||
CATEGORIES= devel kde
|
||||
MASTER_SITES= $(MASTER_SITE_KDE)
|
||||
MASTER_SITE_SUBDIR= stable/1.1/apps/utils
|
||||
MASTER_SITES= ${MASTER_SITE_KDE}
|
||||
MASTER_SITE_SUBDIR= Attic/old/1.1.2/apps/utils
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
kdecore.3:${PORTSDIR}/x11/kdelibs11 \
|
||||
kdeui.3:${PORTSDIR}/x11/kdelibs11 \
|
||||
kfm.3:${PORTSDIR}/x11/kdelibs11
|
||||
kdecore.3:${PORTSDIR}/x11/kdelibs11
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_QT= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOMAKE= yes
|
||||
CONFIGURE_ENV= QTDIR="${X11BASE}" KDEDIR="${LOCALBASE}"
|
||||
CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/X11/qt \
|
||||
--with-extra-includes=${LOCALBASE}/include \
|
||||
--with-extra-libs=${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" \
|
||||
INSTALL_SCRIPT="install -c -m 555"
|
||||
|
||||
pre-configure:
|
||||
${RM} -rf -- $(WRKSRC)/.deps $(WRKSRC)/config.cache
|
||||
post-patch:
|
||||
@cd ${WRKSRC} && aclocal
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ktranslator-0.4.0.tar.gz) = 266a97fd5901c9619d549f39c0b6a860
|
||||
MD5 (ktranslator-0.6.1.tar.gz) = bb86548f6d84bf21394e04dd40f5a7b3
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ktranslator/doc/Makefile.in.~1~ Fri Mar 19 16:44:10 1999
|
||||
+++ ktranslator/doc/Makefile.in Fri Mar 19 16:44:10 1999
|
||||
@@ -120,7 +120,7 @@
|
||||
qt_libraries = @qt_libraries@
|
||||
topdir = @topdir@
|
||||
|
||||
-data_DATA = index.html logotp3.gif
|
||||
+data_DATA = index.html index-1.html index-2.html logotp3.gif
|
||||
|
||||
# this is the directory, where all datas are installed
|
||||
# you have given the datas in data_DATA
|
@ -1,18 +0,0 @@
|
||||
--- configure.orig Fri Dec 4 05:13:02 1998
|
||||
+++ configure Tue Feb 15 01:40:25 2000
|
||||
@@ -2966,6 +2966,7 @@
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
+if false; then
|
||||
echo $ac_n "checking for giflib""... $ac_c" 1>&6
|
||||
echo "configure:2971: checking for giflib" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_gif'+set}'`\" = set"; then
|
||||
@@ -3012,6 +3013,7 @@
|
||||
|
||||
else
|
||||
{ echo "configure: error: You need giflib23. Please install the kdesupport package" 1>&2; exit 1; }
|
||||
+fi
|
||||
fi
|
||||
echo $ac_n "checking for jpeglib""... $ac_c" 1>&6
|
||||
echo "configure:3018: checking for jpeglib" >&5
|
39
devel/ktranslator/files/patch-ac
Normal file
39
devel/ktranslator/files/patch-ac
Normal file
@ -0,0 +1,39 @@
|
||||
--- acinclude.m4.orig Mon Nov 9 09:34:11 1998
|
||||
+++ acinclude.m4 Tue Jan 23 21:44:18 2001
|
||||
@@ -944,36 +944,6 @@
|
||||
LIBS="$ac_libs_safe"
|
||||
])
|
||||
|
||||
-AC_DEFUN(AC_FIND_GIF,
|
||||
- [AC_MSG_CHECKING([for giflib])
|
||||
-AC_CACHE_VAL(ac_cv_lib_gif,
|
||||
-[ac_save_LIBS="$LIBS"
|
||||
-LIBS="$all_libraries -lgif -lX11 $LIBSOCKET"
|
||||
-AC_TRY_LINK(dnl
|
||||
-[
|
||||
-#ifdef __cplusplus
|
||||
-extern "C" {
|
||||
-#endif
|
||||
-int GifLastError(void);
|
||||
-#ifdef __cplusplus
|
||||
-}
|
||||
-#endif
|
||||
-/* We use char because int might match the return type of a gcc2
|
||||
- builtin and then its argument prototype would still apply. */
|
||||
-],
|
||||
- [return GifLastError();],
|
||||
- eval "ac_cv_lib_gif=yes",
|
||||
- eval "ac_cv_lib_gif=no")
|
||||
-LIBS="$ac_save_LIBS"
|
||||
-])dnl
|
||||
-if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then
|
||||
- AC_MSG_RESULT(yes)
|
||||
- AC_DEFINE_UNQUOTED(HAVE_LIBGIF)
|
||||
-else
|
||||
- AC_MSG_ERROR(You need giflib23. Please install the kdesupport package)
|
||||
-fi
|
||||
-])
|
||||
-
|
||||
AC_DEFUN(AC_FIND_JPEG,
|
||||
[AC_MSG_CHECKING([for jpeglib])
|
||||
AC_CACHE_VAL(ac_cv_lib_jpeg,
|
29
devel/ktranslator/files/patch-ad
Normal file
29
devel/ktranslator/files/patch-ad
Normal file
@ -0,0 +1,29 @@
|
||||
--- ktranslator/TranslData.cpp.orig Thu Dec 30 20:41:01 1999
|
||||
+++ ktranslator/TranslData.cpp Sat Jan 27 03:29:09 2001
|
||||
@@ -916,7 +916,7 @@
|
||||
int TranslData::msgListTranslation(QString s,int fla=0)
|
||||
{
|
||||
static QFile *mlf=0;
|
||||
- static open=false;
|
||||
+ static bool open=false;
|
||||
if(open) return -2;
|
||||
open=true;
|
||||
stopSearch=false;
|
||||
@@ -1886,7 +1886,7 @@
|
||||
} while(n>0);
|
||||
// s.simplifyWhiteSpace();
|
||||
// warning(s);
|
||||
- spell->check(s);
|
||||
+ spell->check(s.data());
|
||||
}
|
||||
|
||||
void TranslData::spellready(KSpell *)
|
||||
@@ -1912,7 +1912,7 @@
|
||||
this, SLOT (spelldone(char *)));
|
||||
|
||||
spell->setProgressResolution (2);
|
||||
- //spell->check (text().data());
|
||||
+ //spell->check (text().ascii());
|
||||
spellnext();
|
||||
}
|
||||
else
|
@ -6,3 +6,5 @@ translat it.
|
||||
|
||||
You should set KDEDIR, for example
|
||||
% setenv KDEDIR /usr/local
|
||||
|
||||
WWW: http://www.geocities.com/bilibao/
|
||||
|
@ -1,9 +1,26 @@
|
||||
bin/ktranslator
|
||||
share/applnk/Utilities/ktranslator.kdelnk
|
||||
share/doc/HTML/en/ktranslator/index.html
|
||||
share/applnk/Development/ktranslator.kdelnk
|
||||
share/apps/ktranslator/about.gif
|
||||
share/config/ktranslatorrc
|
||||
share/doc/HTML/en/ktranslator/index-1.html
|
||||
share/doc/HTML/en/ktranslator/index-2.html
|
||||
share/doc/HTML/en/ktranslator/logotp3.gif
|
||||
share/doc/HTML/en/ktranslator/index-3.html
|
||||
share/doc/HTML/en/ktranslator/index-4.html
|
||||
share/doc/HTML/en/ktranslator/index-5.html
|
||||
share/doc/HTML/en/ktranslator/index-6.html
|
||||
share/doc/HTML/en/ktranslator/index.html
|
||||
share/icons/ktranslator.xpm
|
||||
share/icons/mini/mini-cross.xpm
|
||||
share/icons/mini/mini-exclam.xpm
|
||||
share/icons/mini/mini-exp.xpm
|
||||
share/locale/it/LC_MESSAGES/ktranslator.mo
|
||||
share/config/ktranslatorrc
|
||||
share/locale/ko/LC_MESSAGES/ktranslator.mo
|
||||
share/toolbar/copy-string.xpm
|
||||
share/toolbar/cvs.xpm
|
||||
share/toolbar/header.xpm
|
||||
share/toolbar/mosearch.xpm
|
||||
share/toolbar/next-fuzzy.xpm
|
||||
share/toolbar/posearch.xpm
|
||||
share/toolbar/prev-fuzzy.xpm
|
||||
@dirrm share/apps/ktranslator
|
||||
@dirrm share/doc/HTML/en/ktranslator
|
||||
|
Loading…
Reference in New Issue
Block a user