diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2003-04-11 00:34:24 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2003-04-11 00:34:24 +0000 |
commit | 1a54a4bda740f4649f8471fb3e4537d1a5ae5567 (patch) | |
tree | 2d6060ff61f7a095d2cb1e88d340fa31d4c9ce9b | |
parent | bb34063a6d6d9307a05ff0a0602c843e6e390846 (diff) | |
download | pkgsrc-1a54a4bda740f4649f8471fb3e4537d1a5ae5567.tar.gz |
Re-import of Emacs 21, which has settled down in editors/emacs21.
-rw-r--r-- | editors/emacs/Makefile | 72 | ||||
-rw-r--r-- | editors/emacs/patches/patch-aa | 230 |
2 files changed, 65 insertions, 237 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index f96dbd4c15e..c5e4196186a 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,33 +1,49 @@ -# New ports collection makefile for: GNU emacs -# Version required: 19.34b -# Date created: 29 October 1994 -# Whom: jkh -# -# $Id: Makefile,v 1.1.1.1 1997/10/11 20:54:46 hubertf Exp $ -# - -DISTNAME= emacs-19.34b +# $NetBSD: Makefile,v 1.1.1.2 2003/04/11 00:34:24 uebayasi Exp $ +# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp + +DISTNAME= emacs-21.2 CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITES= ${MASTER_SITE_GNU:=emacs/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html +COMMENT= GNU editing macros (editor) + +CONFLICTS= mule-[0-9]* + +USE_BUILDLINK2= yes +USE_X11= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes -MAINTAINER= ports@FreeBSD.ORG +CONFIGURE_ARGS+= --with-x +CONFIGURE_ARGS+= --with-x-toolkit=athena -WRKSRC= ${WRKDIR}/emacs-19.34 -GNU_CONFIGURE= yes -USE_GMAKE= yes -CONFIGURE_ARGS= i386--freebsd --with-x-toolkit -STRIP= -MAN1= emacs.1 etags.1 ctags.1 +.include "../../graphics/xpm/buildlink2.mk" +CONFIGURE_ARGS+= --with-xpm +.include "../../graphics/jpeg/buildlink2.mk" +CONFIGURE_ARGS+= --with-jpeg +.include "../../graphics/tiff/buildlink2.mk" +CONFIGURE_ARGS+= --with-tiff +# need 4.1.0b1 or higher (a bug in 4.1.0 can crash Emacs) +BUILDLINK_DEPENDS.libungif= libungif>=4.1.0.1 +.include "../../graphics/libungif/buildlink2.mk" +CONFIGURE_ARGS+= --with-gif +.include "../../graphics/png/buildlink2.mk" +CONFIGURE_ARGS+= --with-png + +INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \ + ccmode message widget reftex forms + +post-extract: + ${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp + +pre-install: + @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f post-install: -.for file in emacs-19.34 emacsclient etags ctags b2m - strip ${PREFIX}/bin/${file} -.endfor - if [ ! -f ${PREFIX}/info/dir ]; then \ - ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ - fi -.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode - install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir -.endfor - -.include <bsd.port.mk> + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs + +.include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/emacs/patches/patch-aa b/editors/emacs/patches/patch-aa index 63b76da5b88..129f50db173 100644 --- a/editors/emacs/patches/patch-aa +++ b/editors/emacs/patches/patch-aa @@ -1,222 +1,34 @@ ---- ./man/vip.texi.org Fri Jun 16 15:31:11 1995 -+++ ./man/vip.texi Tue May 20 01:28:33 1997 -@@ -2,6 +2,10 @@ - - @setfilename ../info/vip - @settitle VIP -+@dircategory The Emacs editor and associated tools -+@direntry -+* VIP: (vip). A VI-emulation for Emacs. -+@end direntry - - @iftex - @finalout ---- ./man/emacs.texi.org Mon Aug 19 21:15:12 1996 -+++ ./man/emacs.texi Tue May 20 01:20:11 1997 -@@ -49,6 +49,11 @@ - @settitle GNU Emacs Manual - @setfilename ../info/emacs - @synindex pg cp -+@dircategory The Emacs editor and associated tools -+@direntry -+* Emacs: (emacs). The extensible self-documenting text editor. -+@end direntry -+ - @c - @c in general, keep the following line commented out, unless doing a - @c copy of this manual that will be published. the manual should go ---- ./man/viper.texi.org Wed Aug 7 10:59:45 1996 -+++ ./man/viper.texi Tue May 20 01:29:17 1997 -@@ -4,6 +4,10 @@ - \input texinfo - - @setfilename ../info/viper -+@dircategory The Emacs editor and associated tools -+@direntry -+* VIPER: (viper). The new VI-emulation mode in Emacs-19.29. -+@end direntry - - @iftex - @finalout ---- ./man/forms.texi.org Sat Mar 23 06:42:27 1996 -+++ ./man/forms.texi Tue May 20 01:22:37 1997 -@@ -9,6 +9,11 @@ - @syncodeindex vr cp - @syncodeindex fn cp - @syncodeindex ky cp -+@dircategory The Emacs editor and associated tools -+@direntry -+* Forms: (forms). Emacs package for editing data bases -+ by filling in forms. -+@end direntry - @iftex - @finalout - @setchapternewpage odd ---- ./man/gnus.texi.org Wed Jun 26 14:49:29 1996 -+++ ./man/gnus.texi Tue May 20 01:23:15 1997 -@@ -5,6 +5,11 @@ - @synindex fn cp - @synindex vr cp - @synindex pg cp -+@dircategory The Emacs editor and associated tools -+@direntry -+* GNUS: (gnus). The news reader GNUS. -+@end direntry -+ - @iftex - @finalout - @end iftex ---- ./man/mh-e.texi.org Sun Aug 4 00:00:29 1996 -+++ ./man/mh-e.texi Tue May 20 01:23:49 1997 -@@ -4,6 +4,10 @@ - @setfilename ../info/mh-e - @settitle mh-e - @c %**end of header -+@dircategory The Emacs editor and associated tools -+@direntry -+* MH-E: (mh-e). Emacs interface to the MH mail system. -+@end direntry - - @setchapternewpage odd - ---- ./man/cl.texi.org Mon Apr 15 21:36:53 1996 -+++ ./man/cl.texi Tue May 20 01:24:18 1997 -@@ -2,6 +2,12 @@ - @setfilename ../info/cl - @settitle Common Lisp Extensions - -+@dircategory The Emacs editor and associated tools -+@direntry -+* CL: (cl). Partial Common Lisp support for Emacs Lisp. -+@end direntry -+ -+ - @iftex - @finalout - @end iftex ---- ./man/sc.texi.org Thu Jan 4 12:55:23 1996 -+++ ./man/sc.texi Tue May 20 01:25:13 1997 -@@ -3,6 +3,12 @@ - @comment %**start of header (This is for running Texinfo on a region.) - @setfilename ../info/sc - @settitle Supercite Version 3.1 User's Manual -+@dircategory The Emacs editor and associated tools -+@direntry -+* SC: (sc). Supercite lets you cite parts of messages -+ you're replying to, in flexible ways. -+@end direntry -+ - @iftex - @finalout - @end iftex ---- ./man/dired-x.texi.org Thu Jan 4 12:54:19 1996 -+++ ./man/dired-x.texi Tue May 20 01:25:55 1997 -@@ -18,6 +18,11 @@ - @setfilename ../info/dired-x - @c dired-x.el REVISION NUMBER - @settitle Dired Extra Version 2 User's Manual -+@dircategory The Emacs editor and associated tools -+@direntry -+* Dired-X: (dired-x). Dired Extra Features. -+@end direntry -+ - @iftex - @finalout - @end iftex ---- ./man/ediff.texi.org Fri Jun 21 20:00:04 1996 -+++ ./man/ediff.texi Tue May 20 01:26:29 1997 -@@ -10,6 +10,11 @@ - @synindex vr cp - @synindex fn cp - @synindex pg cp -+@dircategory The Emacs editor and associated tools -+@direntry -+* Ediff: (ediff). A comprehensive visual interface to diff -+ and patch. -+@end direntry - @iftex - @finalout - @end iftex ---- ./man/cc-mode.texi.org Sun Aug 4 21:56:21 1996 -+++ ./man/cc-mode.texi Tue May 20 01:27:18 1997 -@@ -9,6 +9,12 @@ - @settitle CC-MODE Version 4 Documentation - @footnotestyle end - -+@dircategory The Emacs editor and associated tools -+@direntry -+* CC mode: (ccmode). The GNU Emacs mode for editing C, C++, -+ Objective-C and Java code. -+@end direntry -+ - @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - @comment @setchapternewpage odd !! we don't want blank pages !! - @comment %**end of header (This is for running Texinfo on a region) ---- ./Makefile.in.org Mon Aug 19 21:12:19 1996 -+++ ./Makefile.in Tue Apr 15 00:15:28 1997 -@@ -184,7 +184,7 @@ - # Subdirectories to make recursively. `lisp' is not included - # because the compiled lisp files are part of the distribution - # and you cannot remake them without installing Emacs first. --SUBDIR = lib-src src -+SUBDIR = lib-src src man - - # The makefiles of the directories in $SUBDIR. - SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile lwlib/Makefile -@@ -368,14 +368,8 @@ - if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ - then \ - (cd ${infodir}; \ -- if [ -f dir ]; then \ -- if [ ! -f dir.old ]; then mv -f dir dir.old; \ -- else mv -f dir dir.bak; fi; \ -- fi; \ - cd ${srcdir}/info ; \ -- (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ -- (cd $${thisdir}; chmod a+r ${infodir}/dir); \ -- for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* info* message* mh-e* sc* vip*; do \ -+ for f in ccmode* cl* dired-x* ediff* emacs* forms* gnus* message* mh-e* sc* vip*; do \ - (cd $${thisdir}; \ - ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ - chmod a+r ${infodir}/$$f); \ -@@ -426,7 +420,7 @@ - esac ; \ - fi ; \ - done -- (cd ${infodir} && rm -f cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) -+ (cd ${infodir} && rm -f cl* dired-x* ediff* emacs* forms* gnus* mh-e* sc* vip*) - (cd ${man1dir} && rm -f emacs.1 etags.1 ctags.1) - (cd ${bindir} && rm -f emacs-${version} $(EMACS)) - ---- ./man/Makefile.in.org Thu Jun 27 15:27:19 1996 -+++ ./man/Makefile.in Tue Apr 15 00:29:52 1997 -@@ -13,7 +13,7 @@ - # The makeinfo program is part of the Texinfo distribution. +$NetBSD: patch-aa,v 1.1.1.2 2003/04/11 00:34:25 uebayasi Exp $ + +--- man/Makefile.in.orig Wed Apr 24 16:54:15 2002 ++++ man/Makefile.in Wed Apr 24 16:55:45 2002 +@@ -34,7 +34,7 @@ MAKEINFO = makeinfo - INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl ../info/dired-x \ -- ../info/ediff ../info/forms ../info/gnus ../info/info \ -+ ../info/ediff ../info/forms ../info/gnus \ - ../info/mh-e ../info/sc ../info/vip ../info/viper \ - ../info/message - DVI_TARGETS = emacs.dvi cc-mode.dvi cl.dvi dired-x.dvi ediff.dvi forms.dvi \ -@@ -66,6 +66,7 @@ - ${srcdir}/gnu1.texi \ - ${srcdir}/glossary.texi + INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl \ + ../info/dired-x ../info/ediff ../info/forms ../info/gnus \ +- ../info/info ../info/message ../info/mh-e ../info/reftex \ ++ ../info/message ../info/mh-e ../info/reftex \ + ../info/sc ../info/vip ../info/viper ../info/widget \ + ../info/efaq ../info/ada-mode ../info/autotype \ + ../info/idlwave ../info/eudc ../info/ebrowse ../info/pcl-cvs \ +@@ -100,6 +100,7 @@ + ${srcdir}/glossary.texi \ + ${srcdir}/ack.texi +all: info info: $(INFO_TARGETS) dvi: $(DVI_TARGETS) -@@ -74,12 +75,6 @@ - # in srcdir. There is no provision for Info files - # to exist in the build directory. - # In a distribution of Emacs, the Info files should be up to date. +@@ -112,12 +113,6 @@ + # The following target uses an explicit -o switch to work around + # the @setfilename directive in info.texi, which is required for + # the Texinfo distribution. - -../info/info: ${INFOSOURCES} -- cd $(srcdir); $(MAKEINFO) --no-split info.texi +- cd $(srcdir); $(MAKEINFO) --no-split info.texi -o $@ - -info.dvi: ${INFOSOURCES} -- TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/info.texi +- $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi ../info/emacs: ${EMACSSOURCES} cd $(srcdir); $(MAKEINFO) emacs.texi |