blob: e7c0dae6a7f51437e44e834b8b2ee8e9efd1391e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: cannadic
# Date created: 26 Oct 2000
# Whom: TOGAWA Satoshi <toga@puyo.org>
#
# $FreeBSD$
#
PORTNAME= cannadic
PORTVERSION= 0.92
PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://cgi3.osk.3web.ne.jp/~nowaki/computer/
MAINTAINER= toga@puyo.org
RUN_DEPENDS= ${LOCALBASE}/lib/canna/dic/canna/dics.dir:${PORTSDIR}/japanese/Canna
BUILD_DEPENDS= mkbindic:${PORTSDIR}/japanese/Canna
ALL_TARGET= bindic
DICS= gcanna.cbd gcanna.cld gcannaf.cbd gcannaf.cld
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} -c -g bin -m 664 -o bin ${DICS} ${DICDIR} ; \
${INSTALL} -c -g bin -m 664 -o bin ${DICSFILE} ${CANNADICSFILE} ${ORIGDICSFILE} ${DICDIR}
post-install:
@if [ -e /tmp/.iroha_unix/IROHA ]; then \
${ECHO} "Restarting Canna server..."; \
${CANNASH} stop > /dev/null 2>&1 ; \
${CANNASH} start > /dev/null 2>&1 ; \
fi
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|