mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
28 lines
970 B
Plaintext
28 lines
970 B
Plaintext
$NetBSD: patch-ac,v 1.3 2016/03/30 09:04:22 jperkin Exp $
|
|
|
|
Use PKGMANDIR.
|
|
|
|
--- Makefile.in.orig 2010-03-06 04:14:09.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -29,7 +29,7 @@ exec_prefix = @exec_prefix@
|
|
# Pathname of directory to install the binary
|
|
BINDEST = @bindir@
|
|
# Pathname of directory to install the man page
|
|
-MANDEST = @prefix@/man
|
|
+MANDEST = @prefix@/${PKGMANDIR}
|
|
# The root of the directory tree for read-only
|
|
datarootdir = @datarootdir@
|
|
|
|
@@ -96,9 +96,9 @@ version.c: $(srcdir)/VERSION
|
|
sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
|
|
|
|
install: force
|
|
- $(INSTALL) -m 555 -o bin -g bin $(PROG) $(DESTDIR)$(BINDEST)/$(PROG)
|
|
+ ${BSD_INSTALL_PROGRAM} $(PROG) $(DESTDIR)$(BINDEST)/$(PROG)
|
|
@diff $(srcdir)/$(PROG).8 $(DESTDIR)$(MANDEST)/man8 >/dev/null 2>&1 || \
|
|
- $(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).8 $(DESTDIR)$(MANDEST)/man8/
|
|
+ ${BSD_INSTALL_MAN} $(srcdir)/$(PROG).8 $(DESTDIR)$(MANDEST)/man8/
|
|
|
|
clean: force
|
|
rm -f $(CLEANFILES)
|