pkgsrc/inputmethod/canna-canuum/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2004/03/05 19:09:22 minskim Exp $
#
.include "../../inputmethod/canna/Makefile.common"
CANNA_MODULE= canuum
MAINTAINER= oishi@ims.ac.jp
USE_BUILDLINK3= YES
MAKE_ARGS+= PREFIX=${PREFIX}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF_CMD}; \
${MAKE_PROGRAM} ${MAKE_ARGS} Makefile; \
${MAKE_PROGRAM} ${MAKE_ARGS} cannaconf.h
@cd ${WRKSRC}/canuum; ${SETENV} ${MAKE_ENV} ${XMKMF_CMD}; \
${MAKE_PROGRAM} ${MAKE_ARGS} Makefile; \
${MAKE_PROGRAM} ${MAKE_ARGS} includes
@${LN} ${WRKSRC}/cannaconf.h ${WRKSRC}/canuum
@${LN} ${WRKSRC}/canna/ccompat.h ${WRKSRC}/canuum
@cd ${WRKSRC}/canuum; ${MAKE_PROGRAM} ${MAKE_ARGS} depend
do-build:
@cd ${WRKSRC}/canuum; ${MAKE_PROGRAM} ${MAKE_ARGS} all
pre-install:
@${MKDIR} ${WRKSRC}/canuum/misc
do-install:
@cd ${WRKSRC}/canuum; ${MAKE_PROGRAM} ${MAKE_ARGS} install
post-install:
@${INSTALL_MAN} ${WRKSRC}/canuum/canuum.jmn \
${PREFIX}/man/ja_JP.EUC/man1/canuum.1
.include "../../devel/nbitools/buildlink3.mk"
.include "../../inputmethod/canna-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"