aboutsummaryrefslogtreecommitdiff
path: root/hebrew
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-16 18:44:49 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-16 19:15:40 +0000
commit2d6b35630b8183bc7a0af5207a176cfcee9ffbf6 (patch)
tree0ddabbd09ea486361ac81a9cc8b74161a467732e /hebrew
parent1a5f39e11969995c0766f3c6da5281383228f29c (diff)
downloadports-2d6b35630b8183bc7a0af5207a176cfcee9ffbf6.tar.gz
ports-2d6b35630b8183bc7a0af5207a176cfcee9ffbf6.zip
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
Diffstat (limited to 'hebrew')
-rw-r--r--hebrew/he2/Makefile6
-rw-r--r--hebrew/he2/files/patch-he2_HebrewEditor.cxx (renamed from hebrew/he2/files/patch-HebrewEditor.cxx)6
-rw-r--r--hebrew/he2/files/patch-he2_Makefile.in (renamed from hebrew/he2/files/patch-Makefile.in)6
-rw-r--r--hebrew/he2/files/patch-he2__hebSegment.cxx6
-rw-r--r--hebrew/he2/files/patch-he2__hebString.cxx4
-rw-r--r--hebrew/he2/files/patch-he2_aDictionary.cxx (renamed from hebrew/he2/files/patch-aDictionary.cxx)6
-rw-r--r--hebrew/he2/files/patch-he2_aString.h11
-rw-r--r--hebrew/he2/files/patch-he2_he2.in (renamed from hebrew/he2/files/patch-he2.in)6
-rw-r--r--hebrew/he2/files/patch-realCxx10
-rw-r--r--hebrew/he2/pkg-plist10
10 files changed, 38 insertions, 33 deletions
diff --git a/hebrew/he2/Makefile b/hebrew/he2/Makefile
index b4d54923b24b..5b3e6a104879 100644
--- a/hebrew/he2/Makefile
+++ b/hebrew/he2/Makefile
@@ -11,12 +11,16 @@ WWW= https://www.sourceforge.net/projects/he2/
LICENSE= GPLv2+
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
USES= gmake ncurses
-GNU_CONFIGURE= yes
USE_CXXSTD= c++98
+GNU_CONFIGURE= yes
+
post-patch:
@${REINPLACE_CMD} -e 's|-lcurses -ltermcap|-lncurses|' \
${WRKSRC}/he2/Makefile.in ${WRKSRC}/he2/Makefile.am
diff --git a/hebrew/he2/files/patch-HebrewEditor.cxx b/hebrew/he2/files/patch-he2_HebrewEditor.cxx
index b31967d5025e..36e8652ebbb1 100644
--- a/hebrew/he2/files/patch-HebrewEditor.cxx
+++ b/hebrew/he2/files/patch-he2_HebrewEditor.cxx
@@ -1,6 +1,6 @@
---- HebrewEditor.cxx.orig Tue Aug 17 13:49:15 2004
-+++ he2/HebrewEditor.cxx Tue Aug 17 13:49:27 2004
-@@ -224,7 +224,7 @@
+--- he2/HebrewEditor.cxx.orig 2001-03-24 08:36:42 UTC
++++ he2/HebrewEditor.cxx
+@@ -224,7 +224,7 @@ HebrewEditor::HebrewEditor(int argc, char **argv){
screen->Refresh() ;
screen->GetMaxYX(&sizey, &sizex) ;
diff --git a/hebrew/he2/files/patch-Makefile.in b/hebrew/he2/files/patch-he2_Makefile.in
index 3115bca16e18..837e5048da4c 100644
--- a/hebrew/he2/files/patch-Makefile.in
+++ b/hebrew/he2/files/patch-he2_Makefile.in
@@ -1,6 +1,6 @@
---- he2/Makefile.in.orig Fri Aug 3 19:16:24 2001
-+++ he2/Makefile.in Fri Aug 3 19:16:41 2001
-@@ -582,7 +582,7 @@
+--- he2/Makefile.in.orig 2001-03-24 08:54:33 UTC
++++ he2/Makefile.in
+@@ -582,7 +582,7 @@ install-data-local:
$(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/laxet.wor $(DESTDIR)/$(datadir)/he2/laxet.wor
diff --git a/hebrew/he2/files/patch-he2__hebSegment.cxx b/hebrew/he2/files/patch-he2__hebSegment.cxx
index 0efc6bd8ebe6..e997fbe2dfa2 100644
--- a/hebrew/he2/files/patch-he2__hebSegment.cxx
+++ b/hebrew/he2/files/patch-he2__hebSegment.cxx
@@ -1,6 +1,6 @@
---- ./he2/hebSegment.cxx.orig Wed Mar 14 10:04:03 2001
-+++ ./he2/hebSegment.cxx Thu Jun 10 21:53:00 2004
-@@ -869,8 +869,8 @@
+--- he2/hebSegment.cxx.orig 2001-03-14 09:04:03 UTC
++++ he2/hebSegment.cxx
+@@ -869,8 +869,8 @@ char *hebrew_segment_starters[] = { "\\R{", "\\section
#define alpha "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define anum "0123456789*+=-?@!%^&~:'\".,;()`<>/|_"
diff --git a/hebrew/he2/files/patch-he2__hebString.cxx b/hebrew/he2/files/patch-he2__hebString.cxx
index 2353599dc048..ae620910448b 100644
--- a/hebrew/he2/files/patch-he2__hebString.cxx
+++ b/hebrew/he2/files/patch-he2__hebString.cxx
@@ -1,5 +1,5 @@
---- ./he2/hebString.cxx.orig Wed Mar 14 10:04:03 2001
-+++ ./he2/hebString.cxx Thu Jun 10 21:31:44 2004
+--- he2/hebString.cxx.orig 2001-03-14 09:04:03 UTC
++++ he2/hebString.cxx
@@ -21,7 +21,7 @@
#include "hebString.h"
diff --git a/hebrew/he2/files/patch-aDictionary.cxx b/hebrew/he2/files/patch-he2_aDictionary.cxx
index 3f5fc48ab03e..f755a5a06d82 100644
--- a/hebrew/he2/files/patch-aDictionary.cxx
+++ b/hebrew/he2/files/patch-he2_aDictionary.cxx
@@ -1,6 +1,6 @@
---- aDictionary.cxx.orig Tue Aug 17 13:50:38 2004
-+++ he2/aDictionary.cxx Tue Aug 17 13:50:52 2004
-@@ -128,7 +128,7 @@
+--- he2/aDictionary.cxx.orig 2001-03-14 09:04:03 UTC
++++ he2/aDictionary.cxx
+@@ -128,7 +128,7 @@ aDictionary::findMatchingWords(int accuracyLevel, char
return 0 ; // nothing to look for
}
diff --git a/hebrew/he2/files/patch-he2_aString.h b/hebrew/he2/files/patch-he2_aString.h
new file mode 100644
index 000000000000..282edf77e2dd
--- /dev/null
+++ b/hebrew/he2/files/patch-he2_aString.h
@@ -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
diff --git a/hebrew/he2/files/patch-he2.in b/hebrew/he2/files/patch-he2_he2.in
index a04583197c9f..af23c3b7d1f8 100644
--- a/hebrew/he2/files/patch-he2.in
+++ b/hebrew/he2/files/patch-he2_he2.in
@@ -1,6 +1,6 @@
---- he2/he2.in.old Fri Aug 3 18:35:49 2001
-+++ he2/he2.in Fri Aug 3 18:36:08 2001
-@@ -2,7 +2,7 @@
+--- he2/he2.in.orig 2001-03-13 11:30:14 UTC
++++ he2/he2.in
+@@ -2,7 +2,7 @@ if test "$DISPLAY." != "." ; then
export HEDIR=#datadir#/he2
if test "$DISPLAY." != "." ; then
export HE2_NEW_SHELL_ON_SUSPEND=1
diff --git a/hebrew/he2/files/patch-realCxx b/hebrew/he2/files/patch-realCxx
deleted file mode 100644
index 26c054e13068..000000000000
--- a/hebrew/he2/files/patch-realCxx
+++ /dev/null
@@ -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
diff --git a/hebrew/he2/pkg-plist b/hebrew/he2/pkg-plist
index 1873b793e69e..3e594ea490b2 100644
--- a/hebrew/he2/pkg-plist
+++ b/hebrew/he2/pkg-plist
@@ -1,8 +1,8 @@
bin/he2
bin/he2-bin
bin/laxet
-share/he2/.he2rc.sample
-share/he2/HE-Tutorial.h
-share/he2/espell.wor
-share/he2/hspell.wor
-share/he2/laxet.wor
+%%DATADIR%%/.he2rc.sample
+%%DATADIR%%/HE-Tutorial.h
+%%DATADIR%%/espell.wor
+%%DATADIR%%/hspell.wor
+%%DATADIR%%/laxet.wor