hebrew/he2: Mark DEPRECATED

- Upstream last release was in 2001
- Set EXPIRATION_DATE 2024-01-16
- Pet portclippy
- Refresh patches
- Use DATADIR macros in pkg-plist
This commit is contained in:
Muhammad Moinur Rahman 2023-12-16 19:44:49 +01:00
parent 1a5f39e119
commit 2d6b35630b
10 changed files with 38 additions and 33 deletions

View File

@ -11,12 +11,16 @@ WWW= https://www.sourceforge.net/projects/he2/
LICENSE= GPLv2+ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Upstream last release was in 2001
EXPIRATION_DATE= 2024-01-16
RUN_DEPENDS= iw-elmar-fonts>0:hebrew/elmar-fonts RUN_DEPENDS= iw-elmar-fonts>0:hebrew/elmar-fonts
USES= gmake ncurses USES= gmake ncurses
GNU_CONFIGURE= yes
USE_CXXSTD= c++98 USE_CXXSTD= c++98
GNU_CONFIGURE= yes
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|-lcurses -ltermcap|-lncurses|' \ @${REINPLACE_CMD} -e 's|-lcurses -ltermcap|-lncurses|' \
${WRKSRC}/he2/Makefile.in ${WRKSRC}/he2/Makefile.am ${WRKSRC}/he2/Makefile.in ${WRKSRC}/he2/Makefile.am

View File

@ -1,6 +1,6 @@
--- HebrewEditor.cxx.orig Tue Aug 17 13:49:15 2004 --- he2/HebrewEditor.cxx.orig 2001-03-24 08:36:42 UTC
+++ he2/HebrewEditor.cxx Tue Aug 17 13:49:27 2004 +++ he2/HebrewEditor.cxx
@@ -224,7 +224,7 @@ @@ -224,7 +224,7 @@ HebrewEditor::HebrewEditor(int argc, char **argv){
screen->Refresh() ; screen->Refresh() ;
screen->GetMaxYX(&sizey, &sizex) ; screen->GetMaxYX(&sizey, &sizex) ;

View File

@ -1,6 +1,6 @@
--- he2/Makefile.in.orig Fri Aug 3 19:16:24 2001 --- he2/Makefile.in.orig 2001-03-24 08:54:33 UTC
+++ he2/Makefile.in Fri Aug 3 19:16:41 2001 +++ he2/Makefile.in
@@ -582,7 +582,7 @@ @@ -582,7 +582,7 @@ install-data-local:
$(INSTALL_DATA) $(srcdir)/data/espell.wor $(DESTDIR)/$(datadir)/he2/espell.wor $(INSTALL_DATA) $(srcdir)/data/espell.wor $(DESTDIR)/$(datadir)/he2/espell.wor
$(INSTALL_DATA) $(srcdir)/data/hspell.wor $(DESTDIR)/$(datadir)/he2/hspell.wor $(INSTALL_DATA) $(srcdir)/data/hspell.wor $(DESTDIR)/$(datadir)/he2/hspell.wor
$(INSTALL_DATA) $(srcdir)/data/laxet.wor $(DESTDIR)/$(datadir)/he2/laxet.wor $(INSTALL_DATA) $(srcdir)/data/laxet.wor $(DESTDIR)/$(datadir)/he2/laxet.wor

View File

@ -1,6 +1,6 @@
--- ./he2/hebSegment.cxx.orig Wed Mar 14 10:04:03 2001 --- he2/hebSegment.cxx.orig 2001-03-14 09:04:03 UTC
+++ ./he2/hebSegment.cxx Thu Jun 10 21:53:00 2004 +++ he2/hebSegment.cxx
@@ -869,8 +869,8 @@ @@ -869,8 +869,8 @@ char *hebrew_segment_starters[] = { "\\R{", "\\section
#define alpha "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" #define alpha "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define anum "0123456789*+=-?@!%^&~:'\".,;()`<>/|_" #define anum "0123456789*+=-?@!%^&~:'\".,;()`<>/|_"

View File

@ -1,5 +1,5 @@
--- ./he2/hebString.cxx.orig Wed Mar 14 10:04:03 2001 --- he2/hebString.cxx.orig 2001-03-14 09:04:03 UTC
+++ ./he2/hebString.cxx Thu Jun 10 21:31:44 2004 +++ he2/hebString.cxx
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
#include "hebString.h" #include "hebString.h"

View File

@ -1,6 +1,6 @@
--- aDictionary.cxx.orig Tue Aug 17 13:50:38 2004 --- he2/aDictionary.cxx.orig 2001-03-14 09:04:03 UTC
+++ he2/aDictionary.cxx Tue Aug 17 13:50:52 2004 +++ he2/aDictionary.cxx
@@ -128,7 +128,7 @@ @@ -128,7 +128,7 @@ aDictionary::findMatchingWords(int accuracyLevel, char
return 0 ; // nothing to look for return 0 ; // nothing to look for
} }

View File

@ -0,0 +1,11 @@
--- he2/aString.h.orig 2001-03-14 09:04:03 UTC
+++ he2/aString.h
@@ -162,7 +162,6 @@ friend char *areplicate(char c, int count) ;
void delete_ch(int at) ;
friend char *areplicate(char c, int count) ;
} ;
-
-
+char *areplicate(char c, int count) ;
#endif

View File

@ -1,6 +1,6 @@
--- he2/he2.in.old Fri Aug 3 18:35:49 2001 --- he2/he2.in.orig 2001-03-13 11:30:14 UTC
+++ he2/he2.in Fri Aug 3 18:36:08 2001 +++ he2/he2.in
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@ if test "$DISPLAY." != "." ; then
export HEDIR=#datadir#/he2 export HEDIR=#datadir#/he2
if test "$DISPLAY." != "." ; then if test "$DISPLAY." != "." ; then
export HE2_NEW_SHELL_ON_SUSPEND=1 export HE2_NEW_SHELL_ON_SUSPEND=1

View File

@ -1,10 +0,0 @@
--- he2/aString.h 2001-03-14 04:04:03.000000000 -0500
+++ he2/aString.h 2008-05-21 20:07:00.000000000 -0400
@@ -163,6 +163,5 @@
friend char *areplicate(char c, int count) ;
} ;
-
-
+char *areplicate(char c, int count) ;
#endif

View File

@ -1,8 +1,8 @@
bin/he2 bin/he2
bin/he2-bin bin/he2-bin
bin/laxet bin/laxet
share/he2/.he2rc.sample %%DATADIR%%/.he2rc.sample
share/he2/HE-Tutorial.h %%DATADIR%%/HE-Tutorial.h
share/he2/espell.wor %%DATADIR%%/espell.wor
share/he2/hspell.wor %%DATADIR%%/hspell.wor
share/he2/laxet.wor %%DATADIR%%/laxet.wor