summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-17 19:17:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-17 19:17:07 +0000
commit4602637c3bb77b456bc5f30f0877b7e44378bdef (patch)
tree0b9387de3bb367d2d44b3f9d6a7c6dc76192411c
parentAdd LICENSE_FILE (diff)
Convert to options dependency helper
- Update RUN_DEPENDS: remove redundant LOCALBASE/bin Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=467648
-rw-r--r--www/py-rhodecode/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/www/py-rhodecode/Makefile b/www/py-rhodecode/Makefile
index b863c0ef1c9a..8f6e262afbd5 100644
--- a/www/py-rhodecode/Makefile
+++ b/www/py-rhodecode/Makefile
@@ -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>