svn commit: r467648 - head/www/py-rhodecode

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Apr 17 19:17:12 UTC 2018


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>


More information about the svn-ports-head mailing list