d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
30 lines
752 B
Makefile
30 lines
752 B
Makefile
# $NetBSD: Makefile,v 1.14 2006/12/27 13:37:38 joerg Exp $
|
|
|
|
DISTNAME= kinput2-v3
|
|
PKGNAME= kinput2-3.0
|
|
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
|
|
|
|
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"
|