--- Makefile.orig 2013-06-02 14:07:08 UTC +++ Makefile @@ -41,7 +41,7 @@ BINDIR= $(PREFIX)/sbin .if (${OPSYS} == "NetBSD") MANDIR= $(PREFIX)/man .else -MANDIR= $(PREFIX)/man/man +MANDIR= $(PREFIX)/share/man/man .endif MAN= dtcps.8 dtcpc.8 dtcpauth.8 @@ -94,11 +94,11 @@ dtcpauth.8: dtcpauth.8.in realinstall: ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcps \ - ${BINDIR}/dtcps + ${DESTDIR}${BINDIR}/dtcps ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpc \ - ${BINDIR}/dtcpc + ${DESTDIR}${BINDIR}/dtcpc ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpauth \ - ${BINDIR}/dtcpauth + ${DESTDIR}${BINDIR}/dtcpauth dist: @data=`date +%Y%m%d`; \