pkgsrc/inputmethod/canna-server/Makefile
tsutsui e069d8e6c6 Update canna packages to 3.7pl3.
pkgsrc changes:
 - reorganize patch filenames for maintainability
  - patch-ac is also merged into existing patch-dic_phono_Imakefile
 - fix a missed 64 bit time_t issue in libRK
 - add a hook in cmd.tmpl to disable installation of cmd/forcpp and
   cmd/kpdic in canna-lib
 - tweak SUBDIRS patches in Makefiles to avoid unnecessary builds
   for each packages
 - pull various updates to canuum from the original FreeWnn's uum,
   including posix_openpt(3) support, and disable the default but
   obsolete libspt support
 - reorganize curses(3) ops in canuum per curses(3) documents
 - fix misc compiler warnings
 - take maintainership

Upstream changes:

 All changes are noted in ChangeLog and CHANGES.jp in distfile.
 I won't bother to quote ~1700 line ChangeLogs here,
 because this latest 3.7pl3 was released on 2004/05/20 and
 the previous 3.6pl4 was 2003/09/22.
 Highlight points are:
  - binary dictionary format is changed
  - shlib versions are bumped to 1.2 from 1.1
  - new APIs for wchar
  - experimental 64 bit architecture support
  - IPv6 support

Both server and clients (canuum and mule-1.1) are tested on
NetBSD/i386 7.0, NetBSD/amd64 7.0, and NetBSD/luna68k 7.0.
Also thanks to Nobuyoshi SATO, for his initial patch posted
to tech-pkg-ja@.
2015-10-18 03:58:31 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2015/10/18 03:58:31 tsutsui Exp $
CANNA_MODULE= server
.include "../../inputmethod/canna/Makefile.common"
PKG_DESTDIR_SUPPORT= destdir
INSTALL_TARGET= instserver
MESSAGE_SUBST+= CANNA_USER=${CANNA_USER}
MESSAGE_SUBST+= CANNA_GROUP=${CANNA_GROUP}
PKG_GROUPS= ${CANNA_GROUP}
PKG_USERS= ${CANNA_USER}:${CANNA_GROUP}
MAKE_DIRS+= ${IMDICTDIR}
OWN_DIRS+= ${IMDICTDIR}/canna
OWN_DIRS+= ${IMDICTDIR}/canna/canna
OWN_DIRS_PERMS+= ${CANNA_SPOOL} \
${CANNA_USER} ${CANNA_GROUP} ${CANNA_MODE}
RCD_SCRIPTS= canna
.include "../../inputmethod/canna-lib/buildlink3.mk"
post-patch:
${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
${SED} -e 's|\(SUBDIRS = \).*|\1 canna lib/RK lib/RKindep server cmd doc|' \
-e 's|\(SERVERDIR = \).*|\1 server cmd doc|' \
${WRKSRC}/Imakefile.orig > ${WRKSRC}/Imakefile
${MV} ${WRKSRC}/Canna.conf ${WRKSRC}/Canna.conf.orig
${SED} -e 's|\(DicDir.*=\).*|\1${IMDICTDIR}/canna|' \
${WRKSRC}/Canna.conf.orig > ${WRKSRC}/Canna.conf
.include "../../mk/bsd.pkg.mk"