aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs21
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2001-12-17 14:06:57 +0800
committernobutaka <nobutaka@FreeBSD.org>2001-12-17 14:06:57 +0800
commiteccec6e2a150c10407caa3e11b6769fd57541306 (patch)
treeb45113a960af22bce1c22704ccd5890bd97caf06 /editors/emacs21
parent339eb3090d2f24c0fb37a0f4510d163dc03f910d (diff)
downloadfreebsd-ports-graphics-eccec6e2a150c10407caa3e11b6769fd57541306.tar.gz
freebsd-ports-graphics-eccec6e2a150c10407caa3e11b6769fd57541306.tar.zst
freebsd-ports-graphics-eccec6e2a150c10407caa3e11b6769fd57541306.zip
Disable menubar fontset support by default.
Add menubar fontset setting instructions to pkg-message.
Diffstat (limited to 'editors/emacs21')
-rw-r--r--editors/emacs21/Makefile11
-rw-r--r--editors/emacs21/pkg-message7
2 files changed, 16 insertions, 2 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile
index bdff403dadc..1ae9166204b 100644
--- a/editors/emacs21/Makefile
+++ b/editors/emacs21/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= 21.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,7 +24,7 @@ USE_XLIB= yes
USE_XPM= yes
.endif
-.if !defined(WITHOUT_MENUBAR_FONTSET)
+.if defined(WITH_MENUBAR_FONTSET)
PATCH_SITES= http://www.nijino.com/ari/patches/
PATCHFILES= emacs-21.1-fontset-20011109.patch.gz
PATCH_DIST_STRIP= -p1
@@ -51,6 +51,13 @@ TEXIFILES= ada-mode autotype cc-mode cl dired-x ebrowse ediff \
LATEST_LINK= emacs21
+pre-everything::
+.if !defined(WITH_MENUBAR_FONTSET)
+ @${ECHO_MSG} "====>"
+ @${ECHO_MSG} "====> To enable menubar fontset support, define WITH_MENUBAR_FONTSET"
+ @${ECHO_MSG} "====>"
+.endif
+
post-patch:
@${RM} -f ${WRKSRC}/info/*
@(cd ${WRKSRC}/man ; \
diff --git a/editors/emacs21/pkg-message b/editors/emacs21/pkg-message
index f33d5bde6e8..56fb577ebac 100644
--- a/editors/emacs21/pkg-message
+++ b/editors/emacs21/pkg-message
@@ -5,4 +5,11 @@
* package. *
* You can find leim port in the following directory: *
* /usr/ports/editors/leim21 *
+* *
+* If you want to use multibyte characters in the menubar, *
+* make WITH_MENUBAR_FONTSET=yes install *
+* then set fontset in ~/.Xresources as *
+* Emacs*menubar*fontSet: -misc-fixed-medium-r-normal--14-130-* *
+* and set coding system for it appropriately in ~/.emacs like *
+* (setq menu-coding-system 'euc-jp) *
********************************************************************