aboutsummaryrefslogtreecommitdiff
path: root/japanese/emacs-emcws
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-03-04 12:19:58 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-03-04 12:19:58 +0000
commitf66d2add6d3b48fd5355eef57b4ac7aa7001f4db (patch)
tree56b12138f12f377f9b1bf56914d68f9c1fd0f868 /japanese/emacs-emcws
parentdf022b0b75a89176198b9ab75caccc517e81be58 (diff)
downloadports-f66d2add6d3b48fd5355eef57b4ac7aa7001f4db.tar.gz
ports-f66d2add6d3b48fd5355eef57b4ac7aa7001f4db.zip
Enable menubar fontset support. Uses the patches alrady used in
editors/emacs21. PR: ports/63387 Submitted by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (maintainer)
Notes
Notes: svn path=/head/; revision=102910
Diffstat (limited to 'japanese/emacs-emcws')
-rw-r--r--japanese/emacs-emcws/Makefile21
-rw-r--r--japanese/emacs-emcws/distinfo6
2 files changed, 25 insertions, 2 deletions
diff --git a/japanese/emacs-emcws/Makefile b/japanese/emacs-emcws/Makefile
index df4e99b3aabb..866fd38f32a3 100644
--- a/japanese/emacs-emcws/Makefile
+++ b/japanese/emacs-emcws/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emcws
PORTVERSION= ${EMACS_VER}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
@@ -17,6 +17,11 @@ PATCH_SITES= ftp://ftp.ki.nu/pub/emcws/ \
ftp://ftp.jpl.org/pub/misc/
PATCHFILES= emcws-${EMACS_VER}-20031213.gz
PATCH_DIST_STRIP= -p1
+.if defined(WITH_MENUBAR_FONTSET)
+PATCH_SITES+= http://www.nijino.com/ari/emacs/
+PATCHFILES+= emacs-21.1-fontset.patch emacs-21.2-menu-encode.patch
+PATCH_DIST_STRIP= -p1
+.endif
MAINTAINER= nakaji@jp.freebsd.org
COMMENT= Emacs + Canna + Wnn + Sj3
@@ -152,8 +157,13 @@ EMACS_BASE=${PREFIX}
EMACS_BASE=${LOCALBASE}
.endif
-pre-fetch:
+pre-everything::
@${CAT} ${FILESDIR}/emcws-message
+.if !defined(WITH_MENUBAR_FONTSET)
+ @${ECHO_MSG} "====>"
+ @${ECHO_MSG} "====> To enable menubar fontset support, define WITH_MENUBAR_FONTSET"
+ @${ECHO_MSG} "====>"
+.endif
pre-build:
${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
@@ -206,4 +216,11 @@ do-install:
> ${PREFIX}/share/emacs/${EMACS_VER}-emcws/lisp/subdirs.el ; \
fi
+post-install:
+.if defined(WITH_MENUBAR_FONTSET)
+ @${ECHO_MSG} "====>"
+ @${ECHO_MSG} "====> To use Japanese menu, you need menu-tree.el which is available from http://www.is.titech.ac.jp/~yagi/emacs/menu-tree.el"
+ @${ECHO_MSG} "====>"
+.endif
+
.include <bsd.port.mk>
diff --git a/japanese/emacs-emcws/distinfo b/japanese/emacs-emcws/distinfo
index a953329a73a3..6b3c16ad61ad 100644
--- a/japanese/emacs-emcws/distinfo
+++ b/japanese/emacs-emcws/distinfo
@@ -1,2 +1,8 @@
MD5 (emacs-21.3.tar.gz) = a0bab457cbf5b4f8eb99d1d0a3ada420
+SIZE (emacs-21.3.tar.gz) = 20399831
MD5 (emcws-21.3-20031213.gz) = 673dfb5cb640f21620aaadd5aa27a28a
+SIZE (emcws-21.3-20031213.gz) = 190300
+MD5 (emacs-21.1-fontset.patch) = 4d2cdde317b96207f95a7be8cd4f20fc
+SIZE (emacs-21.1-fontset.patch) = 8647
+MD5 (emacs-21.2-menu-encode.patch) = f888cbac4a98c78ad1cf621957b9b247
+SIZE (emacs-21.2-menu-encode.patch) = 3517