diff options
author | keith <keith@FreeBSD.org> | 2000-12-01 12:49:28 +0800 |
---|---|---|
committer | keith <keith@FreeBSD.org> | 2000-12-01 12:49:28 +0800 |
commit | 98b3e8e8ea6d7fcf10948faaad8146be01de6b8d (patch) | |
tree | 878357e99f0b88751b14101cf9b962aa7f4c23de /chinese/emacs20/Makefile | |
parent | 0e06eef0c5a8c5d1d50595be35e2bd3d874e6314 (diff) | |
download | freebsd-ports-gnome-98b3e8e8ea6d7fcf10948faaad8146be01de6b8d.tar.gz freebsd-ports-gnome-98b3e8e8ea6d7fcf10948faaad8146be01de6b8d.tar.zst freebsd-ports-gnome-98b3e8e8ea6d7fcf10948faaad8146be01de6b8d.zip |
Initial version. A L10N Emacs that can act as an XIM client.
PR: ports/23198
Diffstat (limited to 'chinese/emacs20/Makefile')
-rw-r--r-- | chinese/emacs20/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/chinese/emacs20/Makefile b/chinese/emacs20/Makefile new file mode 100644 index 000000000000..a8b5afe4ebbc --- /dev/null +++ b/chinese/emacs20/Makefile @@ -0,0 +1,38 @@ +# ex:ts=8 +# Ports collection makefile for: emacs20 with XIM and a little zh-l10n +# Date created: Sat Nov 11, 2000 +# Whom: Clive Lin <clive@CirX.ORG> +# +# $FreeBSD$ +# + +MASTERDIR= ${.CURDIR}/../../editors/emacs20 + +MAINTAINER= clive@CirX.ORG + +.if !defined(WITHOUT_X11) +RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts \ + xcin2.5:${PORTSDIR}/chinese/xcin25 +.endif + +WITH_XPG4= yes + +PKGMESSAGE= ${.CURDIR}/pkg-message + +PLIST= ${WRKDIR}/pkg-plist + +pre-patch: + @( cd ${WRKSRC}; \ + ${PATCH} -sp1 < ${.CURDIR}/files/emacs20-xim-20000713.diff ; ) + +post-patch: + @${ECHO} "share/emacs/%%EMACS_VER%%/etc/Emacs" >> ${WRKDIR}/pkg-plist + @${ECHO} "share/emacs/%%EMACS_VER%%/etc/dot.emacs" >> ${WRKDIR}/pkg-plist + @${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist + +post-install: + ${INSTALL} -c ${.CURDIR}/files/Emacs ${PREFIX}/share/emacs/${PORTVERSION}/etc + ${INSTALL} -c ${.CURDIR}/files/dot.emacs ${PREFIX}/share/emacs/${PORTVERSION}/etc + @${CAT} ${PKGMESSAGE} + +.include "${MASTERDIR}/Makefile" |