japanese/jed: Mark DEPRECATED

- Add LICENSE GPLv2
- Upstream vaporized and returns NXDOMAIN
- Consider using editors/jed
- Set EXPIRATION_DATE 2024-01-16
- Utilize OPTIONSNG
- Pet portclippy
- Refresh patches
This commit is contained in:
Muhammad Moinur Rahman 2023-12-16 19:15:05 +01:00
parent 20a2b97fcb
commit 1a5f39e119
7 changed files with 55 additions and 55 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= jed
PORTVERSION= ${VERSION}.j${JP_VERSION}
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= japanese editors
MASTER_SITES= LOCAL/knu \
http://www.kondara.org/~g/slang/
@ -13,59 +13,61 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= SLang-based text editor (w/ Japanese support)
WWW= http://www.dsl.tutics.tut.ac.jp/~kawamoto/jed/jed.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Upstream site vaporized and returns NXDOMAIN consider using editors/jed
EXPIRATION_DATE= 2024-01-16
LIB_DEPENDS= libslang.so:japanese/libslang
VERSION= 0.99.8
JP_VERSION= 067
USES= ncurses
GNU_CONFIGURE= yes
CONFIGURE_ENV= JED_ROOT="${JED_ROOT}" X_EXTRA_LIBS="-lncurses"
CONFIGURE_ARGS= --enable-x-locale=no
ALL_TARGET= ${BINSTUFF} getmail
CONFIGURE_ENV= JED_ROOT="${JED_ROOT}" X_EXTRA_LIBS="-lncurses"
MAKE_JOBS_UNSAFE= yes
INFO= jed
ALL_TARGET= ${BINSTUFF} getmail
CONFLICTS_INSTALL= jed # bin/jed
JED_ROOT= ${DATADIR}
BINSTUFF= jed rgrep
OPTIONS_DEFINE= DOCS X11 CANNA
OPTIONS_DEFAULT=CANNA X11
OPTIONS_SUB= yes
CANNA_DESC= Canna support
CANNA_CONFIGURE_ON= --with-canna=yes
CANNA_CONFIGURE_OFF= --with-canna=no
CANNA_LIB_DEPENDS= libcanna.so:japanese/canna-lib
X11_USES= xorg
X11_USE= XORG=x11,xext,xt
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
BINSTUFF+= xjed
.endif
_OBJDIR= ${WRKSRC}/src/${ARCH}objs
_DOCDIR= ${WRKSRC}/doc
_INFODIR= ${WRKSRC}/info
_LIBDIR= ${WRKSRC}/lib
INFO= jed
PORTDOCS= abbrev.txt color.txt dfa.txt edt.txt emacs.txt fold.txt \
hooks.txt ide-mode.txt jed_faq.txt jedfuns.txt libfuns.txt \
menus.txt mouse.txt pc-keys.txt program.txt rgrep.txt \
rmail.txt script.txt slangfun.txt syntax.txt undo.txt wjed.txt \
wordstar.txt xjed.txt yankpop.txt README jed.tex jed-j.doc
OPTIONS_DEFINE= DOCS X11 CANNA
OPTIONS_DEFAULT=CANNA X11
OPTIONS_SUB= yes
CANNA_DESC= Canna support
CANNA_LIB_DEPENDS= libcanna.so:japanese/canna-lib
CANNA_CONFIGURE_ON= --with-canna=yes
CANNA_CONFIGURE_OFF= --with-canna=no
X11_USES= xorg
X11_USE= XORG=x11,xext,xt
X11_VARS= BINSTUFF+=xjed
JED_ROOT= ${DATADIR}
BINSTUFF= jed rgrep
VERSION= 0.99.8
JP_VERSION= 067
_OBJDIR= ${WRKSRC}/src/${ARCH}objs
_DOCDIR= ${WRKSRC}/doc
_INFODIR= ${WRKSRC}/info
_LIBDIR= ${WRKSRC}/lib
post-extract:
@cd ${WRKDIR} && ${MV} *.sl ${_LIBDIR}/
@${CP} ${WRKSRC}/jed-j.doc ${_DOCDIR}/
post-patch:
@${RM} ${_INFODIR}/*.orig
#post-patch:
# @${RM} ${_INFODIR}/*.orig
do-install:
@${MKDIR} ${STAGEDIR}${JED_ROOT}

View file

@ -1,6 +1,6 @@
--- configure.orig Tue Jul 20 20:22:45 1999
+++ configure Sat Feb 5 23:49:47 2000
@@ -2580,7 +2580,8 @@
--- configure.orig 1999-07-20 11:22:45 UTC
+++ configure
@@ -2580,7 +2580,8 @@ fi
# the other directories may have a better chance of containing a more recent
# version.
@ -10,7 +10,7 @@
$includedir,$libdir \
/usr/local/include,/usr/local/lib \
/usr/include,/usr/lib \
@@ -3176,12 +3177,17 @@
@@ -3176,12 +3177,17 @@ PROGRAM_OBJECT_RULES="$PROGRAM_OBJECT_RULES
cd \$(OBJDIR); \$(COMPILE_CMD) \$(SRCDIR)/vterm.c
"

View file

@ -1,6 +1,6 @@
--- info/jed.info~ Wed Jul 14 06:01:25 1999
+++ info/jed.info Fri Feb 4 02:11:19 2000
@@ -1,6 +1,10 @@
--- info/jed.info.orig 1999-07-13 21:01:25 UTC
+++ info/jed.info
@@ -1,6 +1,10 @@ file jed.ti.
This is Info file jed.info, produced by Makeinfo-1.55 from the input
file jed.ti.

View file

@ -1,6 +1,6 @@
--- lib/abbrev.sl 2000/10/01 17:41:08 1.1
+++ lib/abbrev.sl 2000/10/01 17:41:46
@@ -32,16 +32,16 @@
--- lib/abbrev.sl.orig 1999-07-13 21:01:27 UTC
+++ lib/abbrev.sl
@@ -32,16 +32,16 @@ define set_abbrev_mode (val)
define set_abbrev_mode (val)
{
getbuf_info ();

View file

@ -1,6 +1,6 @@
--- lib/canna.sl~ Sat Aug 14 13:03:12 1999
+++ lib/canna.sl Sat Aug 14 13:02:35 1999
@@ -348,9 +348,10 @@
--- lib/canna.sl.orig 1999-07-20 12:36:17 UTC
+++ lib/canna.sl
@@ -348,9 +348,10 @@ define canna_get_buf_id() { % return -1 if cannot get
message("Canna can not be used in any more buffer. Sorry...");
return -1;
}
@ -13,5 +13,3 @@
return canna_buf_number;
}
return get_blocal_var("canna_buf_id");

View file

@ -1,5 +1,5 @@
--- lib/japanese.sl~ Tue Feb 8 16:17:10 2000
+++ lib/japanese.sl Tue Feb 8 16:17:49 2000
--- lib/japanese.sl.orig 1999-07-23 12:05:25 UTC
+++ lib/japanese.sl
@@ -5,8 +5,10 @@
%

View file

@ -1,6 +1,6 @@
--- lib/jed.rc~ Tue Jul 20 20:22:46 1999
+++ lib/jed.rc Thu Feb 3 19:15:23 2000
@@ -166,6 +166,19 @@
--- lib/jed.rc.orig 1999-07-20 11:22:46 UTC
+++ lib/jed.rc
@@ -166,6 +166,19 @@ C_CONTINUED_OFFSET = 2; % This variable controls the i
% that are continued onto the next line.
%---------------------------------------------------------------------------