freebsd-ports/net/py-beanstalkc/Makefile

36 lines
742 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-beanstalkc
# Date created: 2011-03-18
# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= beanstalkc
PORTVERSION= 0.3.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs.freebsd@gmail.com
COMMENT= A simple beanstalkd client library for Python
LICENSE= AL2
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
OPTIONS_DEFINE= YAML
OPTIONS_DEFAULT= YAML
YAML_DESC= Support parsing YAML responses
# bypass infrastructure bug
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MYAML}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
.endif
.include <bsd.port.mk>