diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-11 04:22:28 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-11 04:22:28 +0800 |
commit | a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2 (patch) | |
tree | a4d71c6bc0758e2dd37ec6da0c7764c539e9ba77 /chinese | |
parent | 08c72d1b2ce43590d2c2db43e2510bbe4e29819f (diff) | |
download | marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.tar marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.tar.gz marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.tar.bz2 marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.tar.lz marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.tar.xz marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.tar.zst marcuscom-ports-a764c1e3d07ccf2e1f1163488c4b9855f56e1fb2.zip |
- Sync w/ FreeBSD ports.
- Some misc fixes such as add about three missing files, need to bump and etc.
- Reset $FreeBSD$, it was not supposed to be include in this commit as I want
to keep it seperate, but I accidented ran the script. Ah well.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7696 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/oxim/Makefile | 26 | ||||
-rw-r--r-- | chinese/oxim/files/patch-Makefile.in | 4 | ||||
-rw-r--r-- | chinese/oxim/files/patch-configure | 15 | ||||
-rw-r--r-- | chinese/oxim/files/patch-src__util__oxim-setup__Makefile.in | 13 | ||||
-rw-r--r-- | chinese/oxim/pkg-plist | 1 | ||||
-rw-r--r-- | chinese/xttmgr/Makefile | 2 |
6 files changed, 54 insertions, 7 deletions
diff --git a/chinese/oxim/Makefile b/chinese/oxim/Makefile index 6657abb07..e68a71d26 100644 --- a/chinese/oxim/Makefile +++ b/chinese/oxim/Makefile @@ -7,7 +7,7 @@ PORTNAME= oxim PORTVERSION= 1.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese textproc MASTER_SITES= ftp://ftp.opendesktop.org.tw/odp/OXIM/Source/ \ ftp://apt.nc.hcc.edu.tw/pub/mirror/opendesktop.org.tw/OXIM/Source/ \ @@ -23,10 +23,12 @@ RUN_DEPENDS= zh-fireflyttf>=0:${PORTSDIR}/chinese/fireflyttf OPTIONS= GTK2 "Enable GTK2 input method module" On \ CHEWING "Enable Chewing input module" On \ - UNICODE "Enable Unicode input module" On + UNICODE "Enable Unicode input module" On \ + SETUP "Enable GUI Setup Tool" On USE_GCC= 3.2+ USE_ICONV= yes +USE_XLIB= yes USE_GNOME= GNU_CONFIGURE= yes @@ -39,8 +41,7 @@ CONFIGURE_ARGS+=--disable-bimsphone-module \ --disable-static \ --with-conf-dir=${TARGETDIR}/etc/${PORTNAME} # oxim requires qinputcontextplugin.h which only exists in Debian package -CONFIGURE_ARGS+=--disable-qt-immodule \ - --disable-setup-tool +CONFIGURE_ARGS+=--disable-qt-immodule .include <bsd.port.pre.mk> @@ -74,6 +75,23 @@ CONFIGURE_ARGS+= --disable-unicode-module PLIST_SUB+= UNICODE="@comment " .endif +.if !defined(WITHOUT_SETUP) +BUILD_DEPENDS+= qmake:${PORTSDIR}/devel/qmake + +CONFIGURE_ARGS+= --enable-setup-tool +PLIST_SUB+= SETUP="" + +USE_QT_VER= 3 +.include "${PORTSDIR}/Mk/bsd.kde.mk" + +QMAKESPEC?= freebsd-g++ +CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}" QTDIR="${QT_PREFIX}" +MAKE_ARGS+= LOCALBASE="${LOCALBASE}" MAKE="${MAKE}" QMAKESPEC="${QMAKESPEC}" +.else +CONFIGURE_ARGS+= --disable-setup-tool +PLIST_SUB+= SETUP="@comment " +.endif + # TODO WITHOUT_NLS knob #.if !defined(WITHOUT_NLS) USE_GETTEXT= yes diff --git a/chinese/oxim/files/patch-Makefile.in b/chinese/oxim/files/patch-Makefile.in index a2ae28c47..94090972a 100644 --- a/chinese/oxim/files/patch-Makefile.in +++ b/chinese/oxim/files/patch-Makefile.in @@ -1,5 +1,5 @@ ---- Makefile.in.orig Fri Sep 8 05:15:45 2006 -+++ Makefile.in Fri Sep 8 05:16:05 2006 +--- ./Makefile.in.orig Fri Sep 22 17:20:10 2006 ++++ ./Makefile.in Mon Oct 9 09:38:36 2006 @@ -672,8 +672,6 @@ diff --git a/chinese/oxim/files/patch-configure b/chinese/oxim/files/patch-configure new file mode 100644 index 000000000..96ee88181 --- /dev/null +++ b/chinese/oxim/files/patch-configure @@ -0,0 +1,15 @@ +--- ./configure.orig Fri Sep 22 17:19:58 2006 ++++ ./configure Mon Oct 9 09:38:36 2006 +@@ -29055,9 +29055,9 @@ + + echo "$as_me:$LINENO: checking for qmake" >&5 + echo $ECHO_N "checking for qmake... $ECHO_C" >&6 +- if test -f ${qt_dir}/bin/qmake ; then +- echo "$as_me:$LINENO: result: ${qt_dir}/bin/qmake" >&5 +-echo "${ECHO_T}${qt_dir}/bin/qmake" >&6 ++ if test -f ${LOCALBASE}/bin/qmake ; then ++ echo "$as_me:$LINENO: result: ${LOCALBASE}/bin/qmake" >&5 ++echo "${ECHO_T}${LOCALBASE}/bin/qmake" >&6 + have_qmake="yes" + else + echo "$as_me:$LINENO: result: not found!" >&5 diff --git a/chinese/oxim/files/patch-src__util__oxim-setup__Makefile.in b/chinese/oxim/files/patch-src__util__oxim-setup__Makefile.in new file mode 100644 index 000000000..a4613597a --- /dev/null +++ b/chinese/oxim/files/patch-src__util__oxim-setup__Makefile.in @@ -0,0 +1,13 @@ +--- ./src/util/oxim-setup/Makefile.in.orig Fri Sep 22 17:20:09 2006 ++++ ./src/util/oxim-setup/Makefile.in Mon Oct 9 09:39:52 2006 +@@ -474,8 +474,8 @@ + @ENABLE_SETUP_TOOL_TRUE@ main.cpp + + @ENABLE_SETUP_TOOL_TRUE@oxim-setup: oxim-setup.pro +-@ENABLE_SETUP_TOOL_TRUE@ $(QTDIR)/bin/qmake oxim-setup.pro -o Makefile.qt +-@ENABLE_SETUP_TOOL_TRUE@ QTDIR=$(QTDIR) make -f Makefile.qt ++@ENABLE_SETUP_TOOL_TRUE@ QMAKESPEC=$(QMAKESPEC) $(LOCALBASE)/bin/qmake oxim-setup.pro -o Makefile.qt ++@ENABLE_SETUP_TOOL_TRUE@ QTDIR=$(QTDIR) $(MAKE) -f Makefile.qt + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/chinese/oxim/pkg-plist b/chinese/oxim/pkg-plist index 5c994b419..a9c86ec27 100644 --- a/chinese/oxim/pkg-plist +++ b/chinese/oxim/pkg-plist @@ -1,5 +1,6 @@ bin/oxim bin/oxim-conv +%%SETUP%%bin/oxim-setup bin/oxim2tab etc/oxim/locale.list etc/oxim/oxim.conf diff --git a/chinese/xttmgr/Makefile b/chinese/xttmgr/Makefile index 0eb4ae2c7..6a8e64775 100644 --- a/chinese/xttmgr/Makefile +++ b/chinese/xttmgr/Makefile @@ -2,7 +2,7 @@ # Date created: 13 Oct 2001 # Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> # -# $FreeBSD: ports/chinese/xttmgr/Makefile,v 1.5 2005/07/25 21:58:10 linimon Exp $ +# $FreeBSD$ # PORTNAME= xttmgr |