summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2001-12-17 06:06:57 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2001-12-17 06:06:57 +0000
commit7249364dafb492247e90a6aca18609f70f24ae05 (patch)
treebff5357353e2050bde8e42de31af6c70f14cd624 /editors
parentFix pcre package building once and for all. (diff)
Disable menubar fontset support by default.
Add menubar fontset setting instructions to pkg-message.
Diffstat (limited to 'editors')
-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 bdff403dadc0..1ae9166204b5 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 f33d5bde6e8f..56fb577ebac4 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) *
********************************************************************