aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/xemacs21/Makefile
blob: 64be726354b5312fa40d28a27917c3ca98c52a1a (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
# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org>
# $FreeBSD$

PORTREVISION=   4
CATEGORIES= chinese

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

MASTERDIR=  ${.CURDIR}/../../editors/xemacs21-mule

PLIST_FILES+=   lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5/Emacs \
        lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5/sample.emacs
PLIST_DIRS+=    lib/xemacs-${XEMACS_VER}/etc/app-defaults/zh_TW.Big5 \
        lib/xemacs-${XEMACS_VER}/etc/app-defaults \
        lib/xemacs-${XEMACS_VER}/etc \
        lib/xemacs-${XEMACS_VER}

PKGMESSAGE= ${.CURDIR}/pkg-message

WITH_XCIN25=    yes

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

.include    "${MASTERDIR}/Makefile"