1999-08-31 18:27:19 +00:00
|
|
|
# New ports collection makefile for: libtabe
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 1/1/00
|
|
|
|
# Whom: Keith Jang <jtjang@gcn.net.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= libtabe-0.1-pre2
|
|
|
|
PKGNAME= zh-libtabe-0.1b2
|
|
|
|
CATEGORIES= chinese
|
|
|
|
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/
|
|
|
|
|
|
|
|
MAINTAINER= jtjang@gcn.net.tw
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libdb2.a:${PORTSDIR}/databases/db
|
|
|
|
RUN_DEPENDS= ${PREFIX}/lib/libdb2.a:${PORTSDIR}/databases/db
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/libtabe
|
1999-09-10 09:55:45 +00:00
|
|
|
USE_XLIB= yes
|
1999-08-31 18:27:19 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1999-09-04 16:34:32 +00:00
|
|
|
USE_GMAKE= yes
|
1999-08-31 18:27:19 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--includedir=${PREFIX}/include/tabe \
|
|
|
|
--with-dbinc=${PREFIX}/include/db2 \
|
1999-09-04 16:34:32 +00:00
|
|
|
--with-dblib=${PREFIX}/lib \
|
|
|
|
--enable-shared
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
1999-08-31 18:27:19 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/tabe
|
|
|
|
${CP} ${WRKSRC}/doc/libtabe.sgml ${PREFIX}/share/doc/tabe
|
|
|
|
.endif
|
1999-09-04 16:34:32 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
${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/libtabe.so.0
|
|
|
|
.endif
|
1999-08-31 18:27:19 +00:00
|
|
|
|
1999-09-04 16:34:32 +00:00
|
|
|
.include <bsd.port.post.mk>
|