Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2015 16:16:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395776 - head/devel/radare2
Message-ID:  <201509011616.t81GGaiJ081066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509011616.t81GGaiJ081066>