pkgsrc/inputmethod/kinput2/Makefile

33 lines
809 B
Makefile

# $NetBSD: Makefile,v 1.20 2010/07/11 02:58:16 obache Exp $
DISTNAME= kinput2-v3.1
PKGNAME= kinput2-3.1
PKGREVISION= 1
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/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"