aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2019-11-07 07:41:10 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2019-11-07 07:41:10 +0000
commit684a7746d25a3025ad5d67cd403cc250b5152001 (patch)
tree6647597491080fb2e244f41b44ef62d9e65bafa7 /russian
parent4511346050a4342021db181296d5aac34420a1df (diff)
downloadports-684a7746d25a3025ad5d67cd403cc250b5152001.tar.gz
ports-684a7746d25a3025ad5d67cd403cc250b5152001.zip
Restore port russian/d1489 and take maintainership.
The port was originally created and maintained by Andrey Chernov (ache@) who passed away. The software has the value for users of Cyrillic alphabet still.
Notes
Notes: svn path=/head/; revision=516942
Diffstat (limited to 'russian')
-rw-r--r--russian/Makefile1
-rw-r--r--russian/d1489/Makefile17
-rw-r--r--russian/d1489/distinfo2
-rw-r--r--russian/d1489/files/patch-Makefile29
-rw-r--r--russian/d1489/pkg-descr10
5 files changed, 59 insertions, 0 deletions
diff --git a/russian/Makefile b/russian/Makefile
index 2d004096e1d1..4ecb0aff8be3 100644
--- a/russian/Makefile
+++ b/russian/Makefile
@@ -6,6 +6,7 @@
SUBDIR += artwiz-ru
SUBDIR += aspell
SUBDIR += bugzilla44
+ SUBDIR += d1489
SUBDIR += emkatic
SUBDIR += eric6
SUBDIR += gd
diff --git a/russian/d1489/Makefile b/russian/d1489/Makefile
new file mode 100644
index 000000000000..ba7491120b8f
--- /dev/null
+++ b/russian/d1489/Makefile
@@ -0,0 +1,17 @@
+# Created by: ache
+# $FreeBSD$
+
+PORTNAME= d1489
+PORTVERSION= 1.5.1
+CATEGORIES= russian converters
+MASTER_SITES= LOCAL/eugen \
+ http://www.grosbein.net/freebsd/distfiles/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= eugen@FreeBSD.org
+COMMENT= Cp866<->koi8-r and cp1251<->koi8-r decoders, font converter (RFC1489)
+
+MAKE_ARGS= PREFIX=${PREFIX} STAGEDIR=${STAGEDIR}
+PLIST_FILES= bin/a2kfcnv bin/fromdos bin/todos bin/fromwin bin/towin
+
+.include <bsd.port.mk>
diff --git a/russian/d1489/distinfo b/russian/d1489/distinfo
new file mode 100644
index 000000000000..dca594d8b9b4
--- /dev/null
+++ b/russian/d1489/distinfo
@@ -0,0 +1,2 @@
+SHA256 (d1489-1.5.1.tgz) = 7b2a02a7c5a1f7956811341c0124fc5e9cdb85df7956c018b38dc41178299e7e
+SIZE (d1489-1.5.1.tgz) = 9862
diff --git a/russian/d1489/files/patch-Makefile b/russian/d1489/files/patch-Makefile
new file mode 100644
index 000000000000..f9fe54932d41
--- /dev/null
+++ b/russian/d1489/files/patch-Makefile
@@ -0,0 +1,29 @@
+--- Makefile.orig 2005-10-17 03:08:22.000000000 +0500
++++ Makefile 2013-09-29 21:42:45.000000000 +0400
+@@ -24,6 +24,7 @@
+ # SUCH DAMAGE.
+
+ PREFIX=/usr/local
++DISTDIR=${STAGEDIR}${PREFIX}
+ LOCAL_CFLAGS=-O
+ #LOCAL_CFLAGS=-O -DNO_RENAME
+ LOCAL_LDFLAGS=-s
+@@ -39,12 +40,12 @@ a2kfcnv: a2kfcnv.c koi82alt.h
+ a2kfcnv.c -o $@
+
+ install: todos a2kfcnv
+- cp todos ${PREFIX}/bin
+- -rm -f ${PREFIX}/bin/fromdos ${PREFIX}/bin/fromwin ${PREFIX}/bin/towin
+- ln ${PREFIX}/bin/todos ${PREFIX}/bin/fromdos
+- ln ${PREFIX}/bin/todos ${PREFIX}/bin/fromwin
+- ln ${PREFIX}/bin/todos ${PREFIX}/bin/towin
+- cp a2kfcnv ${PREFIX}/bin
++ cp todos ${DISTDIR}/bin
++ -rm -f ${DISTDIR}/bin/fromdos ${DISTDIR}/bin/fromwin ${DISTDIR}/bin/towin
++ ln -sf ${PREFIX}/bin/todos ${DISTDIR}/bin/fromdos
++ ln -sf ${PREFIX}/bin/todos ${DISTDIR}/bin/fromwin
++ ln -sf ${PREFIX}/bin/todos ${DISTDIR}/bin/towin
++ cp a2kfcnv ${DISTDIR}/bin
+
+ clean:
+ -rm -f todos a2kfcnv
diff --git a/russian/d1489/pkg-descr b/russian/d1489/pkg-descr
new file mode 100644
index 000000000000..2f57c6ba6e6f
--- /dev/null
+++ b/russian/d1489/pkg-descr
@@ -0,0 +1,10 @@
+todos/fromdos: point-to-point cp866<->koi8-r decoder with CR/LF
+ translation
+
+towin/fromwin: best match cp1251<->koi8-r decoder with CR/LF translation
+
+a2kfcnv: EGA/VGA raw screen fonts converter: cp866 font -> koi8-r font
+
+All programs written according to RFC 1489
+
+WWW: https://koi8.pp.ru/unix.html