aboutsummaryrefslogtreecommitdiff
path: root/textproc/scim-bridge-qt4
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2010-07-15 14:20:29 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2010-07-15 14:20:29 +0000
commit4b44e00a1d7bdb1f9184b5aed99a69847a5004c6 (patch)
tree24b178406371b0cc8f86f941bf59ddeee1ab4bbb /textproc/scim-bridge-qt4
parentc81ffae271967b641c440f6737ccae441435b3ce (diff)
downloadports-4b44e00a1d7bdb1f9184b5aed99a69847a5004c6.tar.gz
ports-4b44e00a1d7bdb1f9184b5aed99a69847a5004c6.zip
Notes
Diffstat (limited to 'textproc/scim-bridge-qt4')
-rw-r--r--textproc/scim-bridge-qt4/Makefile12
-rw-r--r--textproc/scim-bridge-qt4/distinfo6
-rw-r--r--textproc/scim-bridge-qt4/files/patch-client-qt_qt4_Makefile.in23
-rw-r--r--textproc/scim-bridge-qt4/files/patch-configure22
4 files changed, 56 insertions, 7 deletions
diff --git a/textproc/scim-bridge-qt4/Makefile b/textproc/scim-bridge-qt4/Makefile
index dabe1e93090e..e4a8219342dd 100644
--- a/textproc/scim-bridge-qt4/Makefile
+++ b/textproc/scim-bridge-qt4/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= scim-bridge
-PORTVERSION= 0.4.15
-PORTREVISION= 3
+PORTVERSION= 0.4.16
CATEGORIES= textproc
MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX= -qt4
@@ -18,13 +17,18 @@ COMMENT= Qt4 client for Scim-bridge
RUN_DEPENDS= scim-bridge:${PORTSDIR}/textproc/scim-bridge
USE_QT_VER= 4
-QT_COMPONENTS= gui corelib moc_build
+QT_COMPONENTS= corelib gui moc_build
QT_NONSTANDARD= yes
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-D__STDC_ISO_10646__"
+LICENSE= GPLv2 LGPL21
+LICENSE_FILES= ${WRKSRC}/doc/LICENSE.GPL ${WRKSRC}/doc/LICENSE.LGPL
+LICENSE_COMB= dual
+
+CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
+CXXFLAGS+= ${CPPFLAGS}
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} \
--disable-agent \
diff --git a/textproc/scim-bridge-qt4/distinfo b/textproc/scim-bridge-qt4/distinfo
index c347c6a9013b..2e1cabe4af78 100644
--- a/textproc/scim-bridge-qt4/distinfo
+++ b/textproc/scim-bridge-qt4/distinfo
@@ -1,3 +1,3 @@
-MD5 (scim-bridge-0.4.15.tar.gz) = 03015dfdc01f8aa6ad933c695f47077b
-SHA256 (scim-bridge-0.4.15.tar.gz) = 802a65c412c44d7598397d2926ec6fe478fe6cc3c645047632a97ec54b2d8bcf
-SIZE (scim-bridge-0.4.15.tar.gz) = 753583
+MD5 (scim-bridge-0.4.16.tar.gz) = 0011b178c4a0d2b0de26e7a14545323c
+SHA256 (scim-bridge-0.4.16.tar.gz) = 50d9da4a2842ab31cd3b27b1baacb14c458614bdb35855c6ecd09ab855ac702c
+SIZE (scim-bridge-0.4.16.tar.gz) = 508870
diff --git a/textproc/scim-bridge-qt4/files/patch-client-qt_qt4_Makefile.in b/textproc/scim-bridge-qt4/files/patch-client-qt_qt4_Makefile.in
new file mode 100644
index 000000000000..acfce4fc8b3b
--- /dev/null
+++ b/textproc/scim-bridge-qt4/files/patch-client-qt_qt4_Makefile.in
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- client-qt/qt4/Makefile.in.orig
++++ client-qt/qt4/Makefile.in
+@@ -243,7 +243,7 @@
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@ -I$(top_srcdir)/client-common
+
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@noinst_HEADERS = ../scim-bridge-client-qt.h ../scim-bridge-client-imcontext-qt.h ../scim-bridge-client-key-event-utility-qt.h ../scim-bridge-client-common-qt.h
+-@SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@moduledir = @QT4_PREFIX@/plugins/inputmethods
++@SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@moduledir = @QT4_PREFIX@/lib/qt4/plugins/inputmethods
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@module_LTLIBRARIES = im-scim-bridge.la
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@im_scim_bridge_la_SOURCES = ../im-scim-bridge-qt.cpp \
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@ ../scim-bridge-client-qt.cpp \
+@@ -261,7 +261,7 @@
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@im_scim_bridge_la_LIBADD = $(top_srcdir)/common/libscimbridgecommon.la \
+ @SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@ $(top_srcdir)/client-common/libscimbridgeclientcommon.la
+
+-@SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@MOC = @QT4_PREFIX@/bin/moc
++@SCIM_BRIDGE_BUILD_QT4_IMMODULE_TRUE@MOC = @QT4_PREFIX@/bin/moc-qt4
+ MAINTAINERCLEANFILES = Makefile.in
+ CLEANFILES = moc_scim-bridge-client-qt.cpp
+ all: all-am
diff --git a/textproc/scim-bridge-qt4/files/patch-configure b/textproc/scim-bridge-qt4/files/patch-configure
new file mode 100644
index 000000000000..8d23f499d937
--- /dev/null
+++ b/textproc/scim-bridge-qt4/files/patch-configure
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -24584,6 +24584,8 @@
+ enable_gtk2_immodule="yes";
+ fi
+
++enable_gtk2_immodule="no";
++
+ # Check if we should build scim-bridge-qt-immodule
+
+ pkg_failed=no
+@@ -24661,6 +24663,7 @@
+ enable_qt3_immodule="yes";
+ fi
+
++enable_qt3_immodule="no";
+
+ pkg_failed=no
+ { $as_echo "$as_me:$LINENO: checking for QT4" >&5