summaryrefslogtreecommitdiff
path: root/japanese/diclookup-mule/Makefile
blob: 88ae9e59e6b69c432f3f009dfe139a0b421b79bc (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
# New ports collection makefile for:	diclookup-mule
# Version required:	2.3.1beta2
# Date created:		31 Jan 1998
# Whom:			Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=	diclookup-mule-2.3.3
PKGNAME=	ja-diclookup-mule-2.3.3
CATEGORIES=	japanese elisp
MASTER_SITES=	ftp://ftp.math.s.chiba-u.ac.jp/tools/diclookup-mule/

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	diclookup-mule-2.3.3-wave-patch.gz

MAINTAINER=	mita@jp.FreeBSD.org

RUN_DEPENDS=	${X11BASE}/lib/X11/fonts/non-cjk/fonts.dir:${PORTSDIR}/x11-fonts/etlfonts
BUILD_DEPENDS=	mule:${PORTSDIR}/japanese/mule-wnn4

post-install:
	${MKDIR} ${PREFIX}/lib/dserver/doc
	@${SED} s!PREFIX_DIR!${PREFIX}!g ${FILESDIR}/setup-diclookup.sh \
				> ${PREFIX}/lib/dserver/setup-diclookup.sh
	@${SED} s!PREFIX_DIR!${PREFIX}!g ${FILESDIR}/deinstall-diclookup.sh \
				> ${PREFIX}/lib/dserver/deinstall-diclookup.sh
	${INSTALL_DATA} ${FILESDIR}/README.diclookup-setup.txt \
				${PREFIX}/lib/dserver/doc
	${INSTALL_DATA} ${WRKSRC}/README \
				${PREFIX}/lib/dserver/doc/README.diclookup-mule
	${INSTALL_DATA} ${WRKSRC}/README.sirup \
				${PREFIX}/lib/dserver/doc/
	${INSTALL_DATA} ${WRKSRC}/lib/README \
			${PREFIX}/lib/dserver/doc/README.diclookup-mule.lib

.include <bsd.port.mk>