diff --git a/java/mmake/Makefile b/java/mmake/Makefile index 95012be99c8a..277956e40785 100644 --- a/java/mmake/Makefile +++ b/java/mmake/Makefile @@ -17,8 +17,10 @@ USES= perl5 gmake GNU_CONFIGURE= yes NO_BUILD= yes -MAN1= mmake.1 -PLIST_FILES= bin/mmake +PLIST_FILES= bin/mmake man/man1/mmake.1.gz + +post-patch: + @${REINPLACE_CMD} -E 's,(BIN|MAN)DIR),DESTDIR)$$(&,' \ + ${WRKSRC}/Makefile.in -NO_STAGE= yes .include