summaryrefslogtreecommitdiff
path: root/inputmethod/libtabe/Makefile
blob: 8b753a503a0ba65084b63a8a983e8ab9e4fd192f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.2 2002/08/25 19:22:59 jlam Exp $
#

DISTNAME=	libtabe-0.2.5
CATEGORIES=	chinese inputmethod
MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/libtabe/devel/

MAINTAINER=	rxg@netbsd.org
HOMEPAGE=	http://libtabe.sourceforge.net/
COMMENT=	library for Chinese language processing

USE_LIBTOOL=	yes
LTCONFIG_OVERRIDE=	${WRKSRC}/script/ltmain.sh
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-db-inc=${LOCALBASE}/include/db3 \
		--with-db-lib=${LOCALBASE}/lib

WRKSRC=		${WRKDIR}/libtabe

post-configure:
	# this pkg generates libtool script from configure file
	cd ${WRKSRC} && script/ltmain.sh

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tabe
	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/tabe
	${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README \
		${PREFIX}/share/doc/tabe/README.bims
	${INSTALL_DATA} ${WRKSRC}/tsi-src/README \
		${PREFIX}/share/doc/tabe/README.tsi

.include "../../databases/db3/buildlink.mk"
.include "../../mk/bsd.pkg.mk"