1995-03-06 03:12:40 -05:00
|
|
|
# New ports collection makefile for: Canna
|
1995-06-21 20:35:39 -04:00
|
|
|
# Version required: 3.2p2
|
1995-03-06 03:12:40 -05:00
|
|
|
# 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
|
|
|
#
|
1997-10-17 11:59:05 -04:00
|
|
|
# $Id: Makefile,v 1.17 1997/09/14 21:34:28 max Exp $
|
1995-03-06 03:12:40 -05:00
|
|
|
#
|
|
|
|
|
1995-06-21 20:35:39 -04:00
|
|
|
DISTNAME= Canna32p2
|
1997-09-14 17:36:25 -04:00
|
|
|
PKGNAME= ja-Canna-3.2.2
|
1996-11-11 03:26:44 -05:00
|
|
|
CATEGORIES= japanese
|
1997-10-17 11:59:05 -04:00
|
|
|
MASTER_SITES= ftp://ftp.nec.co.jp/pub/Canna/Canna32/
|
1995-04-07 01:48:11 -04:00
|
|
|
|
1996-09-18 04:02:06 -04:00
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
1995-04-07 01:48:11 -04:00
|
|
|
|
1996-09-18 04:02:06 -04:00
|
|
|
USE_IMAKE= yes
|
1996-09-18 08:20:22 -04:00
|
|
|
PREFIX?= ${LOCALBASE}
|
1995-03-06 03:12:40 -05:00
|
|
|
ALL_TARGET= canna
|
|
|
|
|
1996-11-13 07:41:39 -05:00
|
|
|
MAN1= cannaserver.1 ctow.1 dicar.1 dpromdic.1 splitword.1 wtoc.1 \
|
|
|
|
mkromdic.1 mkbindic.1 dpbindic.1 cannakill.1 canvert.1 \
|
|
|
|
cannacheck.1 cannastat.1 cshost.1 catdic.1 cpdic.1 lsdic.1 \
|
|
|
|
mkdic.1 mvdic.1 rmdic.1 addwords.1 delwords.1
|
|
|
|
MAN3= RkRgnBun.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 RkMountD.3 RkNext.3 RkNfer.3 RkPrev.3 \
|
|
|
|
RkRemountDic.3 RkResize.3 RkRight.3 RkShorten.3 RkStoreYomi.3 \
|
|
|
|
RkUnmountDic.3 RkXfer.3 cannalib.3 uilib.3 RkCloseRoma.3 \
|
|
|
|
RkCvtEuc.3 RkCvtHan.3 RkCvtHira.3 RkCvtKana.3 RkCvtRoma.3 \
|
|
|
|
RkCvtZen.3 RkMapPhonogram.3 RkMapRoma.3 RkOpenRoma.3
|
1996-09-18 04:02:06 -04:00
|
|
|
|
|
|
|
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/canna.sh
|
1995-03-06 03:12:40 -05:00
|
|
|
|
1997-10-17 11:59:05 -04:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} /var/run/canna
|
|
|
|
chown bin.bin /var/run/canna
|
|
|
|
|
1995-06-24 07:42:32 -04:00
|
|
|
post-install:
|
1997-07-17 11:13:02 -04:00
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1996-09-18 04:02:06 -04:00
|
|
|
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
|
|
|
|
echo "Installing ${STARTUP_SCRIPT} startup file."; \
|
|
|
|
echo '#!/bin/sh' > ${STARTUP_SCRIPT}; \
|
|
|
|
echo 'canna=${PREFIX}/sbin/cannaserver' \
|
|
|
|
>> ${STARTUP_SCRIPT} ; \
|
|
|
|
echo 'if [ -f $$canna ]; then' >> ${STARTUP_SCRIPT} ; \
|
1997-10-17 11:59:05 -04:00
|
|
|
echo ' rm -f /var/run/canna/Canna.pid' >> ${STARTUP_SCRIPT};\
|
1996-09-18 04:02:06 -04:00
|
|
|
echo " echo -n ' Canna'" >> ${STARTUP_SCRIPT}; \
|
|
|
|
echo ' $$canna' >> ${STARTUP_SCRIPT} ; \
|
|
|
|
echo "fi" >> ${STARTUP_SCRIPT} ; \
|
|
|
|
chmod 755 ${STARTUP_SCRIPT} ; \
|
|
|
|
chown bin.bin ${STARTUP_SCRIPT}; \
|
1996-08-08 22:40:20 -04:00
|
|
|
fi
|
1997-07-13 14:49:31 -04:00
|
|
|
@${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
1995-06-24 07:42:32 -04:00
|
|
|
|
1995-03-06 03:12:40 -05:00
|
|
|
.include <bsd.port.mk>
|