summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-23 14:26:54 +0000
committeragc <agc@pkgsrc.org>2002-07-23 14:26:54 +0000
commitb693240af03ec0d2471f92857d55779350dafa8b (patch)
tree481dd76f3d4d6839e21c1b31e87a0e8662fadc0b /editors
parentfbaee2ca08ac83ffccf768eb6dc8d13d7ecc6a5e (diff)
downloadpkgsrc-b693240af03ec0d2471f92857d55779350dafa8b.tar.gz
Initial import of xjed-0.99.15 into the NetBSD Packages Collection.
Inspired by PR 14195, from Scott Baron (sb125499@ohiou.edu), but based on the -current NetBSD jed package. JED is a freely available text editor for Unix, VMS, MSDOS, OS/2, and MS Windows. Features include: * Color syntax highlighting on color terminals. * Folding support * Extensible in a language resembling C. Completely customizable. * Capable of read GNU info files from within JED's info browser * A variety of programming modes (with syntax highlighting) are available including C, C++, FORTRAN, TeX, HTML, SH, IDL, DCL, NROFF... xjed is the version for X11
Diffstat (limited to 'editors')
-rw-r--r--editors/xjed/DESCR10
-rw-r--r--editors/xjed/MESSAGE7
-rw-r--r--editors/xjed/Makefile29
-rw-r--r--editors/xjed/PLIST248
-rw-r--r--editors/xjed/distinfo6
-rw-r--r--editors/xjed/patches/patch-aa21
-rw-r--r--editors/xjed/patches/patch-ab32
7 files changed, 353 insertions, 0 deletions
diff --git a/editors/xjed/DESCR b/editors/xjed/DESCR
new file mode 100644
index 00000000000..85912bf363b
--- /dev/null
+++ b/editors/xjed/DESCR
@@ -0,0 +1,10 @@
+JED is a freely available text editor for Unix, VMS, MSDOS, OS/2, and
+MS Windows.
+
+Features include:
+ * Color syntax highlighting on color terminals.
+ * Folding support
+ * Extensible in a language resembling C. Completely customizable.
+ * Capable of read GNU info files from within JED's info browser
+ * A variety of programming modes (with syntax highlighting) are
+ available including C, C++, FORTRAN, TeX, HTML, SH, IDL, DCL, NROFF...
diff --git a/editors/xjed/MESSAGE b/editors/xjed/MESSAGE
new file mode 100644
index 00000000000..4209790cc8c
--- /dev/null
+++ b/editors/xjed/MESSAGE
@@ -0,0 +1,7 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+
+You might want to have a look at ${PREFIX}/share/jed/lib/* and
+install a file defaults.sl for site defaults there.
+
+======================================================================
diff --git a/editors/xjed/Makefile b/editors/xjed/Makefile
new file mode 100644
index 00000000000..c0ea4243175
--- /dev/null
+++ b/editors/xjed/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+#
+
+DISTNAME= jed-B0.99-15
+PKGNAME= xjed-0.99.15
+CATEGORIES= editors
+MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v0.99/ \
+ ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/jed/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://space.mit.edu/~davis/jed.html
+COMMENT= X11-based text editor, extensible through S-Lang functions
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-x
+
+WRKSRC= ${WRKDIR}/jed-B0.99-15
+
+post-install:
+ @cd ${WRKSRC}; \
+ for dir in lib info doc; do \
+ ${ECHO} "Installing $$dir files"; \
+ ${PAX} -rwpe $$dir ${PREFIX}/share/xjed; \
+ done
+ ${RM} -f ${PREFIX}/share/xjed/doc/jed.1 ${PREFIX}/share/xjed/doc/rgrep.1
+ ${RMDIR} ${PREFIX}/share/xjed/bin
+
+.include "../../devel/libslang/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/xjed/PLIST b/editors/xjed/PLIST
new file mode 100644
index 00000000000..bd8d9f12c02
--- /dev/null
+++ b/editors/xjed/PLIST
@@ -0,0 +1,248 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+bin/xjed
+bin/rgrep
+man/man1/jed.1
+man/man1/rgrep.1
+share/xjed/doc/README
+share/xjed/doc/manual/jed.1
+share/xjed/doc/manual/jed.tex
+share/xjed/doc/manual/rgrep.1
+share/xjed/doc/tm/Makefile
+share/xjed/doc/tm/README
+share/xjed/doc/tm/jedfuns.tm
+share/xjed/doc/tm/quickref.tm
+share/xjed/doc/tm/rtl/abbrev.tm
+share/xjed/doc/tm/rtl/blocal.tm
+share/xjed/doc/tm/rtl/buffer.tm
+share/xjed/doc/tm/rtl/color.tm
+share/xjed/doc/tm/rtl/eval.tm
+share/xjed/doc/tm/rtl/file.tm
+share/xjed/doc/tm/rtl/hidden.tm
+share/xjed/doc/tm/rtl/hooks.tm
+share/xjed/doc/tm/rtl/info.tm
+share/xjed/doc/tm/rtl/insdel.tm
+share/xjed/doc/tm/rtl/keys.tm
+share/xjed/doc/tm/rtl/mark.tm
+share/xjed/doc/tm/rtl/menu.tm
+share/xjed/doc/tm/rtl/message.tm
+share/xjed/doc/tm/rtl/mini.tm
+share/xjed/doc/tm/rtl/misc.tm
+share/xjed/doc/tm/rtl/mouse.tm
+share/xjed/doc/tm/rtl/move.tm
+share/xjed/doc/tm/rtl/process.tm
+share/xjed/doc/tm/rtl/rect.tm
+share/xjed/doc/tm/rtl/region.tm
+share/xjed/doc/tm/rtl/search.tm
+share/xjed/doc/tm/rtl/syntax.tm
+share/xjed/doc/tm/rtl/terminal.tm
+share/xjed/doc/tm/rtl/tm-sort.sl
+share/xjed/doc/tm/rtl/userinfo.tm
+share/xjed/doc/tm/rtl/whatelse.sl
+share/xjed/doc/tm/rtl/window.tm
+share/xjed/doc/tm/rtl/xjed.tm
+share/xjed/doc/txt/abbrev.txt
+share/xjed/doc/txt/color.txt
+share/xjed/doc/txt/compile.txt
+share/xjed/doc/txt/dfa.txt
+share/xjed/doc/txt/edt.txt
+share/xjed/doc/txt/emacs.txt
+share/xjed/doc/txt/filelock.txt
+share/xjed/doc/txt/fold.txt
+share/xjed/doc/txt/hooks.txt
+share/xjed/doc/txt/ide-mode.txt
+share/xjed/doc/txt/jed_faq.txt
+share/xjed/doc/txt/jedfuns.txt
+share/xjed/doc/txt/libfuns.txt
+share/xjed/doc/txt/linux-keys.txt
+share/xjed/doc/txt/menus.txt
+share/xjed/doc/txt/mouse.txt
+share/xjed/doc/txt/pc-keys.txt
+share/xjed/doc/txt/program.txt
+share/xjed/doc/txt/rgrep.txt
+share/xjed/doc/txt/rmail.txt
+share/xjed/doc/txt/script.txt
+share/xjed/doc/txt/syntax.txt
+share/xjed/doc/txt/undo.txt
+share/xjed/doc/txt/wjed.txt
+share/xjed/doc/txt/wordstar.txt
+share/xjed/doc/txt/xjed.txt
+share/xjed/doc/txt/yankpop.txt
+share/xjed/info/dir.info
+share/xjed/info/info.info
+share/xjed/info/jed.1in
+share/xjed/info/jed.2in
+share/xjed/info/jed.3in
+share/xjed/info/jed.info
+share/xjed/lib/README
+share/xjed/lib/abbrev.sl
+share/xjed/lib/abbrmisc.sl
+share/xjed/lib/aboutjed.hlp
+share/xjed/lib/acompile.sl
+share/xjed/lib/aprocess.sl
+share/xjed/lib/ashell.sl
+share/xjed/lib/backups.sl
+share/xjed/lib/bibtex.sl
+share/xjed/lib/binary.sl
+share/xjed/lib/bookmark.sl
+share/xjed/lib/brief.sl
+share/xjed/lib/buf.sl
+share/xjed/lib/bufed.sl
+share/xjed/lib/bytecomp.sl
+share/xjed/lib/cal.sl
+share/xjed/lib/chglog.sl
+share/xjed/lib/cmisc.sl
+share/xjed/lib/cmode.sl
+share/xjed/lib/colors/README
+share/xjed/lib/colors/Xjed/elegant.sl
+share/xjed/lib/colors/Xjed/pastel0.sl
+share/xjed/lib/colors/black1.sl
+share/xjed/lib/colors/black2.sl
+share/xjed/lib/colors/black3.sl
+share/xjed/lib/colors/blue1.sl
+share/xjed/lib/colors/blue2.sl
+share/xjed/lib/colors/blue3.sl
+share/xjed/lib/colors/default1.sl
+share/xjed/lib/colors/white1.sl
+share/xjed/lib/comments.sl
+share/xjed/lib/compat.sl
+share/xjed/lib/compile.sl
+share/xjed/lib/compress.sl
+share/xjed/lib/cpright.hlp
+share/xjed/lib/ctags.sl
+share/xjed/lib/cua.sl
+share/xjed/lib/dabbrev.sl
+share/xjed/lib/dcl.sl
+share/xjed/lib/digraph.sl
+share/xjed/lib/dired.sl
+share/xjed/lib/docbook.sl
+share/xjed/lib/dos437.sl
+share/xjed/lib/dos850.sl
+share/xjed/lib/dos852.sl
+share/xjed/lib/edt.hlp
+share/xjed/lib/edt.sl
+share/xjed/lib/emacs.hlp
+share/xjed/lib/emacs.sl
+share/xjed/lib/emacsmsc.sl
+share/xjed/lib/emul.sl
+share/xjed/lib/f90.sl
+share/xjed/lib/ff90.sl
+share/xjed/lib/filter.sl
+share/xjed/lib/folding.sl
+share/xjed/lib/fortran.sl
+share/xjed/lib/generic.hlp
+share/xjed/lib/help.sl
+share/xjed/lib/history.sl
+share/xjed/lib/hooks.sl
+share/xjed/lib/html.sl
+share/xjed/lib/ide.hlp
+share/xjed/lib/ide.sl
+share/xjed/lib/idl.sl
+share/xjed/lib/info.sl
+share/xjed/lib/isearch.sl
+share/xjed/lib/iso-lat2.sl
+share/xjed/lib/iso-lat3.sl
+share/xjed/lib/iso-latin.sl
+share/xjed/lib/iso2xxx.sl
+share/xjed/lib/ispell.sl
+share/xjed/lib/javamode.sl
+share/xjed/lib/jed.conf
+share/xjed/lib/jed.hlp
+share/xjed/lib/jed.rc
+share/xjed/lib/jed.sl
+share/xjed/lib/jedhelp.sl
+share/xjed/lib/jedusage.sl
+share/xjed/lib/keycode.sl
+share/xjed/lib/keydefs.sl
+share/xjed/lib/krconv.sl
+share/xjed/lib/latex.sl
+share/xjed/lib/latex209.sl
+share/xjed/lib/linux.sl
+share/xjed/lib/lisp.sl
+share/xjed/lib/ltx-comp.dat
+share/xjed/lib/ltx-math.sl
+share/xjed/lib/macro.sl
+share/xjed/lib/mail.sl
+share/xjed/lib/mailalias.sl
+share/xjed/lib/man.sl
+share/xjed/lib/maple.sl
+share/xjed/lib/matlab.sl
+share/xjed/lib/menu.sl
+share/xjed/lib/menus.sl
+share/xjed/lib/mime.sl
+share/xjed/lib/mini.sl
+share/xjed/lib/minued.sl
+share/xjed/lib/misc.sl
+share/xjed/lib/mkdoc.sl
+share/xjed/lib/mktex.sl
+share/xjed/lib/modehook.sl
+share/xjed/lib/modeinfo.sl
+share/xjed/lib/most.sl
+share/xjed/lib/mouse.sl
+share/xjed/lib/mousex.sl
+share/xjed/lib/mswmouse.sl
+share/xjed/lib/mutekeys.sl
+share/xjed/lib/nroff.sl
+share/xjed/lib/occur.sl
+share/xjed/lib/os.sl
+share/xjed/lib/perl.sl
+share/xjed/lib/php.sl
+share/xjed/lib/pipe.sl
+share/xjed/lib/popups.sl
+share/xjed/lib/preparse.sl
+share/xjed/lib/pscript.sl
+share/xjed/lib/pushmode.sl
+share/xjed/lib/pymode.sl
+share/xjed/lib/rcs.sl
+share/xjed/lib/recent.sl
+share/xjed/lib/regexp.sl
+share/xjed/lib/register.sl
+share/xjed/lib/replace.sl
+share/xjed/lib/rmail.sl
+share/xjed/lib/rot13.sl
+share/xjed/lib/search.sl
+share/xjed/lib/seldisp.sl
+share/xjed/lib/sendmail.sl
+share/xjed/lib/shell.sl
+share/xjed/lib/shmode.sl
+share/xjed/lib/simple.hlp
+share/xjed/lib/site.sl
+share/xjed/lib/slmode.sl
+share/xjed/lib/sort.sl
+share/xjed/lib/sortmisc.sl
+share/xjed/lib/spicemod.sl
+share/xjed/lib/srchmisc.sl
+share/xjed/lib/syntax.sl
+share/xjed/lib/tabs.sl
+share/xjed/lib/tclmode.sl
+share/xjed/lib/tex.sl
+share/xjed/lib/texcom.sl
+share/xjed/lib/textmac.sl
+share/xjed/lib/textmode.sl
+share/xjed/lib/tiasm.sl
+share/xjed/lib/tm/linuxdoc.tm
+share/xjed/lib/tm2sgml.sl
+share/xjed/lib/tmisc.sl
+share/xjed/lib/tpascal.sl
+share/xjed/lib/untab.sl
+share/xjed/lib/util.sl
+share/xjed/lib/verilog.sl
+share/xjed/lib/vhdlmode.sl
+share/xjed/lib/vms_shell.com
+share/xjed/lib/vmshelp.sl
+share/xjed/lib/win1250.sl
+share/xjed/lib/wmark.sl
+share/xjed/lib/wmenu.sl
+share/xjed/lib/wordstar.hlp
+share/xjed/lib/wordstar.sl
+share/xjed/lib/yankpop.sl
+@dirrm share/xjed/lib/tm
+@dirrm share/xjed/lib/colors/Xjed
+@dirrm share/xjed/lib/colors/
+@dirrm share/xjed/lib
+@dirrm share/xjed/doc/txt
+@dirrm share/xjed/doc/tm/rtl
+@dirrm share/xjed/doc/tm
+@dirrm share/xjed/doc/manual
+@dirrm share/xjed/doc
+@dirrm share/xjed/info
+@dirrm share/xjed
diff --git a/editors/xjed/distinfo b/editors/xjed/distinfo
new file mode 100644
index 00000000000..c9e18db1d59
--- /dev/null
+++ b/editors/xjed/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+
+SHA1 (jed-B0.99-15.tar.gz) = dfcb1b5ea0330666e919a83a3ebf01b4444d2e07
+Size (jed-B0.99-15.tar.gz) = 833835 bytes
+SHA1 (patch-aa) = da67943003ac6e23763ce35a19bd95b9d3d8fb71
+SHA1 (patch-ab) = 430976979d57e25ec924bfa9870bb8d035828a83
diff --git a/editors/xjed/patches/patch-aa b/editors/xjed/patches/patch-aa
new file mode 100644
index 00000000000..a746f5b359b
--- /dev/null
+++ b/editors/xjed/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+
+--- configure.orig Tue Oct 9 10:15:13 2001
++++ configure Tue Oct 9 10:16:30 2001
+@@ -2576,7 +2576,7 @@
+ /usr/share/lib/terminfo \
+ /usr/local/lib/terminfo"
+
+-TERMCAP=-ltermcap
++TERMCAP=-lcurses
+
+ echo $ac_n "checking for Terminfo""... $ac_c" 1>&6
+ echo "configure:2583: checking for Terminfo" >&5
+@@ -2623,6 +2623,7 @@
+ test "x$exec" = "xNONE" && exec="$ac_default_prefix"
+ test "x$exec_prefix" = "xNONE" && exec_prefix="$prefix"
+ JD_Search_Dirs="$JD_Search_Dirs \
++ /usr/pkg/include,/usr/pkg/lib
+ $includedir,$libdir \
+ /usr/local/include,/usr/local/lib \
+ /usr/include,/usr/lib \
diff --git a/editors/xjed/patches/patch-ab b/editors/xjed/patches/patch-ab
new file mode 100644
index 00000000000..f1a4590e7a2
--- /dev/null
+++ b/editors/xjed/patches/patch-ab
@@ -0,0 +1,32 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/23 14:26:54 agc Exp $
+
+--- src/Makefile.in.orig Tue Oct 9 10:22:43 2001
++++ src/Makefile.in Tue Oct 9 10:24:34 2001
+@@ -13,8 +13,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ #JED_ROOT = $(HOME)/src/jed# <--- make sure # is at end of file!!
+-#JED_ROOT = $(prefix)/jed# <--- make sure # is at end of file!!
+-JED_ROOT = @JED_ROOT@# <--- make sure # is at end of file!!
++JED_ROOT = $(prefix)/share/xjed# <--- make sure # is at end of file!!
+ BIN_DIR = @bindir@
+ MAN_DIR = @mandir@/man1
+ INSTALL = @INSTALL@
+@@ -117,7 +116,7 @@
+ all: jed rgrep
+
+
+-jed: $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/jed
++jed: $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/jed $(OBJDIR)/xjed
+ @echo jed created in $(OBJDIR)
+ $(OBJDIR)/jed: $(OBJS) $(OBJDIR)/display.o $(OBJGPMMOUSEO)
+ cd $(OBJDIR); $(CC) $(OFILES) display.o $(GPMMOUSEO) \
+@@ -154,7 +153,7 @@
+ rgrep: $(OBJDIR)/rgrep
+ @echo rgrep created in $(OBJDIR)
+ $(OBJDIR)/rgrep: $(OBJDIR)/vfile.o $(OBJDIR)/rgrep.o
+- cd $(OBJDIR); $(CC) vfile.o rgrep.o -o rgrep $(LDFLAGS) $(SLANG_LIB) -lslang
++ cd $(OBJDIR); $(CC) vfile.o rgrep.o -o rgrep $(LDFLAGS) $(SLANG_LIB) -lslang -lm -ltermcap
+ #
+ getmail: $(OBJDIR)/getmail
+ @echo getmail created in $(OBJDIR)