GNU Emacs is a self-documenting, customizable, extensible real-time

display editor.

Users new to Emacs will be able to use basic features fairly rapidly
by studying the tutorial and using the self-documentation features.
Emacs also has an extensive interactive manual browser.  It is easily
extensible since its editing commands are written in Lisp.

GNU Emacs's many special packages handle mail reading (RMail) and
sending (Mail), outline editing (Outline), compiling (Compile),
running subshells within Emacs windows (Shell), running a Lisp
read-eval-print loop (Lisp-Interaction-Mode), automated psychotherapy
(Doctor :-) and many more.

Flavors:
	no_x11     - build without X11 support
	gtk        - build with gtk2 toolkit instead of athena

Based on submissions by Matthew Dempsky, Brad Walker and Andreas Voegele.
"go head" naddy@
This commit is contained in:
eric 2008-06-14 18:31:15 +00:00
parent 902e79e830
commit f7d416f147
6 changed files with 2820 additions and 0 deletions

86
editors/emacs22/Makefile Normal file
View File

@ -0,0 +1,86 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/14 18:31:15 eric Exp $
COMMENT-main= GNU editor: extensible, customizable, self-documenting
COMMENT-el= elisp sources for those who want to read/modify them
VERSION= 22.2
DISTNAME= emacs-${VERSION}
PKGNAME-main= emacs-${VERSION}
FULLPKGNAME-el= emacs-el-${VERSION}
FULLPKGPATH-el= editors/emacs22,-el
CATEGORIES= editors
HOMEPAGE= http://www.gnu.org/software/emacs/
MAINTAINER= Eric Faurot <eric@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
MULTI_PACKAGES= -main -el
USE_GMAKE= Yes
FLAVORS= gtk no_x11
FLAVOR?=
GCCARCH= ${MACHINE_ARCH}-unknown-openbsd${OPSYS_VER}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${GCCARCH} --with-pop --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib"
# Disable propolice on powerpc due to gcc3+propolice bug.
.if ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fno-stack-protector"
.endif
MAKE_ENV= INSTALL_EMACS="${INSTALL_SCRIPT}" \
LOGNAME="${SHAREOWN}"
SUBST_VARS= GCCARCH VERSION
WANTLIB-main= c m ncurses ossaudio
.if ${FLAVOR:L:Mno_x11}
.if ${FLAVOR:L:Mgtk}
ERRORS= "Fatal: gtk and no_x11 flavors are mutually exclusive"
.endif
CONFIGURE_ARGS+= --without-x
.elif ${FLAVOR:L:Mgtk}
CONFIGURE_ARGS+= --with-gtk
USE_X11= Yes
LIB_DEPENDS-main+= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
jpeg::graphics/jpeg \
png::graphics/png \
tiff::graphics/tiff \
ungif::graphics/libungif
WANTLIB-main+= ICE SM X11 Xdmcp Xext Xft Xpm Xrender Xau Xcomposite \
Xcursor Xdamage Xfixes Xi Xinerama Xrandr \
atk-1.0 cairo expat fontconfig freetype glib-2.0 \
glitz gmodule-2.0 gobject-2.0 iconv intl pango-1.0 \
pangocairo-1.0 pangoft2-1.0 pixman-1 pthread z
.else
CONFIGURE_ARGS+= --with-x-toolkit=athena --without-toolkit-scroll-bars
USE_X11= Yes
LIB_DEPENDS-main= jpeg::graphics/jpeg \
png::graphics/png \
tiff::graphics/tiff \
ungif::graphics/libungif
WANTLIB-main+= ICE SM X11 Xaw Xext Xmu Xpm Xt z
.endif
RUN_DEPENDS-el= :emacs-${VERSION}*:${BUILD_PKGPATH}
PKG_ARCH-el= *
.include <bsd.port.mk>

5
editors/emacs22/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (emacs-22.2.tar.gz) = 1u5Ya4dSNRM06/BykExNUQ==
RMD160 (emacs-22.2.tar.gz) = 7C2nzXBly9dnc+VE2h0UlfM9bqE=
SHA1 (emacs-22.2.tar.gz) = ejcTMsuEANROjrMfGeQyu8k1I6A=
SHA256 (emacs-22.2.tar.gz) = IWg54fs4yk8u0KB2iftH7oDZCEXzTgpW/ngdaqRi42c=
SIZE (emacs-22.2.tar.gz) = 38694318

View File

@ -0,0 +1,4 @@
emacs-el contains the emacs-elisp sources for many of the elisp programs
included with the main Emacs text editor package.
They are only useful for people who want to edit or look at them.

View File

@ -0,0 +1,17 @@
GNU Emacs is a self-documenting, customizable, extensible real-time
display editor.
Users new to Emacs will be able to use basic features fairly rapidly
by studying the tutorial and using the self-documentation features.
Emacs also has an extensive interactive manual browser. It is easily
extensible since its editing commands are written in Lisp.
GNU Emacs's many special packages handle mail reading (RMail) and
sending (Mail), outline editing (Outline), compiling (Compile),
running subshells within Emacs windows (Shell), running a Lisp
read-eval-print loop (Lisp-Interaction-Mode), automated psychotherapy
(Doctor :-) and many more.
Flavors:
no_x11 - build without X11 support
gtk - build with gtk2 toolkit instead of athena

1032
editors/emacs22/pkg/PLIST-el Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff