Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 03:39:02 +0800 (CST)
From:      Li-Lun Wang (Leland Wang) <llwang@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112721: [maintainer] Update port: textproc/openvanilla-framework textproc/scim-openvanilla textproc/openvanilla-module to 0.7.2.20070514
Message-ID:  <20070516193902.97C4017381@infor.ck.tp.edu.tw>
Resent-Message-ID: <200705161940.l4GJe6Ov024790@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112721
>Category:       ports
>Synopsis:       [maintainer] Update port: textproc/openvanilla-framework textproc/scim-openvanilla textproc/openvanilla-module to 0.7.2.20070514
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 16 19:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Li-Lun Wang (Leland Wang)
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD Athena.infor.org 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #6: Sat Apr 21 18:41:16 CST 2007 root@Athena.infor.org:/usr/obj/usr/src/sys/Athena i386


	
>Description:
- Update to 0.7.2.20070514
- Add Chewing module
- Fix some installation issues
	
>How-To-Repeat:
	
>Fix:
diff -urN openvanilla-framework.orig/Makefile openvanilla-framework/Makefile
--- openvanilla-framework.orig/Makefile	Thu May 10 15:18:23 2007
+++ openvanilla-framework/Makefile	Wed May 16 14:31:11 2007
@@ -6,21 +6,19 @@
 #
 
 PORTNAME=	openvanilla-framework
-PORTVERSION=	0.7.2.b20060214
-PORTREVISION=	1
+PORTVERSION=	0.7.2.20070514
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.csie.org/~llwang/	\
-		http://www.infor.org/~llwang/
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	rafan
 DISTNAME=	openvanilla-${PORTVERSION}
 
 MAINTAINER=	llwang@infor.org
 COMMENT=	Development header files for OpenVanilla
 
-USE_X_PREFIX=	yes
 NO_BUILD=	yes
 
 do-install:
-	@${MKDIR} ${PREFIX}/include/OpenVanilla
-	@${INSTALL_DATA} ${WRKSRC}/Framework/Headers/* ${PREFIX}/include/OpenVanilla
+	@${MKDIR} ${TARGETDIR}/include/OpenVanilla
+	@${INSTALL_DATA} ${WRKSRC}/Framework/Headers/* ${TARGETDIR}/include/OpenVanilla
 
 .include <bsd.port.mk>
diff -urN openvanilla-framework.orig/distinfo openvanilla-framework/distinfo
--- openvanilla-framework.orig/distinfo	Thu May 10 15:18:23 2007
+++ openvanilla-framework/distinfo	Tue May 15 23:02:24 2007
@@ -1,3 +1,3 @@
-MD5 (openvanilla-0.7.2.b20060214.tar.gz) = d15b76fd77022cc78b660b9a719d17e7
-SHA256 (openvanilla-0.7.2.b20060214.tar.gz) = 9761b42666676ecb5e590b242d09c4e6f538a23608c0262fc02d38821b1d128d
-SIZE (openvanilla-0.7.2.b20060214.tar.gz) = 16777986
+MD5 (openvanilla-0.7.2.20070514.tar.gz) = 1be55a6394a36c1a99158a147c7a2fda
+SHA256 (openvanilla-0.7.2.20070514.tar.gz) = 6dcbb824293c3220a3cf8df4565c371a310f9042f01e63e5c1bfc20ee3e4a4c7
+SIZE (openvanilla-0.7.2.20070514.tar.gz) = 21002095
diff -urN openvanilla-modules.orig/Makefile openvanilla-modules/Makefile
--- openvanilla-modules.orig/Makefile	Thu May 10 15:18:23 2007
+++ openvanilla-modules/Makefile	Wed May 16 14:34:32 2007
@@ -6,18 +6,17 @@
 #
 
 PORTNAME=	openvanilla-modules
-PORTVERSION=	0.7.2.b20060214
-PORTREVISION=	2
+PORTVERSION=	0.7.2.20070514
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.csie.org/~llwang/	\
-		http://www.infor.org/~llwang/
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	rafan
 DISTNAME=	openvanilla-${PORTVERSION}
 
 MAINTAINER=	llwang@infor.org
 COMMENT=	Input method modules for OpenVanilla
 
-BUILD_DEPENDS=	${X11BASE}/include/OpenVanilla/OpenVanilla.h:${PORTSDIR}/textproc/openvanilla-framework
-RUN_DEPENDS=	${LOCALBASE}/lib/scim-1.0/IMEngine/OVLoader-SCIM.so:${PORTSDIR}/textproc/scim-openvanilla
+BUILD_DEPENDS=	${LOCALBASE}/include/OpenVanilla/OpenVanilla.h:${PORTSDIR}/textproc/openvanilla-framework
+RUN_DEPENDS=	${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/OVLoader-SCIM.so:${PORTSDIR}/textproc/scim-openvanilla
 
 USE_AUTOTOOLS=	libtool:15:env
 USE_GMAKE=	yes
@@ -29,10 +28,11 @@
 		OVIMPOJ_Holo		"POJ-Holo Input Module"		on \
 		OVIMPhonetic		"Phonetic Input Module"		on \
 		OVIMRoman		"Roman Input Module"		off \
+		OVIMSpaceChewing	"Chewing Input Module"		on \
 		OVIMTibetan		"Tibetan Input Module"		off \
 		OVIMUnicode		"Unicode Input Module"		off
 
-MAKE_ARGS+=	INSTALL_PREFIX=${PREFIX} OV_INCLUDE=${X11BASE}/include
+MAKE_ARGS+=	INSTALL_PREFIX=${PREFIX} OV_INCLUDE=${LOCALBASE}/include
 
 .include <bsd.port.pre.mk>
 
@@ -46,6 +46,11 @@
 .else
 PLIST_SUB+=	OVIMBig5="@comment "
 .endif
+#.if defined(WITH_OVIMBoshiamy)
+#PLIST_SUB+=	OVIMBoshiamy=""
+#.else
+#PLIST_SUB+=	OVIMBoshiamy="@comment "
+#.endif
 .if !defined(WITHOUT_OVIMGeneric)
 PLIST_SUB+=	OVIMGeneric=""
 .else
@@ -66,6 +71,11 @@
 .else
 PLIST_SUB+=	OVIMRoman="@comment "
 .endif
+.if !defined(WITHOUT_OVIMSpaceChewing)
+PLIST_SUB+=	OVIMSpaceChewing=""
+.else
+PLIST_SUB+=	OVIMSpaceChewing="@comment "
+.endif
 .if defined(WITH_OVIMTibetan)
 PLIST_SUB+=	OVIMTibetan=""
 .else
@@ -77,6 +87,23 @@
 PLIST_SUB+=	OVIMUnicode="@comment "
 .endif
 
+#.if defined(WITH_OVIMBoshiamy)
+#DISTFILES+=	liu5.cin
+#NOFETCHFILES=	liu5.cin
+#EXTRACT_ONLY+=	openvanilla-${PORTVERSION}${EXTRACT_SUFX}
+#LIB_DEPENDS+=	sqlite3.8:${PORTSDIR}/databases/sqlite3
+#LDFLAGS+=	${LOCALBASE}/lib
+#.if !exists(${DISTDIR}/liu5.cin)
+#IGNORE=		need liu5.cin from a legal copy of LIU57 standard version CDROM to use Boshiamy input module. Please copy /UNIX/xcin2.5/liu5.cin from the CDROM to ${DISTDIR} and run make again
+#.endif
+#post-extract:
+#	@${CP} ${DISTDIR}/liu5.cin ${WRKSRC}/Modules/OVIMBoshiamy
+#.endif
+
+#.if !defined(WITHOUT_OVIMSpaceChewing)
+#LIB_DEPENDS+=	chewing.3:${PORTSDIR}/chinese/libchewing
+#.endif
+
 do-build:
 .if !defined(WITHOUT_OVIMArray)
 	@(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
@@ -84,6 +111,9 @@
 .if defined(WITH_OVIMBig5)
 	@(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
 .endif
+#.if defined(WITH_OVIMBoshiamy)
+#	@(cd ${WRKSRC}/Modules/OVIMBoshiamy; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+#.endif
 .if !defined(WITHOUT_OVIMGeneric)
 	@(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
 .endif
@@ -93,10 +123,13 @@
 .if !defined(WITHOUT_OVIMPhonetic)
 	@(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
 .endif
+.if !defined(WITHOUT_OVIMSpaceChewing)
+	@(cd ${WRKSRC}/Modules/OVIMSpaceChewing0.3; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} data all)
+.endif
 .if defined(WITH_OVIMRoman)
 	@(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
 .endif
-.if !defined(WITHOUT_OVIMTibetan)
+.if defined(WITH_OVIMTibetan)
 	@(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
 .endif
 .if defined(WITH_OVIMUnicode)
@@ -110,6 +143,9 @@
 .if defined(WITH_OVIMBig5)
 	@(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
 .endif
+#.if defined(WITH_OVIMBoshiamy)
+#	@(cd ${WRKSRC}/Modules/OVIMBoshiamy; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+#.endif
 .if !defined(WITHOUT_OVIMGeneric)
 	@(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
 .endif
@@ -122,7 +158,10 @@
 .if defined(WITH_OVIMRoman)
 	@(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
 .endif
-.if !defined(WITHOUT_OVIMTibetan)
+.if !defined(WITHOUT_OVIMSpaceChewing)
+	@(cd ${WRKSRC}/Modules/OVIMSpaceChewing0.3; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if defined(WITH_OVIMTibetan)
 	@(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
 .endif
 .if defined(WITH_OVIMUnicode)
diff -urN openvanilla-modules.orig/distinfo openvanilla-modules/distinfo
--- openvanilla-modules.orig/distinfo	Thu May 10 15:18:23 2007
+++ openvanilla-modules/distinfo	Tue May 15 23:15:31 2007
@@ -1,3 +1,3 @@
-MD5 (openvanilla-0.7.2.b20060214.tar.gz) = d15b76fd77022cc78b660b9a719d17e7
-SHA256 (openvanilla-0.7.2.b20060214.tar.gz) = 9761b42666676ecb5e590b242d09c4e6f538a23608c0262fc02d38821b1d128d
-SIZE (openvanilla-0.7.2.b20060214.tar.gz) = 16777986
+MD5 (openvanilla-0.7.2.20070514.tar.gz) = 1be55a6394a36c1a99158a147c7a2fda
+SHA256 (openvanilla-0.7.2.20070514.tar.gz) = 6dcbb824293c3220a3cf8df4565c371a310f9042f01e63e5c1bfc20ee3e4a4c7
+SIZE (openvanilla-0.7.2.20070514.tar.gz) = 21002095
diff -urN openvanilla-modules.orig/files/patch-Modules-Mk-ov.module.mk openvanilla-modules/files/patch-Modules-Mk-ov.module.mk
--- openvanilla-modules.orig/files/patch-Modules-Mk-ov.module.mk	Wed Dec 31 18:00:00 1969
+++ openvanilla-modules/files/patch-Modules-Mk-ov.module.mk	Thu May 10 15:18:23 2007
@@ -0,0 +1,11 @@
+--- Modules/Mk/ov.module.mk.orig	Tue Feb 14 00:18:29 2006
++++ Modules/Mk/ov.module.mk	Tue Feb 14 13:55:40 2006
+@@ -178,7 +178,7 @@
+ 
+ GCC=/usr/bin/gcc 
+ GPP=/usr/bin/g++
+-LIBTOOL=$(shell ../Mk/find-libtool.pl)
++# LIBTOOL=$(shell ../Mk/find-libtool.pl)
+ 
+ 
+ ifeq ("$(OS_COMPILE)", "Darwin")
diff -urN openvanilla-modules.orig/files/patch-Modules-OVIMBoshiamy-Makefile openvanilla-modules/files/patch-Modules-OVIMBoshiamy-Makefile
--- openvanilla-modules.orig/files/patch-Modules-OVIMBoshiamy-Makefile	Wed Dec 31 18:00:00 1969
+++ openvanilla-modules/files/patch-Modules-OVIMBoshiamy-Makefile	Tue May 15 22:10:16 2007
@@ -0,0 +1,11 @@
+--- Modules/OVIMBoshiamy/Makefile.orig	Mon May 14 14:23:33 2007
++++ Modules/OVIMBoshiamy/Makefile	Tue May 15 22:09:09 2007
+@@ -4,7 +4,7 @@
+ SOURCES=OVIMBoshiamy
+ DATA=imtables.db
+ CINS=liu5.cin
+-LDFLAGS+=-lsqlite3
++LDFLAGS+=-lsqlite3 -L${LOCALBASE}/lib
+ EXTRA_GOALS=imtables.db
+ 
+ include ../Mk/ov.module.mk
diff -urN openvanilla-modules.orig/files/patch-Modules-OVIMSpaceChewing-Makefile openvanilla-modules/files/patch-Modules-OVIMSpaceChewing-Makefile
--- openvanilla-modules.orig/files/patch-Modules-OVIMSpaceChewing-Makefile	Wed Dec 31 18:00:00 1969
+++ openvanilla-modules/files/patch-Modules-OVIMSpaceChewing-Makefile	Tue May 15 22:21:18 2007
@@ -0,0 +1,13 @@
+--- Modules/OVIMSpaceChewing/Makefile.orig	Mon May 14 14:23:34 2007
++++ Modules/OVIMSpaceChewing/Makefile	Tue May 15 22:20:23 2007
+@@ -31,8 +31,8 @@
+ MODULEID=OVIMSpaceChewing
+ SOURCES=OVIMSpaceChewing
+ 
+-LIBCHEWING_PREFIX?=/usr/local
+-LIBCHEWING_VERSION?=$(shell perl -n -e 'print "$$1\n" if /Version: (.+)/' < $(LIBCHEWING_PREFIX)/lib/pkgconfig/chewing.pc)
++LIBCHEWING_PREFIX?=${LOCALBASE}
++LIBCHEWING_VERSION?=$(shell perl -n -e 'print "$$1\n" if /Version: (.+)/' < $(LIBCHEWING_PREFIX)/libdata/pkgconfig/chewing.pc)
+ 
+ DATA=$(LIBCHEWING_PREFIX)/share/chewing/ch_index.dat     \
+     $(LIBCHEWING_PREFIX)/share/chewing/dict.dat          \
diff -urN openvanilla-modules.orig/files/patch-Modules-OVIMSpaceChewing0.3-Makefile openvanilla-modules/files/patch-Modules-OVIMSpaceChewing0.3-Makefile
--- openvanilla-modules.orig/files/patch-Modules-OVIMSpaceChewing0.3-Makefile	Wed Dec 31 18:00:00 1969
+++ openvanilla-modules/files/patch-Modules-OVIMSpaceChewing0.3-Makefile	Tue May 15 22:37:56 2007
@@ -0,0 +1,11 @@
+--- Modules/OVIMSpaceChewing0.3/Makefile.orig	Tue May 15 22:36:11 2007
++++ Modules/OVIMSpaceChewing0.3/Makefile	Tue May 15 22:36:11 2007
+@@ -17,7 +17,7 @@
+ 
+ data:
+ 	cd libchewing/tool/; make;
+-	svn cat http://svn.openfoundry.org/libchewingdata/utf-8/tsi.src > chewingdata/tsi.src
++	#svn cat http://svn.openfoundry.org/libchewingdata/utf-8/tsi.src > chewingdata/tsi.src
+ 	cd chewingdata/; ../libchewing/tool/sort_word;
+ 	cd chewingdata/; ../libchewing/tool/sort_dic tsi.src;
+ 	cd chewingdata/; ../libchewing/tool/maketree;
diff -urN openvanilla-modules.orig/files/patch-Modules-SharedHeaders-OVFileHandler.h openvanilla-modules/files/patch-Modules-SharedHeaders-OVFileHandler.h
--- openvanilla-modules.orig/files/patch-Modules-SharedHeaders-OVFileHandler.h	Wed Dec 31 18:00:00 1969
+++ openvanilla-modules/files/patch-Modules-SharedHeaders-OVFileHandler.h	Tue May 15 21:08:18 2007
@@ -0,0 +1,13 @@
+--- Modules/SharedHeaders/OVFileHandler.h.orig	Mon May 14 14:23:35 2007
++++ Modules/SharedHeaders/OVFileHandler.h	Tue May 15 21:07:16 2007
+@@ -43,9 +43,9 @@
+     	HANDLE hMap;
+ 	} MmapHandles;
+ #else
++	#include <sys/types.h>
+ 	#include <sys/mman.h>
+ 	#include <sys/stat.h>
+-	#include <sys/types.h>
+ 	#include <stdio.h>
+ 	#include <fcntl.h>
+ 	#include <unistd.h>
diff -urN openvanilla-modules.orig/files/patch-Modules::Mk::ov.module.mk openvanilla-modules/files/patch-Modules::Mk::ov.module.mk
--- openvanilla-modules.orig/files/patch-Modules::Mk::ov.module.mk	Thu May 10 15:18:23 2007
+++ openvanilla-modules/files/patch-Modules::Mk::ov.module.mk	Wed Dec 31 18:00:00 1969
@@ -1,11 +0,0 @@
---- Modules/Mk/ov.module.mk.orig	Tue Feb 14 00:18:29 2006
-+++ Modules/Mk/ov.module.mk	Tue Feb 14 13:55:40 2006
-@@ -178,7 +178,7 @@
- 
- GCC=/usr/bin/gcc 
- GPP=/usr/bin/g++
--LIBTOOL=$(shell ../Mk/find-libtool.pl)
-+# LIBTOOL=$(shell ../Mk/find-libtool.pl)
- 
- 
- ifeq ("$(OS_COMPILE)", "Darwin")
diff -urN openvanilla-modules.orig/files/patch-Modules::SharedHeaders::OVFileHandler.h openvanilla-modules/files/patch-Modules::SharedHeaders::OVFileHandler.h
--- openvanilla-modules.orig/files/patch-Modules::SharedHeaders::OVFileHandler.h	Thu May 10 15:18:23 2007
+++ openvanilla-modules/files/patch-Modules::SharedHeaders::OVFileHandler.h	Wed Dec 31 18:00:00 1969
@@ -1,13 +0,0 @@
---- Modules/SharedHeaders/OVFileHandler.h.orig	Tue Feb 14 00:18:36 2006
-+++ Modules/SharedHeaders/OVFileHandler.h	Mon Mar 20 16:19:33 2006
-@@ -36,9 +36,9 @@
- #include <fstream>
- 
- #ifndef WIN32
-+	#include <sys/types.h>
- 	#include <sys/mman.h>
- 	#include <sys/stat.h>
--	#include <sys/types.h>
- 	#include <stdio.h>
- 	#include <fcntl.h>
- 	#include <unistd.h>
diff -urN openvanilla-modules.orig/pkg-plist openvanilla-modules/pkg-plist
--- openvanilla-modules.orig/pkg-plist	Thu May 10 15:18:23 2007
+++ openvanilla-modules/pkg-plist	Tue May 15 23:07:19 2007
@@ -26,6 +26,15 @@
 %%OVIMRoman%%lib/openvanilla/OVIMRoman.a
 %%OVIMRoman%%lib/openvanilla/OVIMRoman.la
 %%OVIMRoman%%lib/openvanilla/OVIMRoman.so
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03.a
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03.la
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03.so
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03/ch_index.dat
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03/dict.dat
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03/fonetree.dat
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03/ph_index.dat
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03/pinyin.tab
+%%OVIMSpaceChewing%%lib/openvanilla/OVIMSpaceChewing03/us_freq.dat
 %%OVIMTibetan%%lib/openvanilla/OVIMTibetan.a
 %%OVIMTibetan%%lib/openvanilla/OVIMTibetan.la
 %%OVIMTibetan%%lib/openvanilla/OVIMTibetan.so
@@ -34,6 +43,7 @@
 %%OVIMUnicode%%lib/openvanilla/OVIMUnicode.so
 %%OVIMUnicode%%@dirrmtry lib/openvanilla/OVIMUnicode
 %%OVIMTibetan%%@dirrmtry lib/openvanilla/OVIMTibetan
+%%OVIMSpaceChewing%%@dirrmtry lib/openvanilla/OVIMSpaceChewing03
 %%OVIMRoman%%@dirrmtry lib/openvanilla/OVIMRoman
 %%OVIMPhonetic%%@dirrmtry lib/openvanilla/OVIMPhonetic
 %%OVIMPOJ_Holo%%@dirrmtry lib/openvanilla/OVIMPOJ-Holo
diff -urN scim-openvanilla.orig/Makefile scim-openvanilla/Makefile
--- scim-openvanilla.orig/Makefile	Thu May 10 15:18:25 2007
+++ scim-openvanilla/Makefile	Wed May 16 14:33:49 2007
@@ -6,29 +6,32 @@
 #
 
 PORTNAME=	scim-openvanilla
-PORTVERSION=	0.7.2.b20060214
-PORTREVISION=	4
+PORTVERSION=	0.7.2.20070514
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.csie.org/~llwang/	\
-		http://www.infor.org/~llwang/
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	rafan
 DISTNAME=	openvanilla-${PORTVERSION}
 
 MAINTAINER=	llwang@infor.org
 COMMENT=	SCIM OpenVanilla input method (IM)/output filter (OF) framework
 
 BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim	\
-		${X11BASE}/include/OpenVanilla/OpenVanilla.h:${PORTSDIR}/textproc/openvanilla-framework
+		${LOCALBASE}/include/OpenVanilla/OpenVanilla.h:${PORTSDIR}/textproc/openvanilla-framework
 RUN_DEPENDS=	scim:${PORTSDIR}/textproc/scim
+LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
 
 USE_AUTOTOOLS=	libltdl:15
 WRKSRC=		${WRKDIR}/${DISTNAME}/Loaders/SCIM
 USE_GMAKE=	yes
 USE_GNOME=	pkgconfig
+USE_GETTEXT=	yes
+USE_ICONV=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	CPPFLAGS=-I${X11BASE}/include	\
+CONFIGURE_ENV+=	CPPFLAGS=-I${LOCALBASE}/include	\
 		OV_MODULEDIR=${PREFIX}/lib/openvanilla/
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+PLIST_FILES=	lib/scim-1.0/1.4.0/IMEngine/OVLoader-SCIM.a	\
+		lib/scim-1.0/1.4.0/IMEngine/OVLoader-SCIM.la	\
+		lib/scim-1.0/1.4.0/IMEngine/OVLoader-SCIM.so
 
 .include <bsd.port.mk>
diff -urN scim-openvanilla.orig/distinfo scim-openvanilla/distinfo
--- scim-openvanilla.orig/distinfo	Thu May 10 15:18:25 2007
+++ scim-openvanilla/distinfo	Tue May 15 23:02:32 2007
@@ -1,3 +1,3 @@
-MD5 (openvanilla-0.7.2.b20060214.tar.gz) = d15b76fd77022cc78b660b9a719d17e7
-SHA256 (openvanilla-0.7.2.b20060214.tar.gz) = 9761b42666676ecb5e590b242d09c4e6f538a23608c0262fc02d38821b1d128d
-SIZE (openvanilla-0.7.2.b20060214.tar.gz) = 16777986
+MD5 (openvanilla-0.7.2.20070514.tar.gz) = 1be55a6394a36c1a99158a147c7a2fda
+SHA256 (openvanilla-0.7.2.20070514.tar.gz) = 6dcbb824293c3220a3cf8df4565c371a310f9042f01e63e5c1bfc20ee3e4a4c7
+SIZE (openvanilla-0.7.2.20070514.tar.gz) = 21002095
diff -urN scim-openvanilla.orig/files/patch-src-Makefile.in scim-openvanilla/files/patch-src-Makefile.in
--- scim-openvanilla.orig/files/patch-src-Makefile.in	Wed Dec 31 18:00:00 1969
+++ scim-openvanilla/files/patch-src-Makefile.in	Tue May 15 20:52:15 2007
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	Mon May 14 14:23:30 2007
++++ src/Makefile.in	Tue May 15 20:50:22 2007
+@@ -222,7 +222,7 @@
+ 
+ 
+ #noinst_HEADERS = scim_chewing_imengine.h scim_chewing_config_entry.h
+-moduledir = @SCIM_MODULEDIR@/IMEngine
++moduledir = ${PREFIX}/lib/scim-1.0/1.4.0/IMEngine
+ module_LTLIBRARIES = OVLoader-SCIM.la
+ OVLoader_SCIM_la_SOURCES = OVLoader-SCIM.cpp
+ OVLoader_SCIM_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ 
diff -urN scim-openvanilla.orig/files/patch-src::Makefile.in scim-openvanilla/files/patch-src::Makefile.in
--- scim-openvanilla.orig/files/patch-src::Makefile.in	Thu May 10 15:18:25 2007
+++ scim-openvanilla/files/patch-src::Makefile.in	Wed Dec 31 18:00:00 1969
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Sat Sep  3 12:22:13 2005
-+++ src/Makefile.in	Sat Sep  3 13:44:22 2005
-@@ -202,7 +202,7 @@
- 
- 
- #noinst_HEADERS = scim_chewing_imengine.h scim_chewing_config_entry.h
--moduledir = @SCIM_MODULEDIR@/IMEngine
-+moduledir = ${PREFIX}/lib/scim-1.0/IMEngine
- module_LTLIBRARIES = OVLoader-SCIM.la
- OVLoader_SCIM_la_SOURCES = OVLoader-SCIM.cpp
- OVLoader_SCIM_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ 
diff -urN scim-openvanilla.orig/pkg-plist scim-openvanilla/pkg-plist
--- scim-openvanilla.orig/pkg-plist	Thu May 10 15:18:25 2007
+++ scim-openvanilla/pkg-plist	Wed Dec 31 18:00:00 1969
@@ -1,4 +0,0 @@
-lib/scim-1.0/IMEngine/OVLoader-SCIM.a
-lib/scim-1.0/IMEngine/OVLoader-SCIM.la
-lib/scim-1.0/IMEngine/OVLoader-SCIM.so
-@dirrmtry lib/scim-1.0/IMEngine

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070516193902.97C4017381>