aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/libtabe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/libtabe/Makefile')
-rw-r--r--chinese/libtabe/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/chinese/libtabe/Makefile b/chinese/libtabe/Makefile
index 7dabc52b3af4..cdd85be21b2d 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