aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-s3cmd/Makefile
blob: c11c7ea207daab7805c9a30939abb6f3b64726d1 (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
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   s3cmd
DISTVERSION=    1.6.0
CATEGORIES= net python
MASTER_SITES=   SF/s3tools/${PORTNAME}/${DISTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

LICENSE=    GPLv2

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil

USES=       python:2
USE_PYTHON= autoplist distutils
NO_ARCH=    yes

OPTIONS_DEFINE= DOCS

post-patch:
    ${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py

post-patch-DOCS-on:
    ${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py

post-patch-DOCS-off:
    ${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py

.include <bsd.port.mk>