1995-03-06 09:12:40 +01:00
|
|
|
# New ports collection makefile for: Canna
|
|
|
|
# Date created: 3 November 1995
|
1995-04-07 07:48:11 +02:00
|
|
|
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
|
1995-06-22 02:35:39 +02:00
|
|
|
# NIIMI Satoshi <sa2c@and.or.jp>
|
1995-03-06 09:12:40 +01:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1995-03-06 09:12:40 +01:00
|
|
|
#
|
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
PORTNAME= Canna
|
2004-07-12 08:05:41 +02:00
|
|
|
PORTVERSION= 3.7p3
|
1996-11-11 09:26:44 +01:00
|
|
|
CATEGORIES= japanese
|
2003-10-14 20:56:16 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
|
2004-07-12 08:05:41 +02:00
|
|
|
MASTER_SITE_SUBDIR= canna/9565/
|
2001-11-18 05:48:55 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
1995-04-07 07:48:11 +02:00
|
|
|
|
2001-11-18 05:48:55 +01:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Kana-Kanji conversion system
|
1995-03-06 09:12:40 +01:00
|
|
|
|
2004-02-16 07:37:22 +01:00
|
|
|
USE_RC_SUBR= yes
|
2004-02-13 09:13:00 +01:00
|
|
|
USE_BZIP2= yes
|
2001-11-18 05:48:55 +01:00
|
|
|
USE_IMAKE= yes
|
|
|
|
USE_X_PREFIX= no
|
|
|
|
ALL_TARGET= canna
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-02-13 09:13:00 +01:00
|
|
|
MAKE_ENV+= CC=$(CC)
|
2000-06-16 12:38:50 +02:00
|
|
|
|
2004-01-19 22:59:01 +01:00
|
|
|
MANLANG="" ja
|
1998-09-22 00:31:57 +02:00
|
|
|
MAN1= addwords.1 cannacheck.1 cannakill.1 cannaserver.1 cannastat.1 \
|
2003-10-15 07:26:38 +02:00
|
|
|
catdic.1 chmoddic.1 cpdic.1 cshost.1 ctow.1 delwords.1 dicar.1 \
|
1998-09-22 00:31:57 +02:00
|
|
|
dpbindic.1 dpromdic.1 lsdic.1 mkbindic.1 mkdic.1 mkromdic.1 \
|
|
|
|
mvdic.1 rmdic.1 splitword.1 wtoc.1
|
|
|
|
MAN3= RkCloseRoma.3 RkCvtEuc.3 RkCvtHan.3 RkCvtHira.3 RkCvtKana.3 \
|
|
|
|
RkCvtRoma.3 RkCvtZen.3 RkDefineDic.3 RkDeleteDic.3 RkEndBun.3 \
|
|
|
|
RkEnlarge.3 RkFinalize.3 RkGetDicList.3 RkGetKanji.3 RkGetLex.3 \
|
|
|
|
RkGetStat.3 RkGetYomi.3 RkGoto.3 RkInitialize.3 RkIntro.3 RkLeft.3 \
|
2003-02-06 09:03:38 +01:00
|
|
|
RkMapPhonogram.3 RkMapRoma.3 RkMountDic.3 RkNext.3 RkNfer.3 \
|
2002-12-02 04:30:48 +01:00
|
|
|
RkOpenRoma.3 RkPrev.3 RkRemountDic.3 RkResize.3 RkBgnBun.3 RkRight.3 \
|
2001-11-18 05:48:55 +01:00
|
|
|
RkShorten.3 RkStoreYomi.3 RkUnmountDic.3 RkXfer.3 cannalib.3 uilib.3
|
2002-01-15 13:11:30 +01:00
|
|
|
MLINKS= uilib.3 XKanjiControl.3 uilib.3 XLookupKanjiString.3 \
|
|
|
|
uilib.3 jrKanjiControl.3 uilib.3 jrKanjiString.3
|
2003-02-06 09:03:38 +01:00
|
|
|
MANCOMPRESSED= no
|
|
|
|
XFREE86_HTML_MAN= no
|
1999-01-04 21:21:59 +01:00
|
|
|
|
2004-02-13 09:13:00 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= canna.bib canna.sty Imakefile README.jp Makefile \
|
|
|
|
intern lisp man
|
|
|
|
.endif
|
|
|
|
|
2002-05-16 09:49:43 +02:00
|
|
|
post-build:
|
2004-02-16 07:37:22 +01:00
|
|
|
@${SED} -e "s,@PREFIX@,${PREFIX},g; s,@RC_SUBR@,${RC_SUBR},g; \
|
|
|
|
s,@RM@,${RM},g; s,@TOUCH@,${TOUCH},g; \
|
2002-05-16 09:49:43 +02:00
|
|
|
s,@CHOWN@,${CHOWN},g" ${FILESDIR}/canna.sh.in \
|
2004-02-16 07:37:22 +01:00
|
|
|
> ${WRKDIR}/canna.sh
|
2002-05-16 09:49:43 +02:00
|
|
|
|
2001-11-21 01:42:18 +01:00
|
|
|
post-install:
|
|
|
|
.for f in user user/user group
|
2002-11-12 00:53:57 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/canna/dic/$f
|
|
|
|
@${CHOWN} bin:bin ${PREFIX}/lib/canna/dic/$f
|
|
|
|
@${CHMOD} 775 ${PREFIX}/lib/canna/dic/$f
|
2001-11-21 01:42:18 +01:00
|
|
|
.endfor
|
2004-02-16 07:37:22 +01:00
|
|
|
@${ECHO} "Installing a startup script as ${PREFIX}/etc/rc.d/canna.sh."
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/canna.sh ${PREFIX}/etc/rc.d/canna.sh
|
2001-11-18 05:48:55 +01:00
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2002-11-12 00:53:57 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-02-13 09:13:00 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
@${CP} -R ${WRKSRC}/doc/$f ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
@${CHOWN} -R root:wheel ${DOCSDIR}
|
|
|
|
.endif
|
1995-06-24 13:42:32 +02:00
|
|
|
|
2002-02-16 06:00:25 +01:00
|
|
|
.include <bsd.port.mk>
|