diff options
author | shige <shige@FreeBSD.org> | 2001-12-07 20:37:34 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2001-12-07 20:37:34 +0800 |
commit | ce21443beaf1b31687d75af1c9b831835cecb5e4 (patch) | |
tree | a23f359e8c0ebd7ee2a025833d830e02ac4dbcd3 /editors | |
parent | 3daf51d11a078f42fc9224dac6caf6c1d19ac539 (diff) | |
download | freebsd-ports-gnome-ce21443beaf1b31687d75af1c9b831835cecb5e4.tar.gz freebsd-ports-gnome-ce21443beaf1b31687d75af1c9b831835cecb5e4.tar.zst freebsd-ports-gnome-ce21443beaf1b31687d75af1c9b831835cecb5e4.zip |
Apply linespace patch (taoka).
Apply dired.el patch (yoichi).
Submitted by: taoka, yoichi
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs20/Makefile | 27 | ||||
-rw-r--r-- | editors/emacs20/distinfo | 1 | ||||
-rw-r--r-- | editors/emacs20/files/patch-lisp::dired.el | 19 |
3 files changed, 44 insertions, 3 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index 5cb9085b8f26..3214134bf345 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -6,15 +6,22 @@ # PORTNAME= emacs -PORTVERSION= 20.7 +PORTVERSION= ${EMACS_VER} +PORTREVISION= 1 CATEGORIES+= editors ipv6 MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= emacs +PATCH_SITES= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR= shige/emacs +PATCHFILES= emacs-20.7-linespace-patch.gz +PATCH_DIST_STRIP= -p1 + MAINTAINER= ports@FreeBSD.org USE_AUTOCONF= yes USE_GMAKE= yes +EMACS_VER= 20.7 CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd .if defined(WITHOUT_X11) CONFIGURE_ARGS= --with-x=no --with-pop @@ -22,13 +29,27 @@ CONFIGURE_ARGS= --with-x=no --with-pop CONFIGURE_ARGS= --with-x-toolkit --with-pop USE_XLIB= yes .endif +CONFIGURE_ARGS+= --with-line-space MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" MAN1= emacs.1 etags.1 ctags.1 -PLIST_SUB= EMACS_VER=20.7 EMACS_ARCH=${CONFIGURE_TARGET} -#WRKSRC= ${WRKDIR}/emacs-20.7 +PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET} + +RECOMPILE_ELS= dired.el startup.el pre-build: ${RM} -rf ${WRKSRC}/info/* +post-build: +# to rebuild emacs because startup.elc should be updated + @(cd ${WRKSRC}/lisp; \ + ${WRKSRC}/src/emacs -batch -q -no-init-file \ + -f batch-byte-compile ${RECOMPILE_ELS} ; \ + ) + @${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}* + @(cd ${BUILD_WRKSRC}; \ + ${SETENV} ${MAKE_ENV} \ + ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} ;\ + ) + .include <bsd.port.mk> diff --git a/editors/emacs20/distinfo b/editors/emacs20/distinfo index cb0c2ef56abd..d1d3d05cbd48 100644 --- a/editors/emacs20/distinfo +++ b/editors/emacs20/distinfo @@ -1 +1,2 @@ MD5 (emacs-20.7.tar.gz) = c732cf5e668d4ac67d9418ecb103ecf5 +MD5 (emacs-20.7-linespace-patch.gz) = 01b6e4480f5801dcfb202ca96f8ad886 diff --git a/editors/emacs20/files/patch-lisp::dired.el b/editors/emacs20/files/patch-lisp::dired.el new file mode 100644 index 000000000000..79cda88d0d19 --- /dev/null +++ b/editors/emacs20/files/patch-lisp::dired.el @@ -0,0 +1,19 @@ +--- lisp/dired.el.orig Tue Nov 30 00:04:12 1999 ++++ lisp/dired.el Wed Dec 5 03:15:14 2001 +@@ -1375,6 +1375,7 @@ + ;; weiand: changed: year potentially unaligned + ;;old s "\\(" HH:MM "\\|" s yyyy "\\|" yyyy s "\\)")) + s "\\(" HH:MM "\\|" s "?" yyyy "\\|" yyyy s "\\)")) ++ (freebsd-ja (concat s mm "/" dd s "\\(" HH:MM "\\|" s yyyy "\\)")) + (japanese (concat mm k s dd k s "\\(" s HH:MM "\\|" yyyy k "\\)"))) + ;; The "[0-9]" below requires the previous column to end in a digit. + ;; This avoids recognizing `1 may 1997' as a date in the line: +@@ -1382,7 +1383,7 @@ + ;; The ".*" below finds the last match if there are multiple matches. + ;; 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]" s "\\(" western "\\|" japanese "\\)" s)) ++ (concat ".*[0-9]" s "\\(" western "\\|" japanese "\\|" freebsd-ja "\\)" 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.") |