1995-03-06 08:12:40 +00:00
|
|
|
# New ports collection makefile for: Canna
|
|
|
|
# Date created: 3 November 1995
|
1995-04-07 05:48:11 +00:00
|
|
|
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
|
1995-06-22 00:35:39 +00:00
|
|
|
# NIIMI Satoshi <sa2c@and.or.jp>
|
1995-03-06 08:12:40 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1995-03-06 08:12:40 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= Canna
|
|
|
|
PORTVERSION= 3.2.2
|
1996-11-11 08:26:44 +00:00
|
|
|
CATEGORIES= japanese
|
1997-10-17 15:59:05 +00:00
|
|
|
MASTER_SITES= ftp://ftp.nec.co.jp/pub/Canna/Canna32/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//:S/./p/}
|
1995-04-07 05:48:11 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1995-04-07 05:48:11 +00:00
|
|
|
|
2000-03-08 10:56:40 +00:00
|
|
|
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
|
1995-03-06 08:12:40 +00:00
|
|
|
|
1999-01-04 20:21:59 +00:00
|
|
|
ALL_TARGET= canna
|
1999-01-15 12:05:10 +00:00
|
|
|
INSTALL_TARGET= install install.man
|
1998-09-21 22:31:57 +00:00
|
|
|
MAN1= addwords.1 cannacheck.1 cannakill.1 cannaserver.1 cannastat.1 \
|
|
|
|
canvert.1 catdic.1 cpdic.1 cshost.1 ctow.1 delwords.1 dicar.1 \
|
|
|
|
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 \
|
2000-04-30 23:24:26 +00:00
|
|
|
RkShorten.3 RkStoreYomi.3 RkUnmountDic.3 RkXfer.3 \
|
|
|
|
XKanjiControl.3 XLookupKanjiString.3 cannalib.3 uilib.3 \
|
|
|
|
jrKanjiControl.3 jrKanjiString.3
|
1996-09-18 08:02:06 +00:00
|
|
|
|
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
|
1995-03-06 08:12:40 +00:00
|
|
|
|
1999-01-04 20:21:59 +00:00
|
|
|
.SILENT:
|
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-01-04 20:21:59 +00:00
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC}; ${XMKMF})
|
|
|
|
@${SED} -e "s;@PREFIX@;${PREFIX};g" ${FILESDIR}/canna.sh.in \
|
|
|
|
>${WRKDIR}/canna.sh
|
|
|
|
|
1997-10-17 15:59:05 +00:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} /var/run/canna
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} bin.bin /var/run/canna
|
1997-10-17 15:59:05 +00:00
|
|
|
|
1995-06-24 11:42:32 +00:00
|
|
|
post-install:
|
1998-11-14 09:43:39 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
${LN} -sf libRKC.so.1.0 ${PREFIX}/lib/libRKC.so
|
|
|
|
${LN} -sf libRKC16.so.1.0 ${PREFIX}/lib/libRKC16.so
|
|
|
|
${LN} -sf libcanna.so.1.0 ${PREFIX}/lib/libcanna.so
|
|
|
|
${LN} -sf libcanna16.so.1.0 ${PREFIX}/lib/libcanna16.so
|
|
|
|
.endif
|
1998-09-21 22:31:57 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1999-01-04 20:21:59 +00:00
|
|
|
if [ ! -f ${STARTUP_SCRIPT} ]; then \
|
|
|
|
${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/canna.sh ${STARTUP_SCRIPT}; \
|
1996-08-09 02:40:20 +00:00
|
|
|
fi
|
1999-01-04 20:21:59 +00:00
|
|
|
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1995-06-24 11:42:32 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|