aboutsummaryrefslogtreecommitdiff
path: root/net/py-s3cmd/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-08-14 08:55:45 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-08-14 08:55:45 +0000
commita8abb8ecf9c422570d81169ecbe07b92e2143597 (patch)
tree5aa9d517e052185515c447f15250f40f5f5748ac /net/py-s3cmd/Makefile
parent3f8e678044b6f2545f52325e0358a5e6fa6260ac (diff)
downloadports-a8abb8ecf9c422570d81169ecbe07b92e2143597.tar.gz
ports-a8abb8ecf9c422570d81169ecbe07b92e2143597.zip
Notes
Diffstat (limited to 'net/py-s3cmd/Makefile')
-rw-r--r--net/py-s3cmd/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/py-s3cmd/Makefile b/net/py-s3cmd/Makefile
index 3f5f2c6f5c09..40145889096e 100644
--- a/net/py-s3cmd/Makefile
+++ b/net/py-s3cmd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= s3cmd
-PORTVERSION= 0.9.3
+PORTVERSION= 0.9.4
CATEGORIES= net python
MASTER_SITES= SOURCEFORGE
MASTER_SITE_SUBDIR= s3tools
@@ -16,6 +16,7 @@ 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
@@ -23,13 +24,11 @@ USE_PYTHON= yes
MAN1= s3cmd.1
post-patch:
- ${REINPLACE_CMD} -e '/^os.system/d' -e 's,share/man/man1,man/man1,' \
- ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py
.ifndef(NOPORTDOCS)
- ${REINPLACE_CMD} -e 's,share/doc/packages/s3cmd,share/doc/s3cmd,' \
- ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py
.else
- ${REINPLACE_CMD} -e '/share.doc.packages.s3cmd/d' ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py
.endif
.include <bsd.port.mk>