pkgsrc/misc/ja-less/patches/patch-aa
2015-12-29 04:04:26 +00:00

44 lines
1.7 KiB
Text

$NetBSD: patch-aa,v 1.5 2015/12/29 04:04:28 dholland Exp $
--- Makefile.in.orig 2013-01-20 16:00:19.000000000 +0900
+++ Makefile.in 2013-01-20 16:07:50.000000000 +0900
@@ -22,13 +22,13 @@
# Where the installed binary goes.
bindir = @bindir@
-binprefix =
+binprefix = j
sysconfdir = @sysconfdir@
mandir = @mandir@
manext = 1
-manprefix =
+manprefix = j
#### End of system configuration section. ####
@@ -61,17 +61,17 @@
${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h ${srcdir}/multi.h defines.h ${srcdir}/kanji_map.h ${srcdir}/unicode_map.h ${srcdir}/unicode_type.h
install: all ${srcdir}/less.nro ${srcdir}/lesskey.nro installdirs
- ${INSTALL_PROGRAM} less ${bindir}/${binprefix}less
- ${INSTALL_PROGRAM} lesskey ${bindir}/${binprefix}lesskey
- ${INSTALL_PROGRAM} lessecho ${bindir}/${binprefix}lessecho
- ${INSTALL_DATA} ${srcdir}/less.nro ${mandir}/man${manext}/${manprefix}less.${manext}
- ${INSTALL_DATA} ${srcdir}/lesskey.nro ${mandir}/man${manext}/${manprefix}lesskey.${manext}
+ ${INSTALL_PROGRAM} less ${DESTDIR}${bindir}/${binprefix}less
+ ${INSTALL_PROGRAM} lesskey ${DESTDIR}${bindir}/${binprefix}lesskey
+ ${INSTALL_PROGRAM} lessecho ${DESTDIR}${bindir}/${binprefix}lessecho
+ ${INSTALL_DATA} ${srcdir}/less.nro ${DESTDIR}${mandir}/man${manext}/${manprefix}less.${manext}
+ ${INSTALL_DATA} ${srcdir}/lesskey.nro ${DESTDIR}${mandir}/man${manext}/${manprefix}lesskey.${manext}
install-strip:
${MAKE} INSTALL_PROGRAM='${INSTALL_PROGRAM} -s' install
installdirs: mkinstalldirs
- ${srcdir}/mkinstalldirs ${bindir} ${mandir}/man${manext}
+ ${srcdir}/mkinstalldirs ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man${manext}
uninstall:
rm -f ${bindir}/${binprefix}less ${bindir}/${binprefix}lesskey ${bindir}/${binprefix}lessecho