aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-02 00:16:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-02 00:16:35 +0800
commit252b575fc1cba42e27e6b67c644ea9e61fa2565e (patch)
treea3c86aa7f63f475ce98dfd1c77f9416d3473cb35
parent491760f79962555c2a49580a65868ad1944ff548 (diff)
downloadfreebsd-ports-gnome-252b575fc1cba42e27e6b67c644ea9e61fa2565e.tar.gz
freebsd-ports-gnome-252b575fc1cba42e27e6b67c644ea9e61fa2565e.tar.zst
freebsd-ports-gnome-252b575fc1cba42e27e6b67c644ea9e61fa2565e.zip
- Switch to options helpers
- Disabled DOCS should not disable manpage installation Approved by: portmgr blanket
-rw-r--r--devel/radare2/Makefile8
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>