svn commit: r395776 - head/devel/radare2

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Sep 1 16:16:36 UTC 2015


Author: amdmi3
Date: Tue Sep  1 16:16:35 2015
New Revision: 395776
URL: https://svnweb.freebsd.org/changeset/ports/395776

Log:
  - Switch to options helpers
  - Disabled DOCS should not disable manpage installation
  
  Approved by:	portmgr blanket

Modified:
  head/devel/radare2/Makefile

Modified: head/devel/radare2/Makefile
==============================================================================
--- head/devel/radare2/Makefile	Tue Sep  1 16:11:34 2015	(r395775)
+++ head/devel/radare2/Makefile	Tue Sep  1 16:16:35 2015	(r395776)
@@ -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>


More information about the svn-ports-head mailing list