1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/vietnamese/vnless/files/patch-01
David E. O'Brien a327c7c4dc VNless is a port of a very old version of GNU's less that suports the display
of files written in the Vietnamese language using the VISCII (VIetnamese
Standard Code for Information Interchange) encoding.
1996-12-06 12:38:53 +00:00

68 lines
2.2 KiB
Plaintext

--- Makefile.orig Mon Feb 24 13:15:42 1992
+++ Makefile Wed Dec 4 03:26:44 1996
@@ -31,15 +31,15 @@
# INSTALL_HELP is a list of the public version of the help file.
# INSTALL_LESSMAN is a list of the public versions of the less manual page.
# INSTALL_KEYMAN is a list of the public versions of the lesskey manual page.
-ROOT = ../../VN
+ROOT = ${PREFIX}
INSTALL_LESS = $(ROOT)/bin/vnless
-INSTALL_KEY = $(ROOT)/bin/lesskey
-INSTALL_HELP = $(ROOT)/man/less.help
-INSTALL_LESSMAN = $(ROOT)/man/vnless.1
-INSTALL_KEYMAN = $(ROOT)/man/lesskey.1
+INSTALL_KEY = $(ROOT)/bin/vnlesskey
+INSTALL_HELP = $(ROOT)/share/misc/vnless.help
+INSTALL_LESSMAN = $(ROOT)/man/man1/vnless.1
+INSTALL_KEYMAN = $(ROOT)/man/man1/vnlesskey.1
LESS_MANUAL = less.man
KEY_MANUAL = lesskey.man
-HELPFILE = $(ROOT)/man/less.help
+HELPFILE = $(ROOT)/share/misc/vnless.help
# OPTIM is passed to the compiler and the loader.
@@ -49,6 +49,7 @@
#CFLAGS = $(OPTIM)
CFLAGS = -O
LDFLAGS =
+LDLIBS = -lcompat
##########################################################################
@@ -82,24 +83,24 @@
$(CC) $(CFLAGS) -c -DHELPFILE=\"$(HELPFILE)\" help.c
install_less: vnless
- for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done
- touch install_less
+ @for f in $(INSTALL_LESS); do rm -f $$f; cp vnless $$f; done
+ @touch install_less
install_key: lesskey
- for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done
- touch install_key
+ @for f in $(INSTALL_KEY); do rm -f $$f; cp lesskey $$f; done
+ @touch install_key
install_help: less.help
- for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done
- touch install_help
+ @for f in $(INSTALL_HELP); do rm -f $$f; cp less.help $$f; done
+ @touch install_help
install_lman: $(LESS_MANUAL)
- for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done
- touch install_lman
+ @for f in $(INSTALL_LESSMAN); do rm -f $$f; cp $(LESS_MANUAL) $$f; done
+ @touch install_lman
install_kman: $(KEY_MANUAL)
- for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done
- touch install_kman
+ @for f in $(INSTALL_KEYMAN); do rm -f $$f; cp $(KEY_MANUAL) $$f; done
+ @touch install_kman
##########################################################################
# Maintenance