2015-07-04 18:18:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2015/07/04 16:18:36 joerg Exp $
|
2002-06-15 11:31:38 +02:00
|
|
|
|
|
|
|
DISTNAME= Chinput-3.0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 3
|
2002-06-15 11:31:38 +02:00
|
|
|
CATEGORIES= inputmethod
|
|
|
|
MASTER_SITES= http://download.linuxbyte.net/Chinese/Input/
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= rxg@NetBSD.org
|
2002-06-15 11:31:38 +02:00
|
|
|
HOMEPAGE= http://www.opencjk.org/~yumj/project-chinput.html
|
|
|
|
COMMENT= Chinese input server
|
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= chinput
|
2002-06-15 11:31:38 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin etc
|
|
|
|
|
2002-06-15 11:31:38 +02:00
|
|
|
post-patch:
|
|
|
|
${SED} -e 's:/usr/dict:'${LOCALBASE}/lib/unicon':g' < \
|
|
|
|
${WRKSRC}/src/init.c > ${WRKSRC}/src/init.c.tmp
|
|
|
|
${SED} -e 's:/usr/lib/ZWinPro:'${PREFIX}/etc':g' < \
|
|
|
|
${WRKSRC}/src/init.c.tmp > ${WRKSRC}/src/init.c
|
|
|
|
${MV} ${WRKSRC}/resource/Chinput.ad ${WRKSRC}/resource/Chinput.ad.tmp
|
|
|
|
${SED} -e 's:/usr/lib/unicon2:'${LOCALBASE}/lib/unicon':g' < \
|
|
|
|
${WRKSRC}/resource/Chinput.ad.tmp > \
|
|
|
|
${WRKSRC}/resource/Chinput.ad
|
|
|
|
|
|
|
|
do-install:
|
2008-03-04 16:55:13 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/chinput ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/resource/Chinput.ad ${DESTDIR}${PREFIX}/etc
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/Chinput
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/Chinput
|
2002-06-15 11:31:38 +02:00
|
|
|
|
2004-04-19 01:55:21 +02:00
|
|
|
.include "../../inputmethod/unicon-im/buildlink3.mk"
|
2007-02-15 15:38:28 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2002-06-15 11:31:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|