aboutsummaryrefslogtreecommitdiff
path: root/www/py-dtflickr/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-17 20:29:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-17 20:29:21 +0000
commit7d3f69168b8f885fb69860a7d1de8c10fd045c25 (patch)
treef10b4d1575024d77156b12fcad7142d8cac83149 /www/py-dtflickr/Makefile
parent42c664d9df84161cb95d2f4e7726162bc560aa8c (diff)
downloadports-7d3f69168b8f885fb69860a7d1de8c10fd045c25.tar.gz
ports-7d3f69168b8f885fb69860a7d1de8c10fd045c25.zip
Notes
Diffstat (limited to 'www/py-dtflickr/Makefile')
-rw-r--r--www/py-dtflickr/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/www/py-dtflickr/Makefile b/www/py-dtflickr/Makefile
index f07ad6990af3..f9ba08db7d33 100644
--- a/www/py-dtflickr/Makefile
+++ b/www/py-dtflickr/Makefile
@@ -6,18 +6,23 @@
#
PORTNAME= dtflickr
-PORTVERSION= 1.3
+PORTVERSION= 1.4
CATEGORIES= www python
-MASTER_SITES= CHEESESHOP
+MASTER_SITES= CHEESESHOP \
+ http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Spiffy Flickr API library using JSON
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.7:${PORTSDIR}/devel/py-simplejson
-
USE_BZIP2= yes
-USE_PYTHON= yes
+USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VERSION} == "python2.5"
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=1.7:${PORTSDIR}/devel/py-simplejson
+.endif
+
+.include <bsd.port.post.mk>