diff options
-rw-r--r-- | devel/radare2/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/radare2/Makefile b/devel/radare2/Makefile index 4ce19aed8359..d456bdd961fd 100644 --- a/devel/radare2/Makefile +++ b/devel/radare2/Makefile @@ -22,16 +22,14 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|..LIBDIR./pkgconfig|libdata/pkgconfig|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|..LFX./pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/libr/Makefile -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e 's| install-doc install-man||g' \ + +post-patch-DOCS-off: + @${REINPLACE_CMD} -e 's| install-doc ||g' \ ${WRKSRC}/Makefile -.endif .include <bsd.port.mk> |