43e0e9e10f
The port was broken in 12 and in different archs. mips is still to be tested. PR: 235058 Submitted by: phd_kimberlite@yahoo.co.jp Reviewed by: Ronald Klop (aarch64) mikael.urankar@gmail.com (armv6, armv7) MFH: 2019Q1 (build fix)
28 lines
700 B
Text
28 lines
700 B
Text
--- manpath/Makefile.orig 2001-06-11 21:25:34.000000000 +0900
|
|
+++ manpath/Makefile 2014-08-26 12:10:04.000000000 +0900
|
|
@@ -24,12 +24,21 @@
|
|
${.CURDIR}/jmanpath.man.eng | \
|
|
${compress} > ${EMAN1}
|
|
|
|
-.if !defined(NOMAN)
|
|
+install: ${PROG} man_install afterinstall
|
|
+ ${INSTALL} -s -m 555 ${PROG} ${DESTDIR}/${BINDIR}
|
|
+
|
|
+.if !defined(NO_MAN)
|
|
+man_install: ${MAN1}
|
|
+ ${INSTALL} -m 444 ${MAN1} ${DESTDIR}${MANDIR}1
|
|
+
|
|
afterinstall: ${EMAN1}
|
|
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${EMAN1} \
|
|
+ ${INSTALL} -m 444 ${EMAN1} \
|
|
${DESTDIR}${EMANDIR}1/jmanpath.1.gz
|
|
+.else
|
|
+man_install:
|
|
+afterinstall:
|
|
.endif
|
|
|
|
-.include "../Makefile.inc"
|
|
-
|
|
.include <bsd.prog.mk>
|
|
+
|
|
+.include "../Makefile.inc"
|