diff --git a/ports-mgmt/pkg_tree/Makefile b/ports-mgmt/pkg_tree/Makefile index 752aa10b1b92..64e5fe75f17e 100644 --- a/ports-mgmt/pkg_tree/Makefile +++ b/ports-mgmt/pkg_tree/Makefile @@ -12,12 +12,10 @@ COMMENT= Get a 'graphical' tree-overview of installed packages USES= perl5 -MAN7= pkg_tree.7 -PLIST_FILES= bin/pkg_tree +PLIST_FILES= bin/pkg_tree man/man7/pkg_tree.7.gz -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g ; \ + @${REINPLACE_CMD} -e 's|__PREFIX__|${STAGEDIR}${PREFIX}|g ; \ s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \ s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|#!/usr/bin/perl -w|#!${PERL5} -w|' \