Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 13:14:57 +0800 (CST)
From:      kcwu@ck.tp.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28219: Update chinese/libtabe to 0.2.2
Message-ID:  <20010617051457.189AD9B09@camel.ck.tp.edu.tw>

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

>Number:         28219
>Category:       ports
>Synopsis:       Update chinese/libtabe to 0.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 16 22:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kuang-che Wu
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD camel.ck.tp.edu.tw 4.3-STABLE FreeBSD 4.3-STABLE #1: Fri Jun 1 16:45:58 CST 2001 root@camel.ck.tp.edu.tw:/home/obj/usr/src/sys/camel i386


>Description:
Update of chinese/libtabe to 0.2.2

>How-To-Repeat:
>Fix:

diff -ruN libtabe.orig/Makefile libtabe/Makefile
--- libtabe.orig/Makefile	Tue Jun  5 15:06:34 2001
+++ libtabe/Makefile	Sun Jun 17 12:09:59 2001
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	libtabe
-PORTVERSION=	0.1.9
+PORTVERSION=	0.2.2
 CATEGORIES=	chinese
-MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/libtabe/
+MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
 
 MAINTAINER=	keith@FreeBSD.org
 
@@ -37,17 +37,7 @@
 	${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/share/doc/tabe
 .endfor
 .endif
-	${TOUCH} ${PREFIX}/share/tabe/libtabe-0.1.9
-.if ${PORTOBJFORMAT} == "elf"
-	${RM} -f ${PREFIX}/lib/libbims.so ${PREFIX}/lib/libbims.so.0
-	${MV} ${PREFIX}/lib/libbims.so.0.1 ${PREFIX}/lib/libbims.so.0
-	${LN} -s libbims.so.0 ${PREFIX}/lib/libbims.so
-	${RM} -f ${PREFIX}/lib/libtabe.so ${PREFIX}/lib/libtabe.so.0
-	${MV} ${PREFIX}/lib/libtabe.so.0.1 ${PREFIX}/lib/libtabe.so.0
-	${LN} -s libtabe.so.0 ${PREFIX}/lib/libtabe.so
-.else
-	${RM} -f ${PREFIX}/lib/libbims.so.0
-	${RM} -f ${PREFIX}/lib/libtabe.so.0
-.endif
+	${TOUCH} ${PREFIX}/share/tabe/libtabe-0.2.2
+	${RM} -f ${PREFIX}/lib/libtabe.la ${PREFIX}/lib/libbims.la
 
 .include <bsd.port.post.mk>
diff -ruN libtabe.orig/distinfo libtabe/distinfo
--- libtabe.orig/distinfo	Tue Oct 31 20:45:30 2000
+++ libtabe/distinfo	Sun Jun 17 09:01:16 2001
@@ -1 +1 @@
-MD5 (libtabe-0.1.9.tar.gz) = 0b7e960085113899653bbade18e181ad
+MD5 (libtabe-0.2.2.tar.gz) = 53a4eadc12fe736cdaf7b6924fca811f
diff -ruN libtabe.orig/files/patch-aa libtabe/files/patch-aa
--- libtabe.orig/files/patch-aa	Tue Oct 31 20:45:38 2000
+++ libtabe/files/patch-aa	Sun Jun 17 09:49:25 2001
@@ -1,26 +1,25 @@
---- src/Makefile.in.orig	Mon Jul 24 08:10:05 2000
-+++ src/Makefile.in	Sat Aug 12 15:07:23 2000
-@@ -29,8 +29,8 @@
- bindir	    = @bindir@
- includedir  = @includedir@
+--- src/Makefile.in.orig	Thu Jun  7 00:26:26 2001
++++ src/Makefile.in	Sun Jun 17 09:49:05 2001
+@@ -60,8 +60,7 @@
  
--version	    = 0.1.9
--major_ver   = 0.1
-+version	    = 0.1
-+major_ver   = 0
+ $(LIBNAME): $(LIBOBJS)
+ 	$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBOBJS) -rpath $(libdir) \
+-		-version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER) \
+-		-release $(RELEASE_VER)
++		-version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER)
  
