diff options
Diffstat (limited to 'japanese/cannadic/Makefile')
-rw-r--r-- | japanese/cannadic/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/japanese/cannadic/Makefile b/japanese/cannadic/Makefile new file mode 100644 index 000000000000..d2553c2b8e40 --- /dev/null +++ b/japanese/cannadic/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: cannadic +# Date created: 26 Oct 2000 +# Whom: TOGAWA Satoshi <toga@puyo.org> +# +# $FreeBSD$ +# + +PORTNAME= cannadic +PORTVERSION= 0.92 +CATEGORIES= japanese +MASTER_SITES= http://cgi3.osk.3web.ne.jp/~nowaki/computer/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= toga@puyo.org + +RUN_DEPENDS= ${LOCALBASE}/lib/canna/dic/canna/dics.dir:${PORTSDIR}/japanese/Canna +BUILD_DEPENDS= mkbindic:${PORTSDIR}/japanese/Canna + +DICS= gcanna.d gcannaf.d +FQS= gcanna.fq gcannaf.fq +DICSFILE= dics.dir +ORIGDICSFILE= dics.dir.orig +CANNADICSFILE= dics.dir.gpl_canna +CANNASH= ${PREFIX}/etc/rc.d/canna.sh +DICDIR= ${PREFIX}/lib/canna/dic/canna + +do-install: + cd ${WRKSRC};\ + ${CP} ${DICDIR}/${DICSFILE} ./${ORIGDICSFILE}; \ + ${CAT} ./${ORIGDICSFILE} ./${CANNADICSFILE} > ./${DICSFILE}; \ + ${INSTALL_DATA} -g bin -m 664 -o bin ${DICS} ${FQS} ${DICDIR};\ + ${INSTALL_DATA} -g bin -m 664 -o bin ${DICSFILE} ${CANNADICSFILE} ${ORIGDICSFILE} ${DICDIR} + +post-install: + @( \ + ${ECHO} ; \ + ${ECHO} ; \ + ${ECHO} "After installing, you have to restart cannaserver" ; \ + ${ECHO} "and add lines to your .canna."; \ + ${ECHO} "(use-dictionary" ; \ + ${ECHO} "\"iroha\" ; and more...." ; \ + ${ECHO} ; \ + ${ECHO} "\"gcanna\" ; add this!" ;\ + ${ECHO} "\"gcannaf\" ; add this!" ;\ + ${ECHO} ")";\ + ${ECHO} ; \ + ${ECHO} ; \ + ) + +.include <bsd.port.mk> |