summaryrefslogtreecommitdiffstats
path: root/mail/mew-mule/Makefile
blob: 5472243703687518fcbe7cda3ba6f8a7340656c1 (plain)
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
49
50
51
52
53
54
55
56
57
58
# New ports collection makefile for: Mew (for mule)
# Version required:	1.92.4
# Date created:		21 November 1997
# Whom:			Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $Id$
#

PKGNAME?=	mew-mule-1.92.4

EMACSCMD=	mule
ELISPDIR=	${PREFIX}/lib/mule/site-lisp
WRKDIR=		${.CURDIR}/../../mail/mew-mule/work
INSTALL_COOKIE=	${WRKDIR}/.install_done-${PKGNAME}
PACKAGE_COOKIE=	${WRKDIR}/.package_done-${PKGNAME}

.if defined(ZH_MULE)
DIRENTRY=	"* Mew-ch: (mew).	Messaging in the Emacs World (Chinese)."
INFOFILE=	mew.info
.endif
.if defined(JA_MULE)
DIRENTRY=	"* Mew-ja: (mew.jis).	Messaging in the Emacs World (Japanese)."
INFOFILE=	mew.jis.info
.endif
.if defined(KO_MULE)
DIRENTRY=	"* Mew-ko: (mew).	Messaging in the Emacs World (Korean)."
INFOFILE=	mew.info
.endif
.if defined(RU_MULE)
DIRENTRY=	"* Mew-ru: (mew).	Messaging in the Emacs World (Russian)."
INFOFILE=	mew.info
.endif
.if defined(VI_MULE)
DIRENTRY=	"* Mew-vi: (mew).	Messaging in the Emacs World (Vietnamese)."
INFOFILE=	mew.info
.endif

.if defined(ZH_MULE) || defined(JA_MULE) || defined(KO_MULE) || \
    defined(RU_MULE) || defined(VI_MULE)
I18N=		yes
I18N_PHASE=	"I18N=${I18N}"
MEW_RUN_REQ=	${PREFIX}/bin/mewcat:${PORTSDIR}/mail/mew-mule

pre-install:
	@${TOUCH} ${TOUCH_FLAGS} ${PLIST}
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
	@(cd ${FILESDIR}; \
	${CP} INSTALL DEINSTALL ${PKGDIR}; \
	${RM} -f ${FILESDIR}/${TMPL_FILES}; \
	)
.else
MULE=		yes
BUILD_DEPENDS=	mule:${PORTSDIR}/editors/mule
MEW_RUN_REQ=	${PREFIX}/lib/mule/site-lisp:${PORTSDIR}/editors/mule-common \
		${PREFIX}/bin/mewcat:${PORTSDIR}/mail/mew-common
.endif

.include "${.CURDIR}/../../mail/mew-common/Makefile"
OpenPOWER on IntegriCloud