1995-03-06 03:12:40 -05:00
|
|
|
# New ports collection makefile for: Canna
|
|
|
|
# Date created: 3 November 1995
|
1995-04-07 01:48:11 -04:00
|
|
|
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
|
1995-06-21 20:35:39 -04:00
|
|
|
# NIIMI Satoshi <sa2c@and.or.jp>
|
1995-03-06 03:12:40 -05:00
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1995-03-06 03:12:40 -05:00
|
|
|
#
|
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
PORTNAME= Canna
|
2001-11-18 01:08:44 -05:00
|
|
|
PORTVERSION= 3.5b2
|
2002-01-20 15:26:11 -05:00
|
|
|
PORTREVISION= 2
|
1996-11-11 03:26:44 -05:00
|
|
|
CATEGORIES= japanese
|
2001-11-17 23:48:55 -05:00
|
|
|
MASTER_SITES= ftp://ftp.tokyonet.ad.jp/pub/misc/Canna/Canna35/ \
|
|
|
|
ftp://ftp.meshnet.or.jp/pub/tool/Canna/Canna35/ \
|
|
|
|
ftp://ftp.sra.co.jp/pub/misc/canna/ \
|
|
|
|
ftp://ftp.habi.or.jp/pub/Tools/Canna/Canna35/ \
|
|
|
|
ftp://ftp.hans.or.jp/pub/Tools/Canna/Canna35/
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
1995-04-07 01:48:11 -04:00
|
|
|
|
2001-11-17 23:48:55 -05:00
|
|
|
PATCH_SITES= http://www.jaist.ac.jp/~fujieda/canna/
|
|
|
|
PATCHFILES= Canna35b2-unoff1.patch.gz Canna35b2-unoff2.patch.gz \
|
|
|
|
Canna35b2-hack1.patch.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
1995-04-07 01:48:11 -04:00
|
|
|
|
2001-11-17 23:48:55 -05:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1995-03-06 03:12:40 -05:00
|
|
|
|
2002-01-19 15:05:48 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-01-19 14:49:43 -05:00
|
|
|
.if ${XFREE86_VERSION} == 3
|
2002-01-20 16:32:40 -05:00
|
|
|
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
|
2002-01-19 14:49:43 -05:00
|
|
|
.endif
|
|
|
|
|
2001-11-17 23:48:55 -05:00
|
|
|
USE_IMAKE= yes
|
|
|
|
USE_X_PREFIX= no
|
|
|
|
ALL_TARGET= canna
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-16 06:38:50 -04:00
|
|
|
|
1998-09-21 18:31:57 -04:00
|
|
|
MAN1= addwords.1 cannacheck.1 cannakill.1 cannaserver.1 cannastat.1 \
|
2001-11-17 23:48:55 -05:00
|
|
|
catdic.1 cpdic.1 cshost.1 ctow.1 delwords.1 dicar.1 \
|
1998-09-21 18:31:57 -04: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 \
|
|
|
|
RkMapPhonogram.3 RkMapRoma.3 RkMountD.3 RkNext.3 RkNfer.3 \
|
|
|
|
RkOpenRoma.3 RkPrev.3 RkRemountDic.3 RkResize.3 RkRgnBun.3 RkRight.3 \
|
2001-11-17 23:48:55 -05:00
|
|
|
RkShorten.3 RkStoreYomi.3 RkUnmountDic.3 RkXfer.3 cannalib.3 uilib.3
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
XFREE86_HTML_MAN= no
|
1995-03-06 03:12:40 -05:00
|
|
|
|
2002-01-15 07:11:30 -05:00
|
|
|
MLINKS= uilib.3 XKanjiControl.3 uilib.3 XLookupKanjiString.3 \
|
|
|
|
uilib.3 jrKanjiControl.3 uilib.3 jrKanjiString.3
|
1999-01-04 15:21:59 -05:00
|
|
|
|
2001-11-17 23:48:55 -05:00
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
|
1999-01-04 15:21:59 -05:00
|
|
|
|
2001-11-20 19:42:18 -05:00
|
|
|
post-install:
|
1997-10-17 11:59:05 -04:00
|
|
|
${MKDIR} /var/run/canna
|
2001-11-19 22:15:58 -05:00
|
|
|
${CHOWN} bin:bin /var/run/canna
|
2001-11-20 19:42:18 -05:00
|
|
|
.for f in user user/user group
|
|
|
|
${MKDIR} ${PREFIX}/lib/canna/dic/$f
|
|
|
|
${CHOWN} bin:bin ${PREFIX}/lib/canna/dic/$f
|
|
|
|
${CHMOD} 775 ${PREFIX}/lib/canna/dic/$f
|
|
|
|
.endfor
|
2001-11-17 23:48:55 -05:00
|
|
|
@${SED} -e "s;@PREFIX@;${PREFIX};g" ${FILESDIR}/canna.sh.in \
|
|
|
|
>${WRKDIR}/canna.sh
|
1999-01-04 15:21:59 -05:00
|
|
|
if [ ! -f ${STARTUP_SCRIPT} ]; then \
|
|
|
|
${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/canna.sh ${STARTUP_SCRIPT}; \
|
1996-08-08 22:40:20 -04:00
|
|
|
fi
|
2001-11-17 23:48:55 -05:00
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1995-06-24 07:42:32 -04:00
|
|
|
|
2002-01-19 15:05:48 -05:00
|
|
|
.include <bsd.port.post.mk>
|