# Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= s3cmd DISTVERSION= 1.5.0-rc1 CATEGORIES= net python MASTER_SITES= SF/s3tools/${PORTNAME}/${DISTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= clsung@FreeBSD.org COMMENT= Unix-like tools to manipulate stored files from the command line USE_PYTHON= 2 USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes OPTIONS_DEFINE= DOCS .include post-patch: ${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py .if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py .else ${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py .endif .include