summaryrefslogtreecommitdiff
path: root/inputmethod/xcin/Makefile
blob: 307f64100c5c39c765d562b398f59dd19f02f71d (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
34
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.3 2002/09/10 16:06:44 wiz Exp $
#

DISTNAME=	xcin-2.5.3.pre2
PKGNAME=	xcin-2.5.3rc2
PKGREVISION=	1
CATEGORIES=	chinese x11
MASTER_SITES=	ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/

MAINTAINER=	rxg@netbsd.org
HOMEPAGE=	http://xcin.linux.org.tw/
COMMENT=	Chinese XIM server

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

USE_BUILDLINK_ONLY=	yes

WRKSRC=		${WRKDIR}/xcin

post-extract:
	${MV} ${WRKSRC}/doc/man ${WRKSRC}

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

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xcin
	cd ${WRKSRC}/doc; ${PAX} -rw * ${PREFIX}/share/doc/xcin

.include "../../converters/libiconv/buildlink.mk"
.include "../../databases/db3/buildlink.mk"
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../inputmethod/libtabe/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"