freebsd-ports/www/py-rhodecode/Makefile
Wen Heping 583cff1bbd RhodeCode is a fast and powerful management tool for Mercurial and GIT with a
built in push/pull server and full text search and code-review. It works on
http/https and has a built in permission/authentication system with the ability
to authenticate via LDAP or ActiveDirectory. RhodeCode also provides simple API
so it.s easy integrable with existing external systems.

RhodeCode is similar in some respects to github or bitbucket, however RhodeCode
can be run as standalone hosted application on your own server. It is open
source and donation ware and focuses more on providing a customized, self
administered interface for Mercurial and GIT repositories.

WWW: http://www.rhodecode.org/

PR:		167186
Submitted by:	Luiz Gustavo <luizgustavo@luizgustavo.pro.br>
2012-05-24 08:27:35 +00:00

54 lines
1.7 KiB
Makefile

# New ports collection makefile for: py-rhodecode
# Date created: 2012-04-21
# Whom: gugabsd <gugabsd@mundounix.com.br>
#
# $FreeBSD$
#
PORTNAME= rhodecode
PORTVERSION= 1.3.4
CATEGORIES= www devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= RhodeCode-${PORTVERSION}
MAINTAINER= gugabsd@mundounix.com.br
COMMENT= Fast and powerful management tool for Mercurial and GIT
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylons>=1.0:${PORTSDIR}/www/py-pylons \
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7.3:${PORTSDIR}/databases/py-sqlalchemy \
${PYTHON_PKGNAMEPREFIX}pygments>=1.4:${PORTSDIR}/textproc/py-pygments \
${PYTHON_PKGNAMEPREFIX}whoosh>=2.3.2:${PORTSDIR}/textproc/py-whoosh \
${PYTHON_PKGNAMEPREFIX}Babel>=0.9.6:${PORTSDIR}/devel/py-babel \
${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:${PORTSDIR}/devel/py-dateutil \
${PYTHON_PKGNAMEPREFIX}dulwich>=0.8.5:${PORTSDIR}/devel/dulwich \
${PYTHON_PKGNAMEPREFIX}docutils>=0.8.1:${PORTSDIR}/textproc/py-docutils \
${PYTHON_PKGNAMEPREFIX}bcrypt>=0.2:${PORTSDIR}/security/py-bcrypt \
${LOCALBASE}/bin/hg:${PORTSDIR}/devel/mercurial
USE_PYTHON= 2.6+
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= RhodeCode
OPTIONS= LDAP "support authenticate via LDAP" off
OPTIONS+= GIT "use GIT cvs support" off
OPTIONS+= CELERY "use Celery for better performance" off
.include <bsd.port.pre.mk>
.if defined(WITH_LDAP)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ldap>=2.4.6:${PORTSDIR}/net/py-ldap2
.endif
.if defined(WITH_GIT)
RUN_DEPENDS+= ${LOCALBASE}/bin/git:${PORTSDIR}/devel/git
.endif
.if defined(WITH_CELERY)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}celery>=2.4.6:${PORTSDIR}/devel/py-celery
.endif
.include <bsd.port.post.mk>