Date: Sat, 23 May 2009 17:51:44 GMT From: Ashish SHUKLA <wahjava@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/134875: Update Port: editors/emacs-devel to v.23.0.93 Message-ID: <200905231751.n4NHpi0f017894@www.freebsd.org> Resent-Message-ID: <200905231800.n4NI02nI049893@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134875 >Category: ports >Synopsis: Update Port: editors/emacs-devel to v.23.0.93 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat May 23 18:00:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ashish SHUKLA >Release: 7.2-RELEASE >Organization: N/A >Environment: FreeBSD chateau.d.lf 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The attached diff updates the port to v.23.0.93. The port also adds an OPTION of installing C source code which is helpful for anyone trying to "M-x describe-function" to checkout the code behind that function. >How-To-Repeat: >Fix: diff -urN /usr/ports/editors/emacs-devel/Makefile emacs-devel/Makefile --- /usr/ports/editors/emacs-devel/Makefile 2009-04-02 21:37:32.000000000 +0000 +++ emacs-devel/Makefile 2009-05-23 22:44:56.000000000 +0000 @@ -33,7 +33,7 @@ INSTALLS_ICONS= yes -EMACS_VER= 23.0.92 +EMACS_VER= 23.0.93 GNU_CONFIGURE= yes USE_GMAKE= yes ALL_TARGET= bootstrap @@ -77,8 +77,16 @@ LATEST_LINK= emacs23 +OPTIONS= SOURCES "Install source code" ON + .include <bsd.port.pre.mk> +.if defined(WITH_SOURCES) +PLIST_SUB+= SOURCES="" +.else +PLIST_SUB+= SOURCES="@comment " +.endif + .if ${ARCH} == "ia64" BROKEN= Emacs 22.X and later does not currently build on ia64 .endif @@ -97,5 +105,13 @@ post-patch: @${RM} -f ${WRKSRC}/info/* + @${REINPLACE_CMD} -e "s/%%EMACS_VER%%/${EMACS_VER}/g" -e "s/%%DATADIR%%/${DATADIR:C/\//\\\//g}/g" ${WRKSRC}/sources.el + +.if defined(WITH_SOURCES) +post-install: + @${MKDIR} ${DATADIR}/${EMACS_VER}/src + @${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${DATADIR}/${EMACS_VER}/src + @${INSTALL_DATA} ${WRKSRC}/sources.el ${DATADIR}/${EMACS_VER}/site-lisp/site-start.el +.endif .include <bsd.port.post.mk> diff -urN /usr/ports/editors/emacs-devel/distinfo emacs-devel/distinfo --- /usr/ports/editors/emacs-devel/distinfo 2009-04-02 21:37:32.000000000 +0000 +++ emacs-devel/distinfo 2009-05-22 17:49:17.000000000 +0000 @@ -1,3 +1,3 @@ -MD5 (emacs-23.0.92.tar.gz) = 3d2232a3efbafdb7280abe2f1f7802ac -SHA256 (emacs-23.0.92.tar.gz) = 53af89e1c80928130469da94f7acecbe3d663546432cfee8233568ed9e3ba7aa -SIZE (emacs-23.0.92.tar.gz) = 43022949 +MD5 (emacs-23.0.93.tar.gz) = 8b505cb0ee812d69b604ac886675c0bd +SHA256 (emacs-23.0.93.tar.gz) = f5699af73cf0ed524c247d3273154c4d3399a1a05f404924263891cde6d12cad +SIZE (emacs-23.0.93.tar.gz) = 42838836 diff -urN /usr/ports/editors/emacs-devel/files/patch-sources.el emacs-devel/files/patch-sources.el --- /usr/ports/editors/emacs-devel/files/patch-sources.el 1970-01-01 00:00:00.000000000 +0000 +++ emacs-devel/files/patch-sources.el 2009-05-23 20:16:55.000000000 +0000 @@ -0,0 +1,10 @@ + +$FreeBSD$ + +--- /dev/null ++++ sources.el +@@ -0,0 +1,4 @@ ++;;; Path to Emacs C Sources. ++(when (string-match (regexp-quote "%%EMACS_VER%%") emacs-version) ++ (setq find-function-C-source-directory ++ "%%DATADIR%%/%%EMACS_VER%%/src")) diff -urN /usr/ports/editors/emacs-devel/pkg-plist emacs-devel/pkg-plist --- /usr/ports/editors/emacs-devel/pkg-plist 2009-03-07 13:02:36.000000000 +0000 +++ emacs-devel/pkg-plist 2009-05-23 22:45:08.000000000 +0000 @@ -3153,6 +3153,183 @@ %%DATADIR%%/%%EMACS_VER%%/lisp/xt-mouse.el.gz %%DATADIR%%/%%EMACS_VER%%/lisp/xt-mouse.elc %%DATADIR%%/%%EMACS_VER%%/site-lisp/subdirs.el +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/site-lisp/site-start.el +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/Makefile.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/alloc.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/atimer.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/atimer.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/blockinput.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/buffer.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/buffer.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/bytecode.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/callint.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/callproc.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/casefiddle.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/casetab.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/category.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/category.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ccl.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ccl.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/character.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/character.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/charset.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/charset.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/chartab.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/cm.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/cm.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/cmds.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/coding.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/coding.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/commands.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/composite.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/composite.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/config.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/data.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dbusbind.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dired.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dispextern.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dispnew.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/disptab.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/doc.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/doprnt.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dosfns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/dosfns.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ecrt0.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/editfns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/emacs-icon.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/emacs.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/epaths.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/eval.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fileio.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/filelock.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/filemode.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/firstfile.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/floatfns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/font.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/font.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fontset.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fontset.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/frame.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/frame.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/fringe.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ftfont.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ftfont.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ftxfont.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/getloadavg.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/getpagesize.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/gmalloc.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/gtkutil.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/gtkutil.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/image.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/indent.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/indent.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/insdel.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/intervals.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/intervals.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keyboard.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keyboard.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keymap.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/keymap.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/lastfile.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/lisp.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/lread.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/macros.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/macros.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/marker.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/md5.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/md5.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/mem-limits.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/menu.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/menu.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/minibuf.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/mktime.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/msdos.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/msdos.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ndir.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/nsgui.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/nsterm.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/point.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/pre-crt0.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/prefix-args.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/print.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/process.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/process.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/puresize.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/ralloc.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/regex.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/regex.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/region-cache.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/region-cache.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/scroll.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/search.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sheap.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sound.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/strftime.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syntax.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syntax.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sysdep.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sysselect.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syssignal.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/systime.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/systty.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syswait.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/term.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termcap.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termchar.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termhooks.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/terminal.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/terminfo.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/termopts.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/textprop.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/tparam.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/undo.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexaix.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexalpha.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexcw.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexec.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexelf.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexhp9k800.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexmacosx.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexsol.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/unexw32.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/vm-limit.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w16select.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32console.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32fns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32font.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32font.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32gui.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32heap.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32heap.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32inevt.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32inevt.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32menu.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32proc.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32reg.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32select.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32term.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32term.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32uniscribe.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/w32xfns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/widget.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/widget.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/widgetprv.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/window.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/window.h +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xdisp.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xfaces.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xfns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xfont.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xftfont.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xmenu.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xrdb.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xselect.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xsmfns.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xterm.c +%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/xterm.h %%DATADIR%%/site-lisp/subdirs.el share/icons/hicolor/128x128/apps/emacs.png share/icons/hicolor/16x16/apps/emacs.png @@ -3167,6 +3344,7 @@ share/icons/hicolor/scalable/mimetypes/emacs-document.svg var/games/emacs/snake-scores var/games/emacs/tetris-scores +%%SOURCES%%@dirrm %%DATADIR%%/%%EMACS_VER%%/src @dirrm %%DATADIR%%/%%EMACS_VER%%/site-lisp @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/url @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/textmodes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905231751.n4NHpi0f017894>