freebsd-ports/emulators/cpmtools/files/patch-man_Makefile
Muhammad Moinur Rahman f5534cf1fb emulators/cpmtools: Sanitize MANPREFIX
Approved by:	portmgr (blanket)
2024-01-21 18:53:29 +01:00

14 lines
344 B
Text

--- man/Makefile.orig 1994-05-28 10:56:44 UTC
+++ man/Makefile
@@ -3,9 +3,9 @@ all:;
#MANEXT=n
MANEXT=1
#MANDIR=/usr/man/man${MANEXT}
-MANDIR=/usr/local/man/man${MANEXT}
+MANDIR=${PREFIX}/share/man/man${MANEXT}
install:
- cp cpm.1 ${DESTDIR}/${MANDIR}/cpm.${MANEXT}
+ ${BSD_INSTALL_MAN} cpm.1 ${DESTDIR}${MANDIR}/cpm.${MANEXT}
clean:;