summaryrefslogtreecommitdiff
path: root/editors/xemacs-nox11
diff options
context:
space:
mode:
authormagick <magick@pkgsrc.org>2003-01-13 21:22:43 +0000
committermagick <magick@pkgsrc.org>2003-01-13 21:22:43 +0000
commitd3f387052efe9cb3f7196b101e3f75aaf3ad2b0e (patch)
tree752dc4b4352763c6e0be609f0d7d59d12a5e3bfa /editors/xemacs-nox11
parent86c9343f36a328d59d1cd1a218b2abc4972a0ae1 (diff)
downloadpkgsrc-d3f387052efe9cb3f7196b101e3f75aaf3ad2b0e.tar.gz
Initial import of xemacs-nox11. It's a xemacs compiled without any
X11 dependencies. Submitted by Masao Uebayashi in private mail
Diffstat (limited to 'editors/xemacs-nox11')
-rw-r--r--editors/xemacs-nox11/DESCR21
-rw-r--r--editors/xemacs-nox11/Makefile124
2 files changed, 145 insertions, 0 deletions
diff --git a/editors/xemacs-nox11/DESCR b/editors/xemacs-nox11/DESCR
new file mode 100644
index 00000000000..878196cc3b0
--- /dev/null
+++ b/editors/xemacs-nox11/DESCR
@@ -0,0 +1,21 @@
+XEmacs is a self-documenting, customizable, extensible real-time
+display editor.
+
+Users new to XEmacs will be able to use basic features fairly rapidly
+by studying the tutorial and using the self-documentation features.
+XEmacs also has an extensive interactive manual browser. It is easily
+extensible since its editing commands are written in Lisp.
+
+XEmacs'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. There is a WWW browsing mode written fully in elisp
+that looks and behaves much like the netscape WWW browser.
+
+XEmacs has similar functionality to GNU Emacs. It uses a different
+display model, including support for Motif menu and scroll bars and the
+ability to run as a widget inside other applications. Many people say
+it looks nicer than GNU Emacs.
+
+Web site: http://www.xemacs.org
diff --git a/editors/xemacs-nox11/Makefile b/editors/xemacs-nox11/Makefile
new file mode 100644
index 00000000000..23d8affb363
--- /dev/null
+++ b/editors/xemacs-nox11/Makefile
@@ -0,0 +1,124 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/13 21:22:43 magick Exp $
+
+DISTNAME= xemacs-21.1.14
+PKGNAME= xemacs-nox-21.1.14
+CATEGORIES= editors
+MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.1/ \
+ ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/xemacs-21.1/ \
+ ftp://ftp.usyd.edu.au/pub/Xemacs/xemacs-21.1/ \
+ ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-21.1/ \
+ ftp://ftp.th-darmstadt.de/pub/editors/xemacs/xemacs-21.1/
+EXTRACT_SUFX= .tar.bz2
+DISTFILES= ${EXTRACT_ONLY} ${EXTRA_FILES}
+
+MAINTAINER= magick@netbsd.org
+HOMEPAGE= http://www.xemacs.org/
+COMMENT= XEmacs text editor version 21
+
+NOT_FOR_PLATFORM= *-*-mips* # fails purespace dumping
+
+CONFLICTS= xemacs-[0-9]*
+
+PLIST_SRC= ${.CURDIR}/../xemacs/
+DISTINFO_FILE= ${.CURDIR}/../xemacs/distinfo
+PATCHDIR= ${.CURDIR}/../xemacs/patches
+
+USE_BUILDLINK2= YES
+#USE_X11= YES
+
+BUILD_DEFS+= USE_LDAP USE_XFACE
+DIST_SUBDIR= xemacs
+EXTRA_FILES= ${DISTNAME}-elc.tar.gz ${DISTNAME}-info.tar.gz
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+PLIST_SUBST+= DISTNAME="${DISTNAME}"
+MESSAGE_SUBST+= DISTNAME="${DISTNAME}"
+
+.include "../../mk/bsd.prefs.mk"
+
+.if defined(MANZ)
+PLIST_SUBST+= ELSUFX='.gz'
+.else
+PLIST_SUBST+= ELSUFX=''
+.endif
+
+#.if defined(USE_ATHENA)
+# WITH_DIALOGS= --with-menubars=athena\
+# --with-scrollbars=athena\
+# --with-dialogs=athena\
+# --with-xim=xlib
+#.else
+# WITH_DIALOGS= --with-dialogs=motif
+#.endif
+
+.if defined(USE_LDAP) && (${USE_LDAP} == "YES")
+WITH_LDAP= --with-ldap
+. include "../../databases/openldap/buildlink2.mk"
+.else
+WITH_LDAP= --without-ldap
+.endif
+
+.if defined(USE_XFACE) && (${USE_XFACE} == "YES")
+WITH_XFACE= --with-xface
+. include "../../mail/faces/buildlink2.mk"
+.else
+WITH_XFACE= --without-xface
+.endif
+
+.if defined(EMACS_CANNA) && (${EMACS_CANNA} == "YES")
+. include "../../inputmethod/canna-lib/buildlink2.mk"
+WITH_CANNA= --with-canna
+.else
+WITH_CANNA= --without-canna
+.endif
+
+.include "../../databases/gdbm/buildlink2.mk"
+#.include "../../graphics/jpeg/buildlink2.mk"
+#.include "../../graphics/png/buildlink2.mk"
+#.include "../../graphics/tiff/buildlink2.mk"
+#.include "../../graphics/xpm/buildlink2.mk"
+#.if !defined(USE_ATHENA)
+#.include "../../mk/motif.buildlink2.mk"
+#.endif
+.include "../../mk/ossaudio.buildlink2.mk"
+
+INFOPATH= ${PREFIX}/info:${X11BASE}/info:/usr/local/info
+
+HAS_CONFIGURE= YES
+CONFIGURE_ARGS+= ${MACHINE_GNU_PLATFORM}
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-clash-detection
+CONFIGURE_ARGS+= --with-mule=yes
+CONFIGURE_ARGS+= --without-ncurses
+CONFIGURE_ARGS+= --without-msw
+CONFIGURE_ARGS+= --with-session=yes
+CONFIGURE_ARGS+= ${WITH_DIALOGS} ${WITH_LDAP} ${WITH_XFACE} ${WITH_CANNA}
+CONFIGURE_ARGS+= --infopath="${INFOPATH}"
+CONFIGURE_ARGS+= --lockdir=/var/tmp/xemacs.lock
+CONFIGURE_ARGS+= --site-includes=${PREFIX}/include:${WRKDIR}
+CONFIGURE_ARGS+= --site-libraries=${PREFIX}/lib
+CONFIGURE_ARGS+= --without-x11 # XXX -nox
+CONFIGURE_ARGS+= --without-jpeg # XXX -nox
+CONFIGURE_ARGS+= --without-png # XXX -nox
+CONFIGURE_ARGS+= --without-tiff # XXX -nox
+CONFIGURE_ARGS+= --without-xpm # XXX -nox
+
+CFLAGS+= -Dunix
+MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}"
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+post-extract:
+ for FILE in ${EXTRA_FILES}; do \
+ ${GTAR} xzCf ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/$$FILE; \
+ done
+
+post-patch:
+ @${RM} -f ${WRKSRC}/etc/ctags.1.orig
+
+post-install:
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
+ @${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs
+ @if [ "X${MANZ}" != X"" ]; then \
+ ${WRKSRC}/lib-src/gzip-el.sh ${PREFIX}/lib/${DISTNAME}; \
+ fi
+
+.include "../../mk/bsd.pkg.mk"