aboutsummaryrefslogtreecommitdiff
path: root/chinese/libtabe
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/libtabe')
-rw-r--r--chinese/libtabe/Makefile17
-rw-r--r--chinese/libtabe/distinfo2
-rw-r--r--chinese/libtabe/files/patch-aa19
-rw-r--r--chinese/libtabe/files/patch-ab11
-rw-r--r--chinese/libtabe/pkg-plist2
5 files changed, 45 insertions, 6 deletions
diff --git a/chinese/libtabe/Makefile b/chinese/libtabe/Makefile
index adb047c4a267..7dabc52b3af4 100644
--- a/chinese/libtabe/Makefile
+++ b/chinese/libtabe/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: libtabe
-# Version required: 0.1 beta 5
+# Version required: 0.1 beta 8
# Date created: 2 Nov 1999
-# Whom: Keith Jang <jtjang@gcn.net.tw>
+# Whom: Keith Jang <keith@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#
-DISTNAME= libtabe-0.1-pre5
-PKGNAME= zh-libtabe-0.1b5
+DISTNAME= libtabe-0.1-pre8
+PKGNAME= zh-libtabe-0.1b8
CATEGORIES= chinese
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
@@ -31,14 +31,21 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/tabe
- ${CP} ${WRKSRC}/doc/libtabe.sgml ${PREFIX}/share/doc/tabe
+ ${INSTALL_DATA} ${WRKSRC}/doc/libtabe.sgml ${PREFIX}/share/doc/tabe
+ ${INSTALL_DATA} ${WRKSRC}/doc/Changes ${PREFIX}/share/doc/tabe
+ ${INSTALL_DATA} ${WRKSRC}/src/tsi-src/README ${PREFIX}/share/doc/tabe
.endif
.if ${PORTOBJFORMAT} == "elf"
+ ${RM} ${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} ${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} ${PREFIX}/lib/libbims.so.0
${RM} ${PREFIX}/lib/libtabe.so.0
.endif
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>
diff --git a/chinese/libtabe/distinfo b/chinese/libtabe/distinfo
index 22de30c6436a..985c8666357d 100644
--- a/chinese/libtabe/distinfo
+++ b/chinese/libtabe/distinfo
@@ -1 +1 @@
-MD5 (libtabe-0.1-pre5.tar.gz) = aeab57391450d4eb02b2da200126349d
+MD5 (libtabe-0.1-pre8.tar.gz) = e6d07230898d8e4fde7daa4e3d2163ed
diff --git a/chinese/libtabe/files/patch-aa b/chinese/libtabe/files/patch-aa
new file mode 100644
index 000000000000..898f274651b3
--- /dev/null
+++ b/chinese/libtabe/files/patch-aa
@@ -0,0 +1,19 @@
+--- src/Makefile.in.orig Sat Dec 18 16:08:55 1999
++++ src/Makefile.in Sat Dec 18 16:09:08 1999
+@@ -155,7 +155,7 @@
+
+ install: install_binary install_data
+
+-install_binary: binary
++install_binary:
+ if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
+ $(INSTALL_DATA) lib$(LIBNAME).a $(libdir)
+ if [ -f lib$(LIBNAME).so.$(version) ]; then \
+@@ -171,6 +171,6 @@
+ (cd supports/bims; $(MAKE) install)
+ (cd util; $(MAKE) install)
+
+-install_data: data
++install_data:
+ (cd tsi-src; $(MAKE) install)
+
diff --git a/chinese/libtabe/files/patch-ab b/chinese/libtabe/files/patch-ab
new file mode 100644
index 000000000000..5d3b4c7f1634
--- /dev/null
+++ b/chinese/libtabe/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/supports/bims/Makefile.in.orig Sat Dec 18 16:11:10 1999
++++ src/supports/bims/Makefile.in Sat Dec 18 16:11:19 1999
+@@ -72,7 +72,7 @@
+ if [ -d obj-s ]; then rmdir obj-s; fi
+ $(RM) Makefile
+
+-install: all
++install:
+ if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi
+ $(INSTALL_DATA) lib$(LIBNAME).a $(libdir)
+ if [ -f lib$(LIBNAME).so.$(version) ]; then \
diff --git a/chinese/libtabe/pkg-plist b/chinese/libtabe/pkg-plist
index eb09166b2396..5f45b527f7cd 100644
--- a/chinese/libtabe/pkg-plist
+++ b/chinese/libtabe/pkg-plist
@@ -12,6 +12,8 @@ lib/libtabe.so
lib/libtabe.so.0.1
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+share/doc/tabe/Changes
+share/doc/tabe/README
share/doc/tabe/libtabe.sgml
share/tabe/tsiyin/tsi.db
share/tabe/tsiyin/yin.db