aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-dtflickr/Makefile
blob: ef9acc6604e3e4a32b314683a4e06ada47e6ee11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Douglas Thrift
# $FreeBSD$

PORTNAME=   dtflickr
PORTVERSION=    1.5
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP \
        http://apt.douglasthrift.net/files/${PORTNAME}/ \
        http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= douglas@douglasthrift.net
COMMENT=    Spiffy Flickr API library using JSON

LICENSE=    AL2

USE_BZIP2=  yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS=    easy_install

NO_STAGE=   yes
.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>