aboutsummaryrefslogtreecommitdiff
path: root/net/py-s3cmd
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-06-07 10:08:02 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-06-07 10:08:02 +0000
commita9c97e657eeab9d54d54ca49cac01a5d915cc09a (patch)
tree348bb6dc0996eb5a728e18bd85dd2cc2fd096fd3 /net/py-s3cmd
parent6a3d9d6e618975c7bc567d3a772bb49726532d8d (diff)
downloadports-a9c97e657eeab9d54d54ca49cac01a5d915cc09a.tar.gz
ports-a9c97e657eeab9d54d54ca49cac01a5d915cc09a.zip
Notes
Diffstat (limited to 'net/py-s3cmd')
-rw-r--r--net/py-s3cmd/Makefile35
-rw-r--r--net/py-s3cmd/distinfo3
-rw-r--r--net/py-s3cmd/pkg-descr3
-rw-r--r--net/py-s3cmd/pkg-plist31
4 files changed, 72 insertions, 0 deletions
diff --git a/net/py-s3cmd/Makefile b/net/py-s3cmd/Makefile
new file mode 100644
index 000000000000..33a2edec0fc2
--- /dev/null
+++ b/net/py-s3cmd/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: s3cmd
+# Date created: 2007-05-02
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= s3cmd
+PORTVERSION= 0.9.2
+CATEGORIES= net python
+MASTER_SITES= SOURCEFORGE
+MASTER_SITE_SUBDIR= s3tools
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Unix-like tools to manipulate stored files from the command line
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
+
+USE_PYDISTUTILS= yes
+USE_PYTHON= yes
+
+MAN1= s3cmd.1
+
+post-patch:
+ ${REINPLACE_CMD} -e '/^os.system/d' -e 's,share/man/man1,man/man1,' \
+ ${WRKSRC}/setup.py
+.ifndef(NOPORTDOCS)
+ ${REINPLACE_CMD} -e 's,share/doc/packages/s3cmd,share/doc/s3cmd,' \
+ ${WRKSRC}/setup.py
+.else
+ ${REINPLACE_CMD} -e '/share.doc.packages.s3cmd/d' ${WRKSRC}/setup.py
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/py-s3cmd/distinfo b/net/py-s3cmd/distinfo
new file mode 100644
index 000000000000..bafe073ce447
--- /dev/null
+++ b/net/py-s3cmd/distinfo
@@ -0,0 +1,3 @@
+MD5 (s3cmd-0.9.2.tar.gz) = ed6742fc77e635aa221dedfbae1596f5
+SHA256 (s3cmd-0.9.2.tar.gz) = 7ae19635b1865d510ff3ea18777972a07c01db8b75e07e99925e4fd94c288204
+SIZE (s3cmd-0.9.2.tar.gz) = 17402
diff --git a/net/py-s3cmd/pkg-descr b/net/py-s3cmd/pkg-descr
new file mode 100644
index 000000000000..97ebe716b81e
--- /dev/null
+++ b/net/py-s3cmd/pkg-descr
@@ -0,0 +1,3 @@
+s3cmd - unix-like tools to manipulate stored files from the command line.
+
+WWW: http://s3tools.logix.cz/s3cmd
diff --git a/net/py-s3cmd/pkg-plist b/net/py-s3cmd/pkg-plist
new file mode 100644
index 000000000000..c572a0a821da
--- /dev/null
+++ b/net/py-s3cmd/pkg-plist
@@ -0,0 +1,31 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PYTHON_SITELIBDIR%%/S3/BidirMap.py
+%%PYTHON_SITELIBDIR%%/S3/BidirMap.pyc
+%%PYTHON_SITELIBDIR%%/S3/BidirMap.pyo
+%%PYTHON_SITELIBDIR%%/S3/Config.py
+%%PYTHON_SITELIBDIR%%/S3/Config.pyc
+%%PYTHON_SITELIBDIR%%/S3/Config.pyo
+%%PYTHON_SITELIBDIR%%/S3/PkgInfo.py
+%%PYTHON_SITELIBDIR%%/S3/PkgInfo.pyc
+%%PYTHON_SITELIBDIR%%/S3/PkgInfo.pyo
+%%PYTHON_SITELIBDIR%%/S3/S3.py
+%%PYTHON_SITELIBDIR%%/S3/S3.pyc
+%%PYTHON_SITELIBDIR%%/S3/S3.pyo
+%%PYTHON_SITELIBDIR%%/S3/S3Uri.py
+%%PYTHON_SITELIBDIR%%/S3/S3Uri.pyc
+%%PYTHON_SITELIBDIR%%/S3/S3Uri.pyo
+%%PYTHON_SITELIBDIR%%/S3/SortedDict.py
+%%PYTHON_SITELIBDIR%%/S3/SortedDict.pyc
+%%PYTHON_SITELIBDIR%%/S3/SortedDict.pyo
+%%PYTHON_SITELIBDIR%%/S3/Utils.py
+%%PYTHON_SITELIBDIR%%/S3/Utils.pyc
+%%PYTHON_SITELIBDIR%%/S3/Utils.pyo
+%%PYTHON_SITELIBDIR%%/S3/__init__.py
+%%PYTHON_SITELIBDIR%%/S3/__init__.pyc
+%%PYTHON_SITELIBDIR%%/S3/__init__.pyo
+bin/s3cmd
+@dirrmtry %%PYTHON_SITELIBDIR%%/S3
+%%PORTDOCS%%@dirrm %%DOCSDIR%%