aboutsummaryrefslogtreecommitdiff
path: root/japanese/ee/Makefile
blob: 8acc0af3aeecca4537395a70b4d8c62fd97bcf28 (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
44
45
46
47
48
# New ports collection makefile for: ee
# Version required:	1.0
# Date created:		20 Jan 1999
# Whom:			KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $Id: Makefile,v 1.2 1999/02/12 17:16:23 sada Exp $
#

DISTNAME=	jee-1.0
PKGNAME=	ja-jee-1.0
CATEGORIES=	japanese editors
MASTER_SITES=	ftp://ftp.mogami-wire.co.jp/pub/beta/ \
		ftp://ports.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/
DISTFILES=	jee.tar.gz \
		libncurses-3.0.tar.gz \
		ee-3.0.tar.gz

MAINTAINER=	kiri@pis.toba-cmt.ac.jp

LIB_DEPENDS=	canna.1:${PORTSDIR}/japanese/Canna

MANLANG=	ja
MAN1=		jee.1
WRKSRC=		${WRKDIR}/ee

do-extract:
	@${MKDIR} ${WRKSRC}
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/jee.tar.gz \
		${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/ee-3.0.tar.gz \
		${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libncurses-3.0.tar.gz \
		${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
	${MV} ${WRKSRC}/libncurses ${WRKSRC}/curses

post-patch:
	@${PATCH} ${PATCH_DIST_ARGS} < ${WRKSRC}/ee.patch
	@${PATCH} ${PATCH_DIST_ARGS:S@${WRKSRC}@${WRKSRC}/curses@} \
		< ${WRKSRC}/ncurses.patch
do-build:
	@(cd ${WRKSRC}/curses; ${MAKE} keys.tries.h; ${MAKE})
	@(cd ${WRKSRC}; ${MAKE} -f makefile)

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/ee ${PREFIX}/bin/jee
	@${INSTALL_MAN} ${WRKSRC}/jee.1 ${PREFIX}/man/ja/man1/

.include <bsd.port.mk>