aboutsummaryrefslogtreecommitdiffstats
path: root/net/googlecl/Makefile
blob: 4c5de25e93697a68e7bada55a36f8ea3a9465053 (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
33
34
35
36
37
38
# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$

PORTNAME=   googlecl
PORTVERSION=    0.9.14
CATEGORIES= net www python
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= sbz@FreeBSD.org
COMMENT=    Command line tools for the Google Data APIs

LICENSE=    AL2

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

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

.if !defined(NO_INSTALL_MANPAGES)
MAN1=       google.1
.endif

OPTIONS_DEFINE= DOCS

PORTDOCS=   *

.include <bsd.port.options.mk>

post-install:
.if !defined(NO_INSTALL_MANPAGES)
    ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1
.endif
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
.endif

.include <bsd.port.mk>