ports/89413: Update port: chinese/libtabe
Gea-Suan Lin
gslin at ccca.nctu.edu.tw
Tue Nov 22 12:20:19 UTC 2005
>Number: 89413
>Category: ports
>Synopsis: Update port: chinese/libtabe
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 22 12:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Sun Nov 6 23:34:35 CST 2005 root at netnews.NCTU.edu.tw:/da1/usr.obj/da0/usr.src/sys/NETNEWS i386
>Description:
Use bsd.databases.mk to decide BerkeleyDB version.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/chinese/libtabe/Makefile ./Makefile
--- /usr/ports/chinese/libtabe/Makefile Fri Mar 19 19:49:45 2004
+++ ./Makefile Tue Nov 22 20:09:10 2005
@@ -7,22 +7,17 @@
PORTNAME= libtabe
PORTVERSION= 0.2.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= chinese
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
MAINTAINER= kcwu at ck.tp.edu.tw
COMMENT= Unified library for Chinese text processing
-.if !defined(USE_DB2)
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
-.else
-LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db2
-.endif
-
WRKSRC= ${WRKDIR}/libtabe
INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
+USE_BDB= 41+
USE_GMAKE= yes
USE_XLIB= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
@@ -31,26 +26,12 @@
--with-db-bin=${LOCALBASE}/bin \
--enable-shared
-.if !defined(USE_DB2)
-CONFIGURE_ARGS+= --with-db-inc=${LOCALBASE}/include/db3
-.else
-CONFIGURE_ARGS+= --with-db-inc=${LOCALBASE}/include/db2
-.endif
-
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Does not compile on amd64"
.endif
-pre-fetch:
-.if !defined(USE_DB2)
- @${ECHO} --
- @${ECHO} "Type \"make -DUSE_DB2\" if you want use DB2."
- @${ECHO} "Otherwise, xcin2.5 will use DB3."
- @${ECHO} --
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/tabe
@@ -62,6 +43,6 @@
.endfor
.endif
${MKDIR} ${PREFIX}/share/tabe
- ${TOUCH} ${PREFIX}/share/tabe/libtabe-0.2.5
+ ${TOUCH} ${PREFIX}/share/tabe/libtabe-${PORTVERSION}
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list