1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/www/py-surl/Makefile
Carlo Strub f4b101538c Depend on simplejson conditionally
PR:		ports/160394
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by:	wen@ (co-mentor)
2011-09-21 06:59:13 +00:00

32 lines
631 B
Makefile

# Ports collection makefile for: py-surl
# Date created: 2010-10-04
# Whom: Carlo Strub <c-s@c-s.li>
#
# $FreeBSD$
#
PORTNAME= surl
PORTVERSION= 0.7.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://launchpadlibrarian.net/37026875/ \
http://www.c-s.li/ports/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cs@FreeBSD.org
COMMENT= URL shortening command line application
LICENSE= GPLv3
USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
USE_BZIP2= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 260
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
.endif
.include <bsd.port.post.mk>