aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-gdata/Makefile
blob: d9d1f06e6bcfdd6ed780b727d70f4af90d6a38ab (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
29
30
31
32
# New ports collection makefile for:    py-gdata
# Date created:     Mar. 28, 2007
# Whom:         Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#

PORTNAME=   gdata
PORTVERSION=    1.0.11
CATEGORIES= devel python
MASTER_SITES=   http://gdata-python-client.googlecode.com/files/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   gdata.py-${PORTVERSION}

MAINTAINER= lwhsu@FreeBSD.org
COMMENT=    GData Python Client Library

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    gdata.py

EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

.if !defined(NOPORTEXAMPLES)
post-install:
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>