summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/jed/Makefile22
-rw-r--r--editors/jed/distinfo2
-rw-r--r--editors/jed/files/patch-aa14
-rw-r--r--editors/jed/files/patch-ab13
-rw-r--r--editors/jed/pkg-plist11
5 files changed, 43 insertions, 19 deletions
diff --git a/editors/jed/Makefile b/editors/jed/Makefile
index 5a97839df1d2..e133efee9aa4 100644
--- a/editors/jed/Makefile
+++ b/editors/jed/Makefile
@@ -6,28 +6,29 @@
#
PORTNAME= jed
-PORTVERSION= 0.99.15
+PORTVERSION= 0.99.16
CATEGORIES= editors
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/
-DISTNAME= ${PORTNAME}-B${PORTVERSION:R}-${PORTVERSION:E}
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= s_bschmi@ira.uka.de
COMMENT= A SLang-based text editor
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
-
.if !defined(WITHOUT_X11)
USE_XLIB= yes
-XJED= xjed
+XJED= xjed
PLIST_SUB+= NOXJED=""
.else
-PLIST_SUB+= NOXJED="@comment "
+PLIST_SUB+= NOXJED="@comment "
.endif
DIST_SUBDIR= jed
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed
+CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed \
+ CFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
ALL_TARGET= all getmail ${XJED}
MAN1= jed.1 rgrep.1
@@ -41,10 +42,13 @@ post-install:
.for f in ${XJED}
strip ${PREFIX}/bin/$f
.endfor
- ${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
- -${RM} ${PREFIX}/lib/jed/info/*
+# ${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
+ ${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
+ -${RM} -f ${PREFIX}/lib/jed/info/*
-${RMDIR} ${PREFIX}/lib/jed/info
- -${RM} ${PREFIX}/lib/jed/doc/txt/*
+ -${RM} -f ${PREFIX}/lib/jed/doc/txt/*
-${RMDIR} ${PREFIX}/lib/jed/doc/txt
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jed
diff --git a/editors/jed/distinfo b/editors/jed/distinfo
index 66336c007c9f..b6376b977b2a 100644
--- a/editors/jed/distinfo
+++ b/editors/jed/distinfo
@@ -1 +1 @@
-MD5 (jed/jed-B0.99-15.tar.gz) = a54efdbb8b4584f32efb279255fd0c07
+MD5 (jed/jed-0.99-16.tar.gz) = e50e95d8d626445cb778fadee3a2a47d
diff --git a/editors/jed/files/patch-aa b/editors/jed/files/patch-aa
index 722be981ef0e..4aa1fa83c084 100644
--- a/editors/jed/files/patch-aa
+++ b/editors/jed/files/patch-aa
@@ -1,6 +1,6 @@
---- src/Makefile.in.orig Tue Apr 10 01:54:31 2001
-+++ src/Makefile.in Tue Apr 10 01:56:43 2001
-@@ -143,7 +143,7 @@
+--- src/Makefile.in.orig Sun Oct 20 06:55:30 2002
++++ src/Makefile.in Thu Feb 20 21:06:23 2003
+@@ -158,7 +158,7 @@
rgrep: $(OBJDIR)/rgrep
@echo rgrep created in $(OBJDIR)
$(OBJDIR)/rgrep: $(OBJDIR)/vfile.o $(OBJDIR)/rgrep.o
@@ -9,3 +9,11 @@
#
getmail: $(OBJDIR)/getmail
@echo getmail created in $(OBJDIR)
+@@ -186,7 +186,6 @@
+ $(MKINSDIR) $(DEST_JED_ROOT)/lib
+ $(MKINSDIR) $(DEST_JED_ROOT)/lib/colors
+ $(MKINSDIR) $(DEST_JED_ROOT)/lib/colors/Xjed
+- $(MKINSDIR) $(DEST_JED_ROOT)/lib/tm
+
+ install: all install_directories
+ $(INSTALL) $(OBJDIR)/jed $(DEST_BIN_DIR)/
diff --git a/editors/jed/files/patch-ab b/editors/jed/files/patch-ab
new file mode 100644
index 000000000000..455cc45ead23
--- /dev/null
+++ b/editors/jed/files/patch-ab
@@ -0,0 +1,13 @@
+--- src/jprocess.c.orig Thu Feb 20 20:19:47 2003
++++ src/jprocess.c Thu Feb 20 20:24:36 2003
+@@ -58,7 +58,9 @@
+
+ #ifdef REALLY_HAVE_TERMIOS_H
+ # ifndef __os2__
+-# define USE_PTY
++# ifndef __FreeBSD__
++# define USE_PTY
++# endif
+ # endif
+ #endif
+
diff --git a/editors/jed/pkg-plist b/editors/jed/pkg-plist
index 85b62d20ec59..b30485e24d9e 100644
--- a/editors/jed/pkg-plist
+++ b/editors/jed/pkg-plist
@@ -1,5 +1,6 @@
bin/jed
bin/rgrep
+bin/jed-script
%%NOXJED%%bin/xjed
%%PORTDOCS%%@unexec install-info --delete --section="Miscellaneous" --entry="* JED: (jed). JED editor documentation." %D/info/jed.info %D/info/dir
%%PORTDOCS%%info/jed.1in
@@ -21,7 +22,6 @@ lib/jed/lib/colors/blue3.sl
lib/jed/lib/colors/default1.sl
lib/jed/lib/colors/white1.sl
lib/jed/lib/colors/README
-lib/jed/lib/tm/linuxdoc.tm
lib/jed/lib/abbrev.sl
lib/jed/lib/abbrmisc.sl
lib/jed/lib/acompile.sl
@@ -99,8 +99,6 @@ lib/jed/lib/mime.sl
lib/jed/lib/mini.sl
lib/jed/lib/minued.sl
lib/jed/lib/misc.sl
-lib/jed/lib/mkdoc.sl
-lib/jed/lib/mktex.sl
lib/jed/lib/modehook.sl
lib/jed/lib/modeinfo.sl
lib/jed/lib/most.sl
@@ -126,6 +124,8 @@ 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
@@ -142,11 +142,10 @@ lib/jed/lib/tabs.sl
lib/jed/lib/tclmode.sl
lib/jed/lib/tex.sl
lib/jed/lib/texcom.sl
-lib/jed/lib/textmac.sl
lib/jed/lib/textmode.sl
lib/jed/lib/tiasm.sl
-lib/jed/lib/tm2sgml.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
@@ -198,9 +197,9 @@ lib/jed/lib/README
%%PORTDOCS%%share/doc/jed/wjed.txt
%%PORTDOCS%%share/doc/jed/wordstar.txt
%%PORTDOCS%%share/doc/jed/xjed.txt
+%%PORTDOCS%%share/doc/jed/xrenderfont.txt
%%PORTDOCS%%share/doc/jed/yankpop.txt
@dirrm lib/jed/bin
-@dirrm lib/jed/lib/tm
@dirrm lib/jed/lib/colors/Xjed
@dirrm lib/jed/lib/colors
@dirrm lib/jed/lib