2016-01-21 23:42:40 +01:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile.common,v 1.21 2015/06/29 11:06:47 ryoon Exp $
# used by inputmethod/ja-freewnn-server/Makefile
# used by inputmethod/ja-freewnn-lib/Makefile
DISTNAME= FreeWnn-1.1.1-a023
MASTER_SITES= ${MASTER_SITE_OSDN:=freewnn/63271/} \
ftp://ftp.st.ryukoku.ac.jp/pub/japanese-im/FreeWnn/
CATEGORIES= inputmethod
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://freewnn.osdn.jp/
COMMENT= Japanese/Chinese/Korean input method
LICENSE= gnu-gpl-v2
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
FILESDIR= ${.CURDIR}/../../inputmethod/ja-freewnn-lib/files
DISTINFO_FILE= ${.CURDIR}/../../inputmethod/ja-freewnn-lib/distinfo
PATCHDIR= ${.CURDIR}/../../inputmethod/ja-freewnn-lib/patches
# will be taka care with pkg INSTALL script
INSTALL_MAKE_FLAGS+= WNNTOUCH=${TRUE}
INSTALL_MAKE_FLAGS+= WNNOWNER=${ROOT_USER}
WNNDICTDIR= ${IMDICTDIR}/wnn
FILES_SUBST= WNNDICTDIR=${WNNDICTDIR}
SUBST_CLASSES+= imdictdir
SUBST_STAGE.imdictdir= post-extract
SUBST_SED.imdictdir= -e 's|@LIBDIR/@LANG/dic|${WNNDICTDIR}/@LANG|'
SUBST_FILES.imdictdir= Wnn/jd/jserverrc