pkgsrc/converters/ru-d1489/patches/patch-ab
agc 4e18b55a7f Initial import of ru-d1489-1.4 into the NetBSD packages collection.
Provided in PR 17585 by Mishka (mishka@terabyte.com.ua)

These are useful tools for Russian users:

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
2002-07-12 21:01:17 +00:00

27 lines
830 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/07/12 21:01:17 agc Exp $
--- Makefile.orig Wed Nov 5 01:25:46 1997
+++ Makefile Fri Jul 12 21:48:50 2002
@@ -36,14 +36,14 @@
$(CC) $(CFLAGS) $(LDFLAGS) a2kfcnv.c -o $@
install: todos a2kfcnv
- cp todos /usr/local/bin
- -rm /usr/local/bin/fromdos
- -rm /usr/local/bin/fromwin
- -rm /usr/local/bin/towin
- ln /usr/local/bin/todos /usr/local/bin/fromdos
- ln /usr/local/bin/todos /usr/local/bin/fromwin
- ln /usr/local/bin/todos /usr/local/bin/towin
- cp a2kfcnv /usr/local/bin
+ cp todos $(PREFIX)/bin
+ -rm -f $(PREFIX)/bin/fromdos
+ -rm -f $(PREFIX)/bin/fromwin
+ -rm -f $(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
clean:
-rm -f todos a2kfcnv