e19af85962
* To compile with ja-freewnn-lib-1.11alpha22, small patches added for mainly with adding include directive: --- +#include <unistd.h> +#include <stdlib.h> +#include <stdio.h> +#include <string.h> ---- the patches are listed below. patch-cmd_kinput2.c patch-lib_Canna.c patch-lib_ConvCtrl.c patch-lib_KIProto.c patch-lib_XimpProto.c patch-lib_ctext.c patch-lib_wnnlib.c
34 lines
848 B
Makefile
34 lines
848 B
Makefile
# $NetBSD: Makefile,v 1.21 2011/09/13 07:28:48 mef Exp $
|
|
|
|
DISTNAME= kinput2-v3.1
|
|
PKGNAME= kinput2-3.1
|
|
PKGREVISION= 2
|
|
CATEGORIES= japanese inputmethod
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/x11/kinput2/
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
COMMENT= Input server of Japanese text
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_JOBS_SAFE= NO
|
|
USE_IMAKE= YES
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST-common
|
|
|
|
.include "options.mk"
|
|
|
|
MAKE_ENV+= PORT_IMAKE_DEFINES=${KINPUT2_DEFS:Q}
|
|
|
|
pre-configure:
|
|
${MV} -f ${WRKSRC}/Kinput2.conf ${WRKSRC}/Kinput2.conf.org
|
|
${CP} ${FILESDIR}/Kinput2.conf ${WRKSRC}/Kinput2.conf
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../x11/libXp/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|