diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2001-12-06 20:29:41 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2001-12-06 20:29:41 +0800 |
commit | 0c2254b8098ba8b2de731950518cb864a61dc07b (patch) | |
tree | 0dd5069cc0602ceadbc2022f017bf37375c373c9 /editors | |
parent | a8660844fa529a1e78fae10b56f4892341ba50d3 (diff) | |
download | freebsd-ports-gnome-0c2254b8098ba8b2de731950518cb864a61dc07b.tar.gz freebsd-ports-gnome-0c2254b8098ba8b2de731950518cb864a61dc07b.tar.zst freebsd-ports-gnome-0c2254b8098ba8b2de731950518cb864a61dc07b.zip |
Set ALL_TARGET=bootstrap to byte-compile patched elisp files.
Add WITHOUT_XIM and WITHOUT_MENUBAR_FONTSET switch.
Make dired output in Japanese locale the same as FreeBSD ls.
Submitted by: kuriyama, yoichi
Reviewed by: knu
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs21/Makefile | 16 | ||||
-rw-r--r-- | editors/emacs21/files/patch-lisp_dired.el | 19 |
2 files changed, 30 insertions, 5 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile index 9c904a745dfb..bdff403dadc0 100644 --- a/editors/emacs21/Makefile +++ b/editors/emacs21/Makefile @@ -7,15 +7,11 @@ PORTNAME= emacs PORTVERSION= 21.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= editors ipv6 MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} -PATCH_SITES= http://www.nijino.com/ari/patches/ -PATCHFILES= emacs-21.1-fontset-20011109.patch.gz -PATCH_DIST_STRIP= -p1 - MAINTAINER= nobutaka@FreeBSD.org .if !defined(WITHOUT_X11) @@ -28,13 +24,23 @@ USE_XLIB= yes USE_XPM= yes .endif +.if !defined(WITHOUT_MENUBAR_FONTSET) +PATCH_SITES= http://www.nijino.com/ari/patches/ +PATCHFILES= emacs-21.1-fontset-20011109.patch.gz +PATCH_DIST_STRIP= -p1 +.endif + USE_AUTOCONF= yes USE_GMAKE= yes +ALL_TARGET= bootstrap CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd .if defined(WITHOUT_X11) CONFIGURE_ARGS= --with-x=no .endif +.if defined(WITHOUT_XIM) +CONFIGURE_ARGS+= --without-xim +.endif MAN1= ctags.1 emacs.1 etags.1 gfdl.1 PLIST_SUB= EMACS_VER=${PORTVERSION} EMACS_ARCH=${CONFIGURE_TARGET} diff --git a/editors/emacs21/files/patch-lisp_dired.el b/editors/emacs21/files/patch-lisp_dired.el new file mode 100644 index 000000000000..90081b072053 --- /dev/null +++ b/editors/emacs21/files/patch-lisp_dired.el @@ -0,0 +1,19 @@ +--- lisp/dired.el.orig Sat Sep 22 01:41:58 2001 ++++ lisp/dired.el Wed Dec 5 20:06:04 2001 +@@ -1532,6 +1532,7 @@ + "\\|" yyyy s s "?" + "\\|" s "?" yyyy + "\\)")) ++ (freebsd-ja (concat s mm "/" dd s "\\(" HH:MM "\\|" s yyyy "\\)")) + (japanese + (concat mm k "?" s dd k "?" s "+" + "\\(" HH:MM "\\|" yyyy k "?" "\\)"))) +@@ -1543,7 +1544,7 @@ + ;; This avoids recognizing `jservice 10 1024' as a date in the line: + ;; drwxr-xr-x 3 jservice 10 1024 Jul 2 1997 esg-host + (concat ".*[0-9][kMGTPEZY]?" +- s "\\(" western "\\|" japanese "\\|" iso "\\)" s)) ++ s "\\(" western "\\|" freebsd-ja "\\|" japanese "\\|" iso "\\)" s)) + "Regular expression to match up to the file name in a directory listing. + The default value is designed to recognize dates and times + regardless of the language.") |