aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-s3cmd/Makefile
blob: 083f1877d3db6d24b0f089f2e0c86dd6ec3f0ce6 (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
# New ports collection makefile for:    s3cmd
# Date created:     2007-05-02
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   s3cmd
PORTVERSION=    0.9.8.3
CATEGORIES= net python
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= s3tools
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Unix-like tools to manipulate stored files from the command line

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

USE_PYDISTUTILS=    yes
USE_PYTHON= yes

MAN1=       s3cmd.1

post-patch:
    ${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py
.ifndef(NOPORTDOCS)
    ${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py
.else
    ${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py
.endif

.include <bsd.port.mk>