aboutsummaryrefslogtreecommitdiff
path: root/chinese/xemacs21/Makefile
blob: 016194e61dbd33cd29b8869d973706c3ee640509 (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
# New ports collection makefile for:	zh-xemacs21
# Date created:		1 October 2000
# Whom:			Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#

CATEGORIES=	chinese

MAINTAINER=	ports@FreeBSD.org
COMMENT=	XEmacs text editor version 21, with XIM support and Big5 settings

PLIST=		${.CURDIR}/pkg-plist
PKGMESSAGE=	${.CURDIR}/pkg-message

BROKEN=		Incorrect pkg-plist

XEMACS_MAJOR_VER=	21
WITH_XIM=	--with-xim=xlib
BUILD_INPUT_METHOD=	xcin2.5:${PORTSDIR}/chinese/xcin25

# xemacs21-mule-common needs this.
WRKDIR=		${WRKDIRPREFIX}${.CURDIR}/../../editors/xemacs21-mule/work

SLAVE_PORT=	yes
MASTER_PORT=	editors/xemacs21-mule

post-install::
	@${MKDIR} ${PREFIX}/lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5
	@${INSTALL_DATA} ${.CURDIR}/../xemacs/files/Emacs ${PREFIX}/lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5
	@${INSTALL_DATA} ${.CURDIR}/../xemacs/files/sample.emacs ${PREFIX}/lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5
	@${CAT} ${PKGMESSAGE}

.include	"${.CURDIR}/../../editors/xemacs21-mule/Makefile"