aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-04-18 03:17:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-04-18 03:17:07 +0800
commit409d7e5c9d8c85350b89492d4f076140d3de69f4 (patch)
tree0b9387de3bb367d2d44b3f9d6a7c6dc76192411c /www
parent1741700bd8208d4a8a82625bfeb0a4102c5b3b30 (diff)
downloadfreebsd-ports-gnome-409d7e5c9d8c85350b89492d4f076140d3de69f4.tar.gz
freebsd-ports-gnome-409d7e5c9d8c85350b89492d4f076140d3de69f4.tar.zst
freebsd-ports-gnome-409d7e5c9d8c85350b89492d4f076140d3de69f4.zip
Convert to options dependency helper
- Update RUN_DEPENDS: remove redundant LOCALBASE/bin Approved by: portmgr (blanket)
Diffstat (limited to 'www')
-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>