1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

JED is a highly customizable text editor offering most of the

commonly used features of EMACS without the proportions of EMACS.  The default
configuration uses EMACS keystrokes, though WordStar keystrokes are
available, and most any keystrokes can be programmed.n  JED is customizable
and programmable in the language SLANG, which can look like forth or c,
depending on your preferences.
This commit is contained in:
Renato Botelho 2005-10-27 09:57:12 +00:00
parent 517478e006
commit 975b5789c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146465
10 changed files with 436 additions and 0 deletions

View File

@ -82,6 +82,7 @@
SUBDIR += iiimecf
SUBDIR += impress
SUBDIR += jed
SUBDIR += jed-devel
SUBDIR += jedit
SUBDIR += jedit-devel
SUBDIR += jext

View File

@ -0,0 +1,74 @@
# New ports collection makefile for: Jed text editor
# Date created: 22 APR 1997
# Whom: eric
#
# $FreeBSD$
#
PORTNAME= jed
DISTVERSION= 0.99-17.135
CATEGORIES= editors
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v0.99/pre-0.99-17/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-B${DISTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= A SLang-based text editor. Development version
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
CONFLICTS= jed-[0-9]*
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
USE_REINPLACE= yes
OPTIONS= X11 "Build xjed (depends of X11)" on
DIST_SUBDIR= jed
GNU_CONFIGURE= yes
PORTDOCS= *
CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed \
CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV+= DEST_INFO_DIR=${PREFIX}/${INFO_PATH} \
DEST_DOC_DIR=${DOCSDIR} \
STRIP_CMD=${STRIP_CMD}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(NOPORTDOCS)
MAKE_ENV+= JED_WITHOUT_DOCS=yes
.endif
ALL_TARGET= all getmail ${XJED}
MAN1= jed.1 rgrep.1
INFO= jed
.include <bsd.port.pre.mk>
.if defined(WITHOUT_X11)
PLIST_SUB+= NOXJED="@comment "
.else
USE_XLIB= yes
XJED= xjed
PLIST_SUB+= NOXJED=""
MAKE_ENV+= XJED=yes
.endif
pre-configure:
.for n in 1 2 3
@${MV} ${WRKSRC}/info/jed.${n}in ${WRKSRC}/info/jed.info-${n}
.endfor
@${REINPLACE_CMD} 's|jed.\([0-9]\)in|jed.info-\1|' \
${WRKSRC}/info/jed.info
post-patch:
@${REINPLACE_CMD} -e 's,__linux__,__FreeBSD__,g' \
${WRKSRC}/src/pty.c
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/vms_shell.com ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/lib/README ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${PREFIX}/lib/jed/lib
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (jed/jed-B0.99-17.135.tar.gz) = e9abbe66d9a3eb589f97b79ce1111e62
SIZE (jed/jed-B0.99-17.135.tar.gz) = 946169

View File

@ -0,0 +1,14 @@
--- info/jed.1in.orig Thu Apr 28 15:48:52 2005
+++ info/jed.1in Thu Apr 28 15:54:43 2005
@@ -1,6 +1,11 @@
This is Info file jed.info, produced by Makeinfo-1.55 from the input
file jed.ti.
+INFO-DIR-SECTION Miscellaneous
+START-INFO-DIR-ENTRY
+* JED: (jed). JED editor documentation.
+END-INFO-DIR-ENTRY
+

File: jed.info, Node: Top, Next: Introduction, Up: (dir)

View File

@ -0,0 +1,11 @@
--- info/jed.2in.orig Thu Apr 28 15:48:58 2005
+++ info/jed.2in Thu Apr 28 15:55:01 2005
@@ -1,3 +1,8 @@
+INFO-DIR-SECTION Miscellaneous
+START-INFO-DIR-ENTRY
+* JED: (jed). JED editor documentation.
+END-INFO-DIR-ENTRY
+

File: jed.info, Node: Tab Issues., Next: Searching, Prev: Marking Text (Point and Mark), Up: Basic Editing

View File

@ -0,0 +1,14 @@
--- info/jed.3in.orig Thu Apr 28 15:49:03 2005
+++ info/jed.3in Thu Apr 28 15:55:09 2005
@@ -1,6 +1,11 @@
This is Info file jed.info, produced by Makeinfo-1.55 from the input
file jed.ti.
+INFO-DIR-SECTION Miscellaneous
+START-INFO-DIR-ENTRY
+* JED: (jed). JED editor documentation.
+END-INFO-DIR-ENTRY
+

File: jed.info, Node: Setting Keys, Next: Predefined Variables, Up: Customization

View File

@ -0,0 +1,14 @@
--- info/jed.info.orig Thu Apr 28 15:48:43 2005
+++ info/jed.info Thu Apr 28 15:54:22 2005
@@ -1,6 +1,11 @@
This is Info file jed.info, produced by Makeinfo-1.55 from the input
file jed.ti.
+INFO-DIR-SECTION Miscellaneous
+START-INFO-DIR-ENTRY
+* JED: (jed). JED editor documentation.
+END-INFO-DIR-ENTRY
+

Indirect:
jed.1in: 83

View File

@ -0,0 +1,114 @@
--- src/Makefile.in.orig Sun Oct 23 23:56:54 2005
+++ src/Makefile.in Wed Oct 26 16:34:40 2005
@@ -27,7 +27,7 @@
JED_MAN_FILES = ../doc/manual/rgrep.1 ../doc/manual/jed.1
JED_COLOR_FILES = ../lib/colors/*.sl ../lib/colors/README
XJED_COLOR_FILES = ../lib/colors/Xjed/*.sl
-JED_INFO_FILES = ../info/*
+JED_INFO_FILES = ../info/jed.info ../info/jed.info-[0-9]
#---------------------------------------------------------------------------
# DESTDIR is designed to facilitate making packages. Normally it is empty
@@ -121,7 +121,7 @@
CTAGS_PGM = ctags
#---------------------------------------------------------------------------
-all: jed
+all: jed rgrep
jed: $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/jed
@echo jed created in $(OBJDIR)
@@ -150,17 +150,19 @@
$(SRCDIR)/syntax.c: $(SRCDIR)/dfasyntx.c
touch $(SRCDIR)/syntax.c
#
+.ifdef XJED
xjed : $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/xjed
@echo xjed created in $(OBJDIR)
$(OBJDIR)/xjed : $(OBJS) $(OBJDIR)/xterm.o $(OBJDIR)/vterm.o
cd $(OBJDIR); \
$(CC) $(OFILES) xterm.o vterm.o -o xjed $(LDFLAGS) $(RPATH) \
$(SLANG_LIB) -lslang $(XLIB) $(XRENDERFONTLIBS)
+.endif
#
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) $(RPATH) $(SLANG_LIB) -lslang
+ cd $(OBJDIR); $(CC) vfile.o rgrep.o -o rgrep $(LDFLAGS) $(RPATH) $(SLANG_LIB) -lslang $(TERMCAP_LIB)
#
getmail: $(OBJDIR)/getmail
@echo getmail created in $(OBJDIR)
@@ -179,20 +181,32 @@
install_directories:
$(MKINSDIR) $(DEST_BIN_DIR)
$(MKINSDIR) $(DEST_MAN_DIR)
+ $(MKINSDIR) $(DEST_INFO_DIR)
$(MKINSDIR) $(DEST_JED_ROOT)
$(MKINSDIR) $(DEST_JED_ROOT)/bin
- $(MKINSDIR) $(DEST_JED_ROOT)/info
- $(MKINSDIR) $(DEST_JED_ROOT)/doc
- $(MKINSDIR) $(DEST_JED_ROOT)/doc/txt
- $(MKINSDIR) $(DEST_JED_ROOT)/doc/manual
$(MKINSDIR) $(DEST_JED_ROOT)/lib
$(MKINSDIR) $(DEST_JED_ROOT)/lib/colors
$(MKINSDIR) $(DEST_JED_ROOT)/lib/colors/Xjed
+.ifndef JED_WITHOUT_DOCS
+ $(MKINSDIR) $(DEST_DOC_DIR)
+ $(MKINSDIR) $(DEST_DOC_DIR)/manual
+ $(MKINSDIR) $(DEST_DOC_DIR)/txt
+.endif
install: all install_directories
+ @${STRIP_CMD} $(OBJDIR)/getmail
+ @${STRIP_CMD} $(OBJDIR)/jed
+ @${STRIP_CMD} $(OBJDIR)/rgrep
+.ifdef XJED
+ @${STRIP_CMD} $(OBJDIR)/xjed
+.endif
+
$(INSTALL) $(OBJDIR)/jed $(DEST_BIN_DIR)/
+ $(INSTALL) $(OBJDIR)/rgrep $(DEST_BIN_DIR)/
-cd $(DEST_BIN_DIR); ln -s jed jed-script
+.ifdef XJED
-$(INSTALL) $(OBJDIR)/xjed $(DEST_BIN_DIR)/
+.endif
-$(INSTALL) $(OBJDIR)/getmail $(DEST_JED_ROOT)/bin/
@for i in $(JED_LIB_FILES); \
do \
@@ -223,25 +237,27 @@
$(INSTALL_DATA) $$i $(DEST_MAN_DIR)/; \
echo $(INSTALL_DATA) $$i $(DEST_MAN_DIR)/; \
done
+.ifndef JED_WITHOUT_DOCS
@for i in $(JED_DOC_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/; \
+ $(INSTALL_DATA) $$i $(DEST_DOC_DIR); \
+ echo $(INSTALL_DATA) $$i $(DEST_DOC_DIR); \
done
@for i in $(JED_DOC_TXT_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/txt; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/txt; \
+ $(INSTALL_DATA) $$i $(DEST_DOC_DIR)/txt; \
+ echo $(INSTALL_DATA) $$i $(DEST_DOC_DIR)/txt; \
done
@for i in $(JED_DOC_MAN_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/manual; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/manual; \
+ $(INSTALL_DATA) $$i $(DEST_DOC_DIR)/manual; \
+ echo $(INSTALL_DATA) $$i $(DEST_DOC_DIR)/manual; \
done
+.endif
@for i in $(JED_INFO_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/info/; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/info/; \
+ $(INSTALL_DATA) $$i $(DEST_INFO_DIR); \
+ echo $(INSTALL_DATA) $$i $(DEST_INFO_DIR); \
done
#
runtests: $(OBJDIR)/jed

View File

@ -0,0 +1,8 @@
JED is a highly customizable text editor offering most of the
commonly used features of EMACS without the proportions of EMACS. The default
configuration uses EMACS keystrokes, though WordStar keystrokes are
available, and most any keystrokes can be programmed.n JED is customizable
and programmable in the language SLANG, which can look like forth or c,
depending on your preferences.
WWW: http://www.jedsoft.org/jed/

184
editors/jed-devel/pkg-plist Normal file
View File

@ -0,0 +1,184 @@
@comment $FreeBSD: /tmp/pcvs/ports/editors/jed-devel/Attic/pkg-plist,v 1.1 2005-10-27 09:57:11 garga Exp $
bin/jed
bin/jed-script
bin/rgrep
%%NOXJED%%bin/xjed
lib/jed/bin/getmail
lib/jed/lib/README
lib/jed/lib/abbrev.sl
lib/jed/lib/abbrmisc.sl
lib/jed/lib/aboutjed.hlp
lib/jed/lib/acompile.sl
lib/jed/lib/aprocess.sl
lib/jed/lib/ashell.sl
lib/jed/lib/backups.sl
lib/jed/lib/bibtex.sl
lib/jed/lib/binary.sl
lib/jed/lib/bookmark.sl
lib/jed/lib/brief.sl
lib/jed/lib/buf.sl
lib/jed/lib/bufed.sl
lib/jed/lib/bytecomp.sl
lib/jed/lib/cal.sl
lib/jed/lib/chglog.sl
lib/jed/lib/cmisc.sl
lib/jed/lib/cmode.sl
lib/jed/lib/colors/README
lib/jed/lib/colors/Xjed/black4.sl
lib/jed/lib/colors/Xjed/elegant.sl
lib/jed/lib/colors/Xjed/modern.sl
lib/jed/lib/colors/Xjed/night.sl
lib/jed/lib/colors/Xjed/pastel0.sl
lib/jed/lib/colors/black1.sl
lib/jed/lib/colors/black2.sl
lib/jed/lib/colors/black3.sl
lib/jed/lib/colors/black4.sl
lib/jed/lib/colors/blue1.sl
lib/jed/lib/colors/blue2.sl
lib/jed/lib/colors/blue3.sl
lib/jed/lib/colors/default1.sl
lib/jed/lib/colors/white1.sl
lib/jed/lib/comments.sl
lib/jed/lib/compat.sl
lib/jed/lib/compile.sl
lib/jed/lib/compress.sl
lib/jed/lib/cpright.hlp
lib/jed/lib/ctags.sl
lib/jed/lib/cua.hlp
lib/jed/lib/cua.sl
lib/jed/lib/cuamisc.sl
lib/jed/lib/dabbrev.sl
lib/jed/lib/dcl.sl
lib/jed/lib/digraph.sl
lib/jed/lib/dired.sl
lib/jed/lib/docbook.sl
lib/jed/lib/dos437.sl
lib/jed/lib/dos850.sl
lib/jed/lib/dos852.sl
lib/jed/lib/edt.hlp
lib/jed/lib/edt.sl
lib/jed/lib/emacs.hlp
lib/jed/lib/emacs.sl
lib/jed/lib/emacsmsc.sl
lib/jed/lib/emul.sl
lib/jed/lib/f90.sl
lib/jed/lib/ff90.sl
lib/jed/lib/filter.sl
lib/jed/lib/folding.sl
lib/jed/lib/fortran.sl
lib/jed/lib/gpg.sl
lib/jed/lib/generic.hlp
lib/jed/lib/help.sl
lib/jed/lib/history.sl
lib/jed/lib/hooks.sl
lib/jed/lib/html.sl
lib/jed/lib/ide.hlp
lib/jed/lib/ide.sl
lib/jed/lib/idl.sl
lib/jed/lib/info.sl
lib/jed/lib/isearch.sl
lib/jed/lib/iso-lat2.sl
lib/jed/lib/iso-lat3.sl
lib/jed/lib/iso-latin.sl
lib/jed/lib/iso2xxx.sl
lib/jed/lib/ispell.sl
lib/jed/lib/javamode.sl
lib/jed/lib/jed.conf
lib/jed/lib/jed.hlp
lib/jed/lib/jed.rc
lib/jed/lib/jed.sl
lib/jed/lib/jedhelp.sl
lib/jed/lib/jedusage.sl
lib/jed/lib/keycode.sl
lib/jed/lib/keydefs.sl
lib/jed/lib/krconv.sl
lib/jed/lib/latex.sl
lib/jed/lib/latex209.sl
lib/jed/lib/linux.sl
lib/jed/lib/lisp.sl
lib/jed/lib/ltx-comp.dat
lib/jed/lib/ltx-math.sl
lib/jed/lib/lua.sl
lib/jed/lib/macro.sl
lib/jed/lib/mail.sl
lib/jed/lib/mailalias.sl
lib/jed/lib/mailedit.sl
lib/jed/lib/mailutils.sl
lib/jed/lib/man.sl
lib/jed/lib/maple.sl
lib/jed/lib/matlab.sl
lib/jed/lib/menu.sl
lib/jed/lib/menus.sl
lib/jed/lib/mime.sl
lib/jed/lib/mini.sl
lib/jed/lib/minued.sl
lib/jed/lib/misc.sl
lib/jed/lib/modehook.sl
lib/jed/lib/modeinfo.sl
lib/jed/lib/most.sl
lib/jed/lib/mouse.sl
lib/jed/lib/mousex.sl
lib/jed/lib/mswmouse.sl
lib/jed/lib/mutekeys.sl
lib/jed/lib/nroff.sl
lib/jed/lib/occur.sl
lib/jed/lib/os.sl
lib/jed/lib/paste.sl
lib/jed/lib/perl.sl
lib/jed/lib/php.sl
lib/jed/lib/pipe.sl
lib/jed/lib/popups.sl
lib/jed/lib/preparse.sl
lib/jed/lib/pscript.sl
lib/jed/lib/pushmode.sl
lib/jed/lib/pymode.sl
lib/jed/lib/rcs.sl
lib/jed/lib/recent.sl
lib/jed/lib/regexp.sl
lib/jed/lib/register.sl
lib/jed/lib/replace.sl
lib/jed/lib/rmail.sl
lib/jed/lib/rot13.sl
lib/jed/lib/runpgm.sl
lib/jed/lib/sccs.sl
lib/jed/lib/search.sl
lib/jed/lib/seldisp.sl
lib/jed/lib/sendmail.sl
lib/jed/lib/shell.sl
lib/jed/lib/shmode.sl
lib/jed/lib/simple.hlp
lib/jed/lib/site.sl
lib/jed/lib/slmode.sl
lib/jed/lib/sort.sl
lib/jed/lib/sortmisc.sl
lib/jed/lib/spicemod.sl
lib/jed/lib/srchmisc.sl
lib/jed/lib/syncproc.sl
lib/jed/lib/syntax.sl
lib/jed/lib/tabs.sl
lib/jed/lib/tclmode.sl
lib/jed/lib/tex.sl
lib/jed/lib/texcom.sl
lib/jed/lib/textmode.sl
lib/jed/lib/tiasm.sl
lib/jed/lib/tmisc.sl
lib/jed/lib/tmmode.sl
lib/jed/lib/tpascal.sl
lib/jed/lib/untab.sl
lib/jed/lib/util.sl
lib/jed/lib/verilog.sl
lib/jed/lib/vhdlmode.sl
lib/jed/lib/vms_shell.com
lib/jed/lib/vmshelp.sl
lib/jed/lib/win1250.sl
lib/jed/lib/wmark.sl
lib/jed/lib/wmenu.sl
lib/jed/lib/wordstar.hlp
lib/jed/lib/wordstar.sl
lib/jed/lib/xformreg.sl
lib/jed/lib/yankpop.sl
@dirrm lib/jed/bin
@dirrm lib/jed/lib/colors/Xjed
@dirrm lib/jed/lib/colors
@dirrm lib/jed/lib
@dirrm lib/jed