aboutsummaryrefslogtreecommitdiffstats
path: root/net/googlecl/Makefile
blob: d78116e2785a18c9eb7b26f9517b865e43534dbb (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
# New ports collection makefile for:    googlecl
# Date created:     2010-06-19
# Whom:         Li-Wen Hsu <lwhsu@FreeBSD.org>
#
# $FreeBSD$
#

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

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

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

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

LICENSE=    ASL

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

PORTDOCS=   *

post-install:
.if !defined(NO_INSTALL_MANPAGES)
    ${INSTALL_MAN} ${WRKSRC}/man/google.1 ${MANPREFIX}/man/man1
.endif
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
.endif

.include <bsd.port.mk>