5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
30 lines
900 B
Makefile
30 lines
900 B
Makefile
# $NetBSD: Makefile,v 1.16 2018/07/04 13:40:21 jperkin Exp $
|
|
|
|
CANNA_MODULE= canuum
|
|
|
|
.include "../../inputmethod/canna/Makefile.common"
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/ja_JP.EUC/man1
|
|
|
|
CONFIGURE_DIRS= ${WRKSRC}/canuum
|
|
|
|
INSTALL_MAKE_FLAGS+= INSTUGIDFLAGS=
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
SUBST_CLASSES+= fix_curs
|
|
SUBST_STAGE.fix_curs= pre-configure
|
|
SUBST_MESSAGE.fix_curs= Fixing curses
|
|
SUBST_FILES.fix_curs+= canuum/Imakefile
|
|
SUBST_SED.fix_curs+= -e 's/TERMCAP_LIB = .*/TERMCAP_LIB = -l'${BUILDLINK_LIBNAME.curses}'/g'
|
|
|
|
.include "../../inputmethod/canna-lib/buildlink3.mk"
|
|
|
|
pre-configure:
|
|
${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/canuum
|
|
${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/canuum
|
|
${LN} -fs ${WRKSRC}/cannaconf.h ${WRKSRC}/canuum
|
|
${LN} -fs ${WRKSRC}/canna/ccompat.h ${WRKSRC}/canuum
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|