2012-10-06 16:25:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2012/10/06 14:25:10 asau Exp $
|
2003-09-23 17:06:57 +02:00
|
|
|
|
2010-02-20 11:37:24 +01:00
|
|
|
PKGREVISION= 3
|
2003-09-23 17:06:57 +02:00
|
|
|
CANNA_MODULE= canuum
|
|
|
|
|
2006-07-05 06:48:28 +02:00
|
|
|
.include "../../inputmethod/canna/Makefile.common"
|
|
|
|
|
2009-02-17 14:02:20 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-09-23 17:06:57 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/ja_JP.EUC/man1
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2010-02-20 11:37:24 +01:00
|
|
|
CONFIGURE_DIRS= . canuum
|
|
|
|
BUILD_DIRS= canuum
|
|
|
|
|
2010-05-28 13:06:34 +02:00
|
|
|
INSTALL_MAKE_FLAGS+= INSTUGIDFLAGS=
|
|
|
|
|
2010-02-20 11:37:24 +01:00
|
|
|
SPECIAL_PERMS+= bin/canuum ${SETUID_ROOT_PERMS}
|
2006-07-05 06:48:28 +02:00
|
|
|
|
2011-12-07 17:07:14 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
|
|
SUBST_CLASSES+= fix_curs
|
|
|
|
SUBST_STAGE.fix_curs= post-patch
|
|
|
|
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'
|
|
|
|
|
2006-07-05 06:48:28 +02:00
|
|
|
.include "../../inputmethod/canna-lib/buildlink3.mk"
|
|
|
|
|
2006-01-12 02:57:31 +01:00
|
|
|
pre-configure:
|
2010-02-20 11:37:24 +01:00
|
|
|
${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/canuum
|
|
|
|
${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}/canuum
|
2006-07-05 06:48:28 +02:00
|
|
|
${LN} -fs ${WRKSRC}/cannaconf.h ${WRKSRC}/canuum
|
|
|
|
${LN} -fs ${WRKSRC}/canna/ccompat.h ${WRKSRC}/canuum
|
2006-01-12 02:57:31 +01:00
|
|
|
|
2003-09-23 17:06:57 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|