Prune www/mod_log_mysql
[dports.git] / net / py-s3cmd / Makefile
1 # Created by: Gea-Suan Lin <gslin@gslin.org>
2 # $FreeBSD$
3
4 PORTNAME=       s3cmd
5 PORTVERSION=    1.0.1
6 PORTREVISION=   1
7 CATEGORIES=     net python
8 MASTER_SITES=   SF/s3tools/${PORTNAME}/${PORTVERSION}
9 PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
10
11 MAINTAINER=     clsung@FreeBSD.org
12 COMMENT=        Unix-like tools to manipulate stored files from the command line
13
14 USE_PYDISTUTILS=        yes
15 USE_PYTHON=     2
16
17 OPTIONS_DEFINE= DOCS
18
19 .include <bsd.port.options.mk>
20
21 post-patch:
22         ${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py
23 .if ${PORT_OPTIONS:MDOCS}
24         ${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py
25 .else
26         ${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py
27 .endif
28
29 .include <bsd.port.mk>