- #
- # libtabe main makefile.
-@@ -162,7 +162,7 @@
+ subsys:
+ 	(cd supports/bims; $(MAKE))
+@@ -110,7 +109,7 @@
  
  install: install_binary install_data
  
 -install_binary: binary
 +install_binary:
  	if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
- 	$(INSTALL_DATA) $(unsharelib) $(libdir)
- 	if [ -f $(sharelib) ]; then \
-@@ -178,6 +178,6 @@
+ 	if [ ! -d $(includedir) ]; then $(INSTALL) -d $(includedir); fi
+ 	$(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBNAME) $(libdir)
+@@ -118,6 +117,6 @@
  	(cd supports/bims; $(MAKE) install)
  	(cd util; $(MAKE) install)
  
diff -ruN libtabe.orig/files/patch-ab libtabe/files/patch-ab
--- libtabe.orig/files/patch-ab	Tue Oct 31 20:45:39 2000
+++ libtabe/files/patch-ab	Sun Jun 17 09:49:55 2001
@@ -1,22 +1,21 @@
---- src/supports/bims/Makefile.in.orig	Mon Jul 24 08:10:05 2000
-+++ src/supports/bims/Makefile.in	Sat Aug 12 15:07:30 2000
-@@ -30,8 +30,8 @@
- ld_sharelib = @ld_sharelib@
- slib_ext    = @slib_ext@
+--- src/supports/bims/Makefile.in.orig	Thu Jun  7 00:26:26 2001
++++ src/supports/bims/Makefile.in	Sun Jun 17 09:48:49 2001
+@@ -45,8 +45,7 @@
  
--version     = 0.1.9
--major_ver   = 0.1
-+version     = 0.1
-+major_ver   = 0
+ $(LIBNAME): $(LIBOBJS)
+ 	$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBOBJS) -rpath $(libdir) \
+-		-version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER) \
+-		-release $(RELEASE_VER)
++		-version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER)
  
- AR          = ar cr
- RM          = rm -rf
-@@ -78,7 +78,7 @@
+ bims.lo: bims.c bims.h
+ 	$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(DEFS) $(INC) -o $@ bims.c
+@@ -59,7 +58,7 @@
  	if [ -d obj-s ]; then rmdir obj-s; fi
- 	$(RM) Makefile 
+ 	$(RM) Makefile
  
 -install: all
 +install:
  	if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
- 	$(INSTALL_DATA) $(unsharelib) $(libdir)
- 	if [ -f $(sharelib) ]; then \
+ 	if [ ! -d $(includedir) ]; then $(INSTALL) -d $(includedir); fi
+ 	$(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBNAME) $(libdir)
diff -ruN libtabe.orig/pkg-descr libtabe/pkg-descr
--- libtabe.orig/pkg-descr	Wed Sep  1 02:27:19 1999
+++ libtabe/pkg-descr	Sun Jun 17 08:57:41 2001
@@ -3,3 +3,5 @@
 Chinese words, phrases, sentences, and phonetic symbols.
 It is intended to be used as the foundation of Chinese
 text processing.
+
+WWW: http://libtabe.sourceforge.net/
diff -ruN libtabe.orig/pkg-plist libtabe/pkg-plist
--- libtabe.orig/pkg-plist	Tue Oct 31 20:45:30 2000
+++ libtabe/pkg-plist	Sun Jun 17 12:05:07 2001
@@ -6,10 +6,10 @@
 include/tabe/tabe.h
 lib/libbims.a
 lib/libbims.so
-lib/libbims.so.0.1
+lib/libbims.so.0
 lib/libtabe.a
 lib/libtabe.so
-lib/libtabe.so.0.1
+lib/libtabe.so.0
 share/doc/tabe/BoPoMoFo.shtml
 share/doc/tabe/Changes
 share/doc/tabe/Changes.pre-0.1
@@ -19,7 +19,7 @@
 share/doc/tabe/ZuYinCode.txt
 share/doc/tabe/et26.txt
 share/doc/tabe/libtabe.sgml
-share/tabe/libtabe-0.1.9
+share/tabe/libtabe-0.2.2
 share/tabe/tsiyin/tsi.db
 share/tabe/tsiyin/yin.db
 @dirrm include/tabe
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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