--- ./Makefile.orig 2014-02-18 11:25:22.776279198 +0100 +++ ./Makefile 2014-02-18 11:25:42.052279336 +0100 @@ -12,8 +12,8 @@ install: pty gzip pty.1 - ${INSTALL_MAN} pty.1.gz ${PREFIX}/man/man1/ - ${INSTALL_PROGRAM} pty ${PREFIX}/bin + ${BSD_INSTALL_MAN} pty.1.gz ${DESTDIR}${MANPREFIX}/man/man1/ + ${BSD_INSTALL_PROGRAM} pty ${DESTDIR}${PREFIX}/bin deinstall: rm -r ${PREFIX}/bin/pty