Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2018 19:17:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467648 - head/www/py-rhodecode
Message-ID:  <201804171917.w3HJH7RW019129@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Apr 17 19:17:07 2018
New Revision: 467648
URL: https://svnweb.freebsd.org/changeset/ports/467648

Log:
  Convert to options dependency helper
  
  - Update RUN_DEPENDS: remove redundant LOCALBASE/bin
  
  Approved by:	portmgr (blanket)

Modified:
  head/www/py-rhodecode/Makefile

Modified: head/www/py-rhodecode/Makefile
==============================================================================
--- head/www/py-rhodecode/Makefile	Tue Apr 17 19:17:03 2018	(r467647)
+++ head/www/py-rhodecode/Makefile	Tue Apr 17 19:17:07 2018	(r467648)
@@ -49,14 +49,7 @@ OPTIONS_DEFAULT=	GIT
 
 GIT_DESC=	GIT support
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLDAP}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}ldap>=2.4.6:net/py-ldap@${FLAVOR}
-.endif
-
-.if ${PORT_OPTIONS:MGIT}
-RUN_DEPENDS+=	${LOCALBASE}/bin/git:devel/git
-.endif
+LDAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ldap>=2.4.6:net/py-ldap@${FLAVOR}
+GIT_RUN_DEPENDS=	git:devel/git
 
 .include <bsd.port.mk>



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