diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/libtabe/Makefile | 25 | ||||
-rw-r--r-- | chinese/libtabe/distinfo | 2 | ||||
-rw-r--r-- | chinese/libtabe/files/patch-aa | 15 | ||||
-rw-r--r-- | chinese/libtabe/pkg-plist | 5 |
4 files changed, 31 insertions, 16 deletions
diff --git a/chinese/libtabe/Makefile b/chinese/libtabe/Makefile index 7dabc52..cdd85be 100644 --- a/chinese/libtabe/Makefile +++ b/chinese/libtabe/Makefile @@ -1,20 +1,19 @@ # New ports collection makefile for: libtabe -# Version required: 0.1 beta 8 +# Version required: 0.1.2 # Date created: 2 Nov 1999 # Whom: Keith Jang <keith@freebsd.sinica.edu.tw> # # $FreeBSD$ # -DISTNAME= libtabe-0.1-pre8 -PKGNAME= zh-libtabe-0.1b8 +DISTNAME= libtabe-0.1-2 +PKGNAME= zh-libtabe-0.1.2 CATEGORIES= chinese MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/ MAINTAINER= keith@freebsd.sinica.edu.tw -BUILD_DEPENDS= ${PREFIX}/lib/libdb2.a:${PORTSDIR}/databases/db -RUN_DEPENDS= ${PREFIX}/lib/libdb2.a:${PORTSDIR}/databases/db +BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db WRKSRC= ${WRKDIR}/libtabe USE_XLIB= yes @@ -30,21 +29,23 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/tabe - ${INSTALL_DATA} ${WRKSRC}/doc/libtabe.sgml ${PREFIX}/share/doc/tabe - ${INSTALL_DATA} ${WRKSRC}/doc/Changes ${PREFIX}/share/doc/tabe + ${MKDIR} ${PREFIX}/share/doc/tab ${INSTALL_DATA} ${WRKSRC}/src/tsi-src/README ${PREFIX}/share/doc/tabe +.for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \ + et26.txt libtabe.sgml + ${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${PREFIX}/share/doc/tabe +.endfor .endif .if ${PORTOBJFORMAT} == "elf" - ${RM} ${PREFIX}/lib/libbims.so ${PREFIX}/lib/libbims.so.0 + ${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} ${PREFIX}/lib/libtabe.so ${PREFIX}/lib/libtabe.so.0 + ${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} ${PREFIX}/lib/libbims.so.0 - ${RM} ${PREFIX}/lib/libtabe.so.0 + ${RM} -f ${PREFIX}/lib/libbims.so.0 + ${RM} -f ${PREFIX}/lib/libtabe.so.0 .endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib diff --git a/chinese/libtabe/distinfo b/chinese/libtabe/distinfo index 985c866..9b722d1 100644 --- a/chinese/libtabe/distinfo +++ b/chinese/libtabe/distinfo @@ -1 +1 @@ -MD5 (libtabe-0.1-pre8.tar.gz) = e6d07230898d8e4fde7daa4e3d2163ed +MD5 (libtabe-0.1-2.tar.gz) = 337982ce290de8e9a1e0b56d117ad9eb diff --git a/chinese/libtabe/files/patch-aa b/chinese/libtabe/files/patch-aa index 898f274..ff23640 100644 --- a/chinese/libtabe/files/patch-aa +++ b/chinese/libtabe/files/patch-aa @@ -1,5 +1,14 @@ ---- src/Makefile.in.orig Sat Dec 18 16:08:55 1999 -+++ src/Makefile.in Sat Dec 18 16:09:08 1999 +--- src/Makefile.in.orig Wed Feb 23 09:48:10 2000 ++++ src/Makefile.in Sun Feb 27 02:03:32 2000 +@@ -27,7 +27,7 @@ + bindir = @bindir@ + includedir = @includedir@ + +-version = 0.1-2 ++version = 0.1 + major_ver = 0 + + # @@ -155,7 +155,7 @@ install: install_binary install_data @@ -8,7 +17,7 @@ +install_binary: if [ ! -d $(libdir) ]; then $(INSTALL) -d $(libdir); fi $(INSTALL_DATA) lib$(LIBNAME).a $(libdir) - if [ -f lib$(LIBNAME).so.$(version) ]; then \ + if [ -f lib$(LIBNAME).so ]; then \ @@ -171,6 +171,6 @@ (cd supports/bims; $(MAKE) install) (cd util; $(MAKE) install) diff --git a/chinese/libtabe/pkg-plist b/chinese/libtabe/pkg-plist index 5f45b52..dc5e5bb 100644 --- a/chinese/libtabe/pkg-plist +++ b/chinese/libtabe/pkg-plist @@ -12,8 +12,13 @@ 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/BoPoMoFo.shtml share/doc/tabe/Changes +share/doc/tabe/Changes.pre-0.1 share/doc/tabe/README +share/doc/tabe/TODO +share/doc/tabe/ZuYinCode.txt +share/doc/tabe/et26.txt share/doc/tabe/libtabe.sgml share/tabe/tsiyin/tsi.db share/tabe/tsiyin/yin.db |