1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/less/files/patch-ab
Satoshi Asami 4c1abff30f less-237 with patches to understand Japanese. It will install itself
with prefix "j" so as not to tramp on the regular less.
Submitted by:	Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
1995-03-20 12:48:03 +00:00

44 lines
1.4 KiB
Plaintext

--- Makefile.in.orig Tue Mar 7 00:08:23 1995
+++ Makefile.in Tue Mar 7 00:07:44 1995
@@ -22,14 +22,14 @@
# Where the installed binary goes.
bindir = $(exec_prefix)/bin
-binprefix =
+binprefix = j
# Where the help file goes.
datadir = $(prefix)/lib
mandir = $(prefix)/man/man$(manext)
manext = 1
-manprefix =
+manprefix = j
#### End of system configuration section. ####
@@ -70,12 +70,12 @@
$(OBJ): less.h defines.h funcs.h
filename.$(O): filename.c
- ${CC} -c -DHELPFILE=\"${datadir}/less.hlp\" -I. ${CPPFLAGS} ${CFLAGS} ${srcdir}/filename.c
+ ${CC} -c -DHELPFILE=\"${datadir}/jless.hlp\" -I. ${CPPFLAGS} ${CFLAGS} ${srcdir}/filename.c
install: all less.hlp less.nro installdirs
${INSTALL_PROGRAM} less ${bindir}/${binprefix}less
${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}lesskey
- ${INSTALL_DATA} ${srcdir}/less.hlp ${datadir}/less.hlp
+ ${INSTALL_DATA} ${srcdir}/less.hlp ${datadir}/jless.hlp
${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/${manprefix}less.${manext}
${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/${manprefix}lesskey.${manext}
rm -f ${mandir}/${manprefix}less.${manext}.gz ${mandir}/${manprefix}lesskey.${manext}.gz
@@ -86,7 +86,7 @@
uninstall:
rm -f ${bindir}/${binprefix}less ${bindir}/${binprefix}lesskey
- rm -f ${datadir}/less.hlp
+ rm -f ${datadir}/jless.hlp
rm -f ${mandir}/less.${manext} ${mandir}/lesskey.${manext}
info